GET
/
tenants
/
{tenant_id}
curl --request GET \
  --url https://api.courier.com/tenants/{tenant_id} \
  --header 'Authorization: Bearer <token>'
{
  "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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenant_id
string
required

A unique identifier representing the tenant to be returned.

Response

200
application/json

The response is of type object.