Firsty

Search...

Search...

Authentication

OAuth2 client-credentials flow: exchange your client ID and secret for a bearer token.

post/auth/tokenGet Access Token

Get a token from POST /auth/token with your client ID and secret, and send it as Authorization: Bearer {token} on every other call.

EnvironmentBase URL
Testhttps://connect.test.firsty.app/api/v3
Livehttps://connect.firsty.app/api/v3

Test and live each have their own client ID and secret. Each pair works only on its own base URL, and so does the token it gets. Credentials says where to find yours.

Tokens last 24 hours: cache one and refresh it shortly before it expires. Keep the secret and your tokens in your backend, never in a browser or an app.