Authentication
OAuth2 client-credentials flow: exchange your client ID and secret for a bearer token.
/auth/tokenGet Access TokenGet a token from POST /auth/token with your client ID and secret, and send it as Authorization: Bearer {token} on every other call.
| Environment | Base URL |
|---|---|
| Test | https://connect.test.firsty.app/api/v3 |
| Live | https://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.