Documentation

GraphQL API: Profile

Update the fullname and bio of the listener profile

Only two fields are available to update and they should be updated together.

If you leave one of them empty, the field will be updated with an empty value.

Request



mutation {
  profile {
    setNameAndBio(fullname: "listener", bio: "This is my bio") {
      status
    }
  }
}

* Add your OAuth bearer token to the Authorization header



curl 'https://ce.pandora.com/api/v1/graphql/graphql' \
  -H 'Authorization: Bearer ' \
  -H 'Content-Type: application/json' \
  -d '{"operationName":null,"variables":{},"query":"mutation {  profile { setNameAndBio(fullname: \"listener\", bio: \"This is my bio\") { status }  }}"}'

Response



{
  "data": {
    "profile": {
      "setNameAndBio": {
        "status": "OK"
      }
    }
  }
}