Skip to the content
  1. API reference
  2. Connect your users

Get the user's service profile ("Me")

GET/api/{integrationUserUUID}/users/profile
CoreAuthBasicDevTokenDocsSessionToken

Check which services support returning user information

This endpoint returns information about user that was fetched from Music Service.

Path parameters

integrationUserUUID
uuidrequired

The connected user: the integrationUserUUID from the sign-in callback.

Response

200application/json · UserResponseOK
uuid
uuid
requiredThe integrationUserUUID. Use it in every /api/{integrationUserUUID}/... call.
integrationUserId
string
requiredThe user's id on the music service.
name
string | null
required
email
string | null
required
imageUrl
string | null
required
country
string | null
requiredISO 3166-1 alpha-2 country of the account, when the service tells us.
Example answer
{
  "uuid": "3f0b8c1e-6a4d-4c7a-9a55-2f1e7d9b0c11",
  "integrationUserId": "mica.nowak",
  "name": "Mica Nowak",
  "email": "[email protected]",
  "imageUrl": "https://images.example.com/mica.jpg",
  "country": "PL"
}

Errors

404

Your account has no connected user with this uuid.

412

The user must sign in again (IntegrationUserNotAuthenticated).