Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Tenants
Get a Tenant
GET
/
tenants
/
{tenant_id}
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/tenants/{tenant_id} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"parent_tenant_id": "<string>",
"default_preferences": {
"items": [
{
"status": "OPTED_OUT",
"has_custom_routing": true,
"custom_routing": [
"direct_message"
],
"id": "<string>"
}
]
},
"properties": {},
"user_profile": {},
"brand_id": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
A unique identifier representing the tenant to be returned.
Response
200
application/json
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.courier.com/tenants/{tenant_id} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"parent_tenant_id": "<string>",
"default_preferences": {
"items": [
{
"status": "OPTED_OUT",
"has_custom_routing": true,
"custom_routing": [
"direct_message"
],
"id": "<string>"
}
]
},
"properties": {},
"user_profile": {},
"brand_id": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.