Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Tenants
Get Users in Tenant
GET
/
tenants
/
{tenant_id}
/
users
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/tenants/{tenant_id}/users \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"items": [
{
"user_id": "<string>",
"type": "user",
"tenant_id": "<string>",
"profile": {}
}
],
"has_more": true,
"url": "<string>",
"next_url": "<string>",
"cursor": "<string>",
"type": "list"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the tenant for user membership.
Query Parameters
The number of accounts to return (defaults to 20, maximum value of 100)
Continue the pagination with the next cursor
Response
200
application/json
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/tenants/{tenant_id}/users \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"items": [
{
"user_id": "<string>",
"type": "user",
"tenant_id": "<string>",
"profile": {}
}
],
"has_more": true,
"url": "<string>",
"next_url": "<string>",
"cursor": "<string>",
"type": "list"
}
Assistant
Responses are generated using AI and may contain mistakes.