What the API is
The Flextell API follows REST conventions. You interact with resources using standard HTTP methods (GET, POST, PUT, PATCH, DELETE). Every request must be made over HTTPS — plain HTTP is not supported and will be rejected.
Base URL and versioning
All API requests are made to the following base URL:v0.0.1. Include the version in the path of every request:
If the API introduces breaking changes in the future, a new version will be released at a new path. Your existing integrations will continue to work until a version is explicitly deprecated.
Authentication
The Flextell API uses OAuth 2.0 for authentication. After completing the OAuth flow, you receive an access token. Include this token as a Bearer token in theAuthorization header of every API request:
Request and response format
Request bodies
For requests that include a body (POST, PUT, PATCH), send JSON and set the Content-Type header:
Response bodies
All responses are JSON. A successful response looks like this:HTTP status codes
The API uses standard HTTP status codes to indicate the result of a request.| Status | Meaning |
|---|---|
200 OK | The request succeeded. |
201 Created | A resource was successfully created. |
204 No Content | The request succeeded with no response body. |
400 Bad Request | The request was malformed or missing required fields. |
401 Unauthorized | The access token is missing, invalid, or expired. |
403 Forbidden | The token is valid but lacks permission for this action. |
404 Not Found | The requested resource does not exist. |
422 Unprocessable Entity | The request was well-formed but failed validation. |
429 Too Many Requests | You have exceeded the rate limit. |
500 Internal Server Error | An unexpected error occurred on the server. |
Rate limits
The Flextell API enforces rate limits to ensure fair use across all customers. The specific limits vary based on your account tier. When you exceed a rate limit, the API returns a429 Too Many Requests response. The response includes a Retry-After header that tells you how many seconds to wait before retrying.
- Read the
Retry-Afterheader and wait the specified duration before retrying. - Implement exponential backoff for retries when no
Retry-Afterheader is present. - Cache responses where possible to avoid redundant requests.
- Contact Flextell support if you regularly approach your rate limit and need a higher tier.
Environments
Flextell currently provides one environment for API access:| Environment | Base URL |
|---|---|
| Live | https://dev.flextell.ai/api |
All API activity — including testing and development — takes place against the live environment. Use test resources and accounts to avoid affecting production data during development.