Users
Get a list of members for an organization.
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The organization ID
Limits the number of results to return
10Pagination token that keeps of track of the current position in the list
Order in which to retrieve the results
falseSearch term used to filter organizations by name
List of user IDs.
If set, returns the user that is registered with this email address. Only does exact matching.
OK
Resource not found
GET /organizations/{organizationId}/users HTTP/1.1
Host: api.bird.com
Authorization: AccessKey YOUR_SECRET_TOKEN
Accept: */*
{
"results": [
{
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"name": "text",
"bio": "text",
"activeSessions": 1,
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.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-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z"
}
],
"defaultEmail": "text",
"identities": [
{
"id": "text",
"name": "text",
"email": "text",
"avatarUrl": "text",
"provider": "text",
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.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-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z"
}
],
"locale": "text",
"timezone": "text",
"badges": [
"messagebird:cx"
],
"userFraudInformation": {
"score": 1,
"userId": "text"
}
},
"status": "banned",
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"roleRefs": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "organization",
"workspaces": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
]
}
],
"nextPageToken": "text"
}Add a user to an organization. This can either be an existing user, or a new user that is invited to the platform.
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The organization ID
Created
The e-mail domain not allowed to register with
Resource not found
The resource already exists
Request validation failed
POST /organizations/{organizationId}/users HTTP/1.1
Host: api.bird.com
Authorization: AccessKey YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 275
{
"userId": "123e4567-e89b-12d3-a456-426614174000",
"roleRefs": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "organization",
"workspaces": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"attributes": {
"roles": [
"managed:organization_admin",
"managed:organization_finance_admin"
]
}
}{
"ANY_ADDITIONAL_PROPERTY": "anything"
}Get a single organization membership record.
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The organization ID
The user ID
OK
Resource not found
GET /organizations/{organizationId}/users/{userId} HTTP/1.1
Host: api.bird.com
Authorization: AccessKey YOUR_SECRET_TOKEN
Accept: */*
{
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"name": "text",
"bio": "text",
"activeSessions": 1,
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.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-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z"
}
],
"defaultEmail": "text",
"identities": [
{
"id": "text",
"name": "text",
"email": "text",
"avatarUrl": "text",
"provider": "text",
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.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-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z"
}
],
"locale": "text",
"timezone": "text",
"badges": [
"messagebird:cx"
],
"userFraudInformation": {
"score": 1,
"userId": "text"
}
},
"status": "banned",
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z",
"roleRefs": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "organization",
"workspaces": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"teamRoles": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"roleRefs": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "organization",
"workspaces": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
]
}
],
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}Remove a user from the organization
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The organization ID
The user ID
OK
Resource not found
DELETE /organizations/{organizationId}/users/{userId} HTTP/1.1
Host: api.bird.com
Authorization: AccessKey YOUR_SECRET_TOKEN
Accept: */*
No content
Update the properties of the organization membership for the user.
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The organization ID
The user ID
Roles to assign to the user (legacy, use attributes instead)
Used to allow removing the legacy roles for the user
OK
Forbidden operation
Resource not found
Request validation failed
PATCH /organizations/{organizationId}/users/{userId} HTTP/1.1
Host: api.bird.com
Authorization: AccessKey YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"attributes": {
"roles": [
"managed:organization_admin",
"managed:organization_finance_admin"
]
},
"roleTreatment": "text"
}{
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "pending",
"name": "text",
"bio": "text",
"activeSessions": 1,
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.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-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z"
}
],
"defaultEmail": "text",
"identities": [
{
"id": "text",
"name": "text",
"email": "text",
"avatarUrl": "text",
"provider": "text",
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.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-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z"
}
],
"locale": "text",
"timezone": "text",
"badges": [
"messagebird:cx"
],
"userFraudInformation": {
"score": 1,
"userId": "text"
}
},
"status": "banned",
"createdAt": "2025-11-27T03:50:53.094Z",
"updatedAt": "2025-11-27T03:50:53.094Z",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"roleRefs": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "organization",
"workspaces": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
]
}Last updated
Was this helpful?

