Generate a new API token for a specific Data App to enable embed operations.
application/json for all requests.| Status Code | Description |
|---|---|
200 | OK - API token created successfully |
400 | Bad Request - Invalid request parameters |
500 | Internal Server Error - Server error occurred |
| Error Code | HTTP Status | Description |
|---|---|---|
INVALID_REQUEST_BODY | 400 | Missing or invalid dataAppName or name |
DATA_APP_NOT_FOUND | 400 | Data App with given name not found |
AUTHENTICATION_ERROR | 400 | Invalid or missing service token |
INTERNAL_SERVER_ERROR | 500 | Server error |
Get your service token
Verify the Data App exists
Create the API token
Store the API key securely
Use the API key for embed operations