Partners
List your tenant workspaces
GET/v1/workspaces
Requires an API key with the workspaces:manage scope. About keys and scopes
Partner keys only. Newest first. Results are cursor-paginated: pass meta.pagination.nextCursor back as cursor until it comes back null.
Query parameters
limitintegeroptionalmin > 0 · max 100 · default
20cursorstringoptional1–2048 characters
Returns
Returns 200 OK with a list of Workspace objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
externalIdstringrequiredYour own id for the tenant.
namestringrequiredcountrystringrequiredTwo-letter ISO 3166-1 country code.
2–2 characters
timezonestringrequiredIANA timezone; decides local-time sends and report days.
statusstringrequiredsuspendedrefuses every send in the workspace until it is resumed;deletingrefuses them too, and the workspace is purged unless the deletion is cancelled.one of
active,suspended,deletingsuspendedAtstring | nullrequiredWhen it was suspended; null if not.
date-time
deletionRequestedAtstring | nullrequiredWhen deletion was asked for; null if not.
date-time
createdAtstringrequireddate-time