Meta
REST reference

Meta API

Service and token context.

Service info

GET/v1/

Returns basic information about the API. Requires only a valid API key.

Request
cURL
curl "https://api.asks.app/v1/" \
  -H "Authorization: Bearer $ASKS_API_KEY"
Response 200
JSON
{
  "object": "api",
  "name": "string",
  "version": "string",
  "documentation_url": "string"
}

Get workspace & token context

GET/v1/me

Returns the workspace, environment, and scopes for the current API key.

Request
cURL
curl "https://api.asks.app/v1/me" \
  -H "Authorization: Bearer $ASKS_API_KEY"
Response 200
JSON
{
  "object": "workspace_context",
  "workspace": {
    "object": "workspace",
    "id": "string",
    "name": "string",
    "slug": "string"
  },
  "environment": "live",
  "scopes": [
    "string"
  ]
}