Get the workspace API configuration

Returns the workspace's API configuration together with the name and email of the account admin the token resolves to.

An API token always authenticates as the workspace's admin user (UserPermission with role: 'admin'), so name and email describe that admin, not the caller.

Requires the resolved user to be a workspace admin — otherwise 403.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
curl -X GET 'https://apis.elai.io/api/v1/apiConfig' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
{
  "apiConfig": {
    "token": "hR4pZ0uK2mN8vX1cQ7bT5yL3wS6dF9gJ",
    "webhook": {
      "url": "https://example.com/elai-hook",
      "enabled": true,
      "techEmail": "[email protected]",
      "failedCount": 0
    }
  },
  "name": "Jane Doe",
  "email": "[email protected]"
}
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json