Retrieve a sending domain's usageMenu

Retrieve a sending domain's usage

GET/v1/sending-domains/{id}/usage

Requires an API key with the domains:read scope. About keys and scopes

Works with integration, agent and partner keys.

Lists what sends from this domain, which deleting it is refused for: campaigns not yet sent (draft, scheduled, sending or testing), journeys not ended with an email step, and templates whose transactionalDefaults.from is on it, each list at most 50 long, most recently edited first, with hasMore when one is longer; and whether the workspace's default sender is on it. Transactional sends name their sender per request, so they are not listed.

Path parameters

idstringrequired

The sending domain's id.

uuid

Header parameters

Kirora-Workspacestringoptional

Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.

pattern ^[A-Za-z0-9._:-]{1,128}$

Returns

Returns 200 OK with a SendingDomainUsage in data. Otherwise returns an error; Errors lists every code and which to retry.

campaignsobject[]required

Campaigns not yet sent (draft, scheduled, sending or testing) whose sender is on it.

3 child attributes
idstringrequired

uuid

namestringrequired
statusstringrequired
journeysobject[]required

Journeys not ended with an email step whose sender is on it.

3 child attributes
idstringrequired

uuid

namestringrequired
statusstringrequired
templatesobject[]required

Templates whose transactionalDefaults.from is on it.

2 child attributes
idstringrequired

uuid

namestringrequired
defaultSenderbooleanrequired

Whether the workspace's default sender is on it.

hasMorebooleanrequired

More use it than are listed: each list stops at 50.