FlashlineFlashlineDevelopers
DocsDashboard
Guides
Getting startedConnect accountsVersioningErrors
Reference
AuthenticationGET /oauth/authorizePOST /oauth/tokenPOST /oauth/revoke
Account
GET /me
Measurements
POST /measurementsGET /measurements/{id}

Errors

Errors use one shape. Branch on code. Don't branch on message; it may change. OAuth endpoints answer in the shape the OAuth spec defines instead.

Retry 429 and 5xx responses with backoff. Honor Retry-After when present.

HTTPcodeWhen
400missing_versionNo Flashline-Version header.
400unsupported_versionA version this API does not serve.
401unauthorizedMissing, unknown or revoked token.
404not_foundNothing with that id on this team.
422validation_failedThe request is invalid. error.errors lists the fields.
429rate_limitedToo many requests: 600 per hour per connected team. Wait for Retry-After seconds.
500server_errorFlashline could not complete the request.
501not_implementedA documented endpoint that is not live yet.
Error response
// 401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "This access token is unknown or revoked."
}
}
Validation error
// 422 Unprocessable Entity
{
"error": {
"code": "validation_failed",
"message": "The request is invalid.",
"errors": [
{ "field": "customer", "message": "email or phone is required" }
]
}
}
Terms•Privacy