Skip to content

Check the address

GET
/health
curl --request GET \
--url https://api.mayottehub.com/v1/health

Answers without a key. Use it to see that the API is reachable.

The API is reachable.

Media typeapplication/json
object
ok
required
boolean
service
required
string
version
required
integer
time
required
string format: date-time

Example

{
"ok": true,
"service": "Mayotte Hub API",
"version": 1
}

Too many calls (rate). Wait for the retry-after header, in seconds.

Media typeapplication/json
object
error
required

Words for a person. They may change.

string
code
required

What your program should read.

string
Allowed values: bad_json bad_event no_key bad_key revoked expired no_timestamp old_timestamp no_signature bad_signature scope ip not_found method too_large rate server unreachable not_ready

Example

{
"code": "bad_json"
}
retry-after
integer