Skip to content

Bevatel API Documentation

Overview

The Bevatel API is organized around REST. Our API has predictable resource oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTPS response codes, authentication, and verbs.

Base URL

https://api.example/v1

Authentication

Bevatel uses Bearer Tokens to authenticate requests. You can view and manage your API keys in the Client Console. Your API keys carry many privileges, so be sure to keep them secure!

EXAMPLE HEADER
Authorization: Bearer YOUR_API_KEY

Rate Limiting

To maintain system stability, we enforce rate limits on all API endpoints. The default limit is 100 requests per minute per organization.

NameDescription
Retry-AfterNumber of seconds until you can retry the request
X-RateLimit-LimitNumber of requests allowed for this end point
X-RateLimit-RemainingNumber of requests remaining for this end point

TIP

Please Contact us if you would like to increase your rate limit.

HTTP Response Codes

CodeStatusDescription
200OkThe request was successful.
201CreatedThe request was unacceptable, often due to missing params.
400Bad requestThe request was unacceptable, often due to missing params.
401UnauthorizedNo valid API key provided.
403ForbiddenThe request was unacceptable, often due to missing params.
404Not FoundGiven the KPI Key used, the resource does not exist.
429Too many requestsThe request was unacceptable, often due to missing params.
500Server ErrorSomething went wrong on our end.

Pagination

All top-level API resources have support for bulk fetches via "list" API methods. These list methods share a common structure, taking at least these two

ParametersDescription
LimitA limit on the number of objects to be returned. Range: 1 to 100. Default: 10.
OffsetThe number of items to skip before starting to collect the result set.

QUERY EXAMPLE

GET /v1/calls?limit=25&offset=50

This returns results 51 to 75. Pagination information is also returned in the response metadata object.