Skip to main content

Overview

The Flextell API is a REST API that returns JSON responses. All requests are made over HTTPS. Base URL
https://dev.flextell.ai/api
Current version: v0.0.1

Authentication

Every request to the Flextell API must include a valid access token in the Authorization header:
Authorization: Bearer <your_access_token>
Obtain an access token by completing the OAuth 2.0 Authorization Code flow. See the Authentication page for the full flow and endpoint details.

Content type

All request bodies must be sent as JSON. Set the Content-Type header on any request that includes a body:
Content-Type: application/json
All responses are returned as JSON.

Rate limiting

The API includes rate limit information in the response headers of every request.
HeaderDescription
X-RateLimit-LimitMaximum number of requests allowed in the current window
X-RateLimit-RemainingNumber of requests remaining in the current window
X-RateLimit-ResetUnix timestamp when the current window resets
When X-RateLimit-Remaining reaches 0, subsequent requests will be rejected until the window resets. Check this header in your client to avoid errors.

Example request

The following shows a minimal authenticated request using curl:
curl --request GET \
  --url https://dev.flextell.ai/api \
  --header "Authorization: Bearer <your_access_token>" \
  --header "Content-Type: application/json"

Next steps

Authentication

Set up OAuth 2.0 and obtain an access token.

Endpoints

Browse the available API endpoints.