get
https://apis.elai.io/api/v1/apiConfig
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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]"
}
