Journey Docs
Partner API ExplorerCustom Domains

List custom domains

Required scopepartner:custom-domains:read
GET
/v1/partner/custom-domains

Custom domains connected within the reach of the credential.

Authorization

headerAuthorizationBearer <token>

WorkOS access token (JWT) for a user who is a member of the partner organization. The organization the request is scoped to is taken from the token, not from a header or query parameter.

Only a JWT is accepted in this header. A Journey jny_ API key sent as a bearer token is rejected with 401 Invalid or expired token; send it in X-API-Key instead.

WorkOS organization API keys are not accepted yet.

Query Parameters

limit?number
Range1 <= value
offset?number
Range0 <= value

Response Body

A page of connected domains.

application/json
  1. response
items*array<>
limit*number
offset*number
total*number
curl -X GET 'https://api-prd.cf.journey.com/v1/partner/custom-domains'
{  "items": [    {      "activatedAt": "2019-08-24T14:15:22Z",      "blockedBy": "dns",      "createdAt": "2019-08-24T14:15:22Z",      "dnsState": "unknown",      "externalId": "string",      "hostingState": "ready",      "hostname": "string",      "lastCheckedAt": "2019-08-24T14:15:22Z",      "lastError": "string",      "ownerEntityExternalId": "string",      "ownerEntityName": "string",      "ownerEntityType": "brand",      "requiredDnsRecords": [        {          "host": "string",          "type": "CNAME",          "value": "string"        }      ],      "status": "active",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "limit": 0,  "offset": 0,  "total": 0}