Current user
Make updates to the user to which the login token was issued.
Retrieve the profile of the currently logged in user.
Authorizations
AuthorizationstringRequired
Provide the token that is returned upon login
Responses
200
OK
application/json
401
unauthorized request
application/json
get
/meGET /me HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"name": "text",
"bio": "text",
"activeSessions": 1,
"createdAt": "2025-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z",
"emails": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"email": "[email protected]",
"verified": true,
"passwordSet": true,
"tokenSet": true,
"createdAt": "2025-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z"
}
],
"defaultEmail": "text",
"identities": [
{
"id": "text",
"name": "text",
"email": "text",
"avatarUrl": "text",
"provider": "text",
"createdAt": "2025-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z"
}
],
"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-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z"
}
],
"locale": "text",
"timezone": "text",
"badges": [
"messagebird:cx"
],
"userFraudInformation": {
"score": 1,
"userId": "text"
}
}Update the profile of the currently logged in user.
Authorizations
AuthorizationstringRequired
Provide the token that is returned upon login
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
/mePATCH /me HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
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-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z",
"emails": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"email": "[email protected]",
"verified": true,
"passwordSet": true,
"tokenSet": true,
"createdAt": "2025-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z"
}
],
"defaultEmail": "text",
"identities": [
{
"id": "text",
"name": "text",
"email": "text",
"avatarUrl": "text",
"provider": "text",
"createdAt": "2025-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z"
}
],
"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-11-27T03:25:07.541Z",
"updatedAt": "2025-11-27T03:25:07.541Z"
}
],
"locale": "text",
"timezone": "text",
"badges": [
"messagebird:cx"
],
"userFraudInformation": {
"score": 1,
"userId": "text"
}
}Delete the profile of the currently logged in user. Essentially deleting your account with the platform.
Authorizations
AuthorizationstringRequired
Provide the token that is returned upon login
Responses
202
OK
delete
/meDELETE /me HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
202
OK
No content
Last updated
Was this helpful?

