Quickstart
This guide gets you authenticated and making your first call.1. Obtain credentials
In MVP we don’t offer public API keys. Mobile clients authenticate the end user via the auth endpoints; integrations should email support@swappr.co.uk.2. Log in
3. Make an authenticated call
4. Refresh the token when it expires
When/users/me returns 401 UNAUTHENTICATED because the access token expired, call /auth/refresh with the refresh token to get a fresh pair. The old refresh token becomes invalid (single-use rotation).
What’s next
- Read the Authentication page to understand the full token lifecycle, socket tickets, and the OAuth flows.
- Read the Error conventions before you write client-side error handling.