AribotDevelopers Sign in

REST API

Every Aribot feature is available over a JSON REST API. The SDKs wrap it; you can also call it directly.

Base URL

https://aribot.ayurak.com/aribot-api/

Paths in the reference start after /aribot-api, for example /v2/gates/gate-runs/. Most paths end with a slash.

Sign in

Create an API key in Aribot under Company Admin > Developer & API. Send it in a header:

bash
curl -H "X-API-Key: $ARIBOT_API_KEY" https://aribot.ayurak.com/aribot-api/v2/gates/gate-runs/

Reference

The full reference is generated from the running service, so it always matches what the API accepts. Open it in Aribot under Company Admin > Developer & API > API Reference.

Errors

Errors return JSON with a code and a detail.

StatusMeaningWhat to do
400The request is not validRead detail; fix the request
401Missing, expired or revoked keyCreate or rotate the key
402Your company has no licence for this featureThe body names the feature; ask your company admin or request a trial in Aribot
403The key or person may not do thiscode says why, for example api_key_not_allowed
404Not found, or not visible to your companyCheck the id
429Rate limit reachedWait for the time in Retry-After
5xxServer errorRetry reads after a short wait

Rate limits

Each key has its own limit, shown with its usage under Company Admin > Developer & API. A request over the limit gets 429 with Retry-After.

Webhooks

Aribot can notify your service when a key is suspended, activated or regenerated. Each delivery is a signed POST: check the X-Aribot-Signature header (HMAC SHA-256 with the webhook's secret) before trusting it.