Current user
Make updates to the user to which the login token was issued.
Retrieve the profile of the currently logged in user.
Authorizations
Responses
200
OK
application/json
401
unauthorized request
application/json
get
GET /me HTTP/1.1
Host:
Authorization: Bearer jwt
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"name": "text",
"bio": "text",
"activeSessions": 1,
"createdAt": "2025-07-03T02:14:22.094Z",
"updatedAt": "2025-07-03T02:14:22.094Z",
"emails": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"email": "[email protected]",
"verified": true,
"passwordSet": true,
"tokenSet": true,
"createdAt": "2025-07-03T02:14:22.094Z",
"updatedAt": "2025-07-03T02:14:22.094Z"
}
],
"defaultEmail": "text",
"identities": [
{
"id": "text",
"name": "text",
"email": "text",
"avatarUrl": "text",
"provider": "text",
"createdAt": "2025-07-03T02:14:22.094Z",
"updatedAt": "2025-07-03T02:14:22.094Z"
}
],
"avatarUrl": "text",
"phoneNumber": "text",
"phoneNumbers": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"phoneNumber": "text",
"verified": true,
"primary": true,
"createdAt": "2025-07-03T02:14:22.094Z",
"updatedAt": "2025-07-03T02:14:22.094Z"
}
],
"locale": "text",
"timezone": "text",
"badges": [
"messagebird:cx"
],
"userFraudInformation": {
"score": 1,
"userId": "text"
}
}
Update the profile of the currently logged in user.
Authorizations
Body
namestringOptional
The display name for the user
biostringOptional
The user's description
avatarUrlstringOptional
URL to the user's profile picture.
localestring · locale-bcp47Optional
timezonestring · timezoneOptional
The default timezone for the user.
Responses
200
OK
application/json
422
Request validation failed
application/json
patch
PATCH /me HTTP/1.1
Host:
Authorization: Bearer jwt
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"name": "text",
"bio": "text",
"avatarUrl": "text",
"locale": "text",
"timezone": "text"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"name": "text",
"bio": "text",
"activeSessions": 1,
"createdAt": "2025-07-03T02:14:22.094Z",
"updatedAt": "2025-07-03T02:14:22.094Z",
"emails": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"email": "[email protected]",
"verified": true,
"passwordSet": true,
"tokenSet": true,
"createdAt": "2025-07-03T02:14:22.094Z",
"updatedAt": "2025-07-03T02:14:22.094Z"
}
],
"defaultEmail": "text",
"identities": [
{
"id": "text",
"name": "text",
"email": "text",
"avatarUrl": "text",
"provider": "text",
"createdAt": "2025-07-03T02:14:22.094Z",
"updatedAt": "2025-07-03T02:14:22.094Z"
}
],
"avatarUrl": "text",
"phoneNumber": "text",
"phoneNumbers": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"phoneNumber": "text",
"verified": true,
"primary": true,
"createdAt": "2025-07-03T02:14:22.094Z",
"updatedAt": "2025-07-03T02:14:22.094Z"
}
],
"locale": "text",
"timezone": "text",
"badges": [
"messagebird:cx"
],
"userFraudInformation": {
"score": 1,
"userId": "text"
}
}
Last updated
Was this helpful?