How to build an endpoint URL
All endpoint URLs follow this structure:
All endpoint URLs follow this structure:
Each customer has a dedicated API URL. This information will be provided to you by our sales team when your contract is activated.
v1-sandboxedAuthentication is token-based, using the Authorization HTTP header, and is required for all API endpoints.
Authorization: <token>All POST requests must use the application/json content type. Requests with a different content type will be rejected.
All API responses are now returned in application/json format. In case of an error, the response usually includes a message field that describes the error.
The Chat3D API uses standard HTTP status codes to indicate whether a request was successful or if an error occurred. The table below summarizes the most common codes returned by the API.
| CODE | DESCRIPTION |
|---|---|
| 200 | OK. The request succeeded and the response contains the expected data. |
| 202 | Accepted. The request is valid and a generation task has started. A task_token is provided to track its progress. |
| 400 | Bad request. One or more request parameters are malformed, missing, or incompatible. |
| 401 | Unauthorized. The Authorization header is missing. |
| 403 | Forbidden. The token is valid but does not grant permission to access the resource or credits are insufficient. |
| 404 | Not found. The endpoint doesn't exist. |
| 405 | Method not allowed. The HTTP method is not supported for this endpoint. |
| 406 | Not acceptable. The requested format is not supported by the server. |
| 415 | Unsupported media type. The request payload format is not supported by the server. content-type must be application/json. |
| 429 | Too many requests. This can occur when the client exceeds the rate limit, or when the server enforces global limits due to high concurrent usage. |
| 500 | Internal server error. An unexpected condition was encountered on the server. |