Lists your tenant workspaces, newest first. Partner keys only. Results are cursor-paginated: pass meta.pagination.nextCursor back as cursor until it comes back null.
Query parameters
limitintegeroptional
How many items a page holds: 1 to 100, 20 by default.
min > 0 · max 100 · default 20
cursorstringoptional
Where the page starts: the previous page's meta.pagination.nextCursor. Omit it for the first page, and send the same filters with it.
1–2,048 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.
idstringrequired
uuid
externalIdstringrequired
Your own id for the tenant.
namestringrequired
countrystringrequired
Two-letter ISO 3166-1 country code.
2 characters
timezonestringrequired
IANA timezone; decides local-time sends and report days.
currencystringrequired
ISO 4217; the currency its revenue totals convert into.
3 characters
statusstringrequired
suspended refuses every send in the workspace until it is resumed; deleting refuses them too, and the workspace is purged unless the deletion is cancelled.
one of active, suspended, deleting
suspendedAtstring | nullrequired
When it was suspended; null if not.
date-time
deletionRequestedAtstring | nullrequired
When deletion was asked for; null if not.
date-time
deletesAtstring | nullrequired
When the workspace and everything in it is deleted for good, unless the deletion is cancelled before; null if no deletion is pending.
date-time
websitestring | nullrequired
The business's website.
uri · up to 500 characters
mailKindstring | nullrequired
What the workspace sends.
one of marketing, transactional, both
contactOptInstring | nullrequired
How its contacts agreed to hear from it: a signup form, checkout, an app.
1–1,000 characters
createdAtstringrequired
date-time
We'd like to use Google Analytics cookies to understand how people use this site. You can accept or decline them. See our Cookie Policy.