FerryDocs
ReferenceAPI overview

Authentication errors

A request with no valid proof gets 401. A request with the wrong kind of proof gets 403.

Edit on GitHub
RequestCheckbefore the routes401no valid proof403wrong proofRouteor 404
The check comes before the routes

For each request

ResponseMessageWhen
401 unauthorizednot signed in: send an API token as 'Authorization: Bearer <token>', or sign in to the dashboardThe request has no credentials.
401 unauthorizedinvalid API tokenThe token is wrong, revoked or expired.
401 unauthorizedyour session has ended: sign in againThe session of the cookie ended.
403 session_requiredthis is only possible from the dashboard, signed in to the account (not with an API token)You called an account endpoint with an API token.
403 cross_site_requestthis request doesn't come from the dashboardA change with the session cookie came from a different origin.

At sign-in and setup

ResponseWhen
401 invalid_credentialsThe email or the password is wrong.
403 invalid_setup_codeThe that you sent to create the account is wrong.
429 too_many_attemptsToo many failed sign-ins: 10 in 5 minutes, for the full server.

On this page