Skip to main content
Returns the workspace your API key is scoped to. Use this to confirm the workspace slug before calling project endpoints.

Request

Authorization
string
required
Bearer token for a workspace API key.
curl https://app.askgrapple.com/api/v1/me \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

workspace
object
The workspace tied to the API key.
{
  "workspace": {
    "id": 1,
    "name": "Acme Corp",
    "slug": "acme-corp"
  }
}

Errors

StatusReason
401Missing or invalid API key
403Token is not scoped to a workspace