Check that the API is up
GET
/v1/health
const url = 'https://api.iomza.com/v1/health';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.iomza.com/v1/healthResponses
Section titled “Responses”{ "ok": true }.
Media typeapplication/json
object
ok
required
Example
{ "ok": true}Too many requests: wait and retry. Answered by the gateway, so the body may differ.
Media typeapplication/json
object
error
required
object
code
required
Stable: branch on it.
string
message
required
English, for people; may change.
string
details
required
Each problem, as path: message (validation errors).
Array<string>
Example
{ "error": { "code": "validation_error" }}Ours: retry, and tell us if it persists.
Media typeapplication/json
object
error
required
object
code
required
Stable: branch on it.
string
message
required
English, for people; may change.
string
details
required
Each problem, as path: message (validation errors).
Array<string>
Example
{ "error": { "code": "validation_error" }}Momentarily unavailable: retry in a few seconds.
Media typeapplication/json
object
error
required
object
code
required
Stable: branch on it.
string
message
required
English, for people; may change.
string
details
required
Each problem, as path: message (validation errors).
Array<string>
Example
{ "error": { "code": "validation_error" }}