User details
GET/v0/users/me
Get user details of the authenticated user.
Responses
- 200
- 400
- 401
- 429
End user details
- application/json
- Schema
- Example (from schema)
- Example
Schema
is the userId given in the User Token if not ES Connect authenticated or the ES Connect user id if user is authenticated against ES Connect.
is false for a not ES Connect authenticated user but is true for a ES Connect authenticated user.
is true if the user has an active subscription but is false if the user has no active subscription. Returns null if the user is not ES Connect authenticated.
email value will present only for the Epidemic Sound users and will be null otherwise
{
"userId": "string",
"esConnect": true,
"hasActiveSubscription": true,
"email": "string"
}
{
"userId": "bedea356-3e6e-48f7-9a85-88ad50554486",
"esConnect": false,
"hasActiveSubscription": null,
"email": null
}
Bad request.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Human readable message
errors
object[]
Error key
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Bad request"
}
Unauthorized. Most likely your access token has expired.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Human readable message
errors
object[]
Error key
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Invalid credentials"
}
Rate limit exceeded.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Human readable message
errors
object[]
Error key
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Rate limit exceeded"
}