Get current workspace
X-Sender-Tenant + X-API-Key headers. It takes no path, query or body parameters.
The workspace is resolved from the API key, never from a value you send in a
body. Two different keys pointed at the same URL return two different
workspaces.
Response
object
string
The public API version this server speaks. Currently
2026-01.Errors
Credentials are checked before the handler runs, so every credential problem is a401, whatever the cause.
401
An unknown workspace reference and a wrong key return the same
401 Invalid API key, deliberately. The response does not tell you which of the
two headers was at fault, so an unauthenticated caller cannot use this
endpoint to discover whether a workspace slug exists. When debugging a
connection, re-check both headers together.Using it as a health check
GET /public/me is the right call for a connection test: it is a single indexed read, it mutates nothing, and it is safe to retry.
1
On credential entry
Call it once when a user pastes a workspace ID and key. A
200 proves both
headers, so you never need a second validation call.2
Read the version
Store
apiVersion alongside the credential. If it changes, re-read the
reference before assuming a response shape still holds.3
Check the status
A workspace whose
status is suspended or cancelled authenticates
normally here, but marketing sends are frozen at the send pipeline. Surface
the status rather than treating a 200 as “everything will send”.Authentication
How to mint an API key and what the two headers accept.

