Skip to main content
GET
/
v1
/
context
Get workspace context
curl --request GET \
  --url https://api.senderkit.com/v1/context \
  --header 'Authorization: Bearer <token>'
{
  "workspace": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "slug": "<string>",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key with an sk_live_ or sk_test_ prefix.

Response

Workspace context.

workspace
object
required
mode
enum<string>
required

The environment the API key operates in. Note this is the string live/test, distinct from the boolean livemode field on other responses.

Available options:
live,
test