Auth API
Create Token
Create a token for use across the API.
To obtain your Client ID and Client Secret, visit the API Settings page in your Serval dashboard.
Authentication
This endpoint uses HTTP Basic Authentication where:
- Username: Your Client ID
- Password: Your Client Secret
The Authorization header should contain Basic <base64-encoded-credentials>, where the credentials are client_id:client_secret encoded in base64.
Example Request
post/v2/auth/token
Request
- Base URLhttps://public.api.serval.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Changes
No recorded changes to this operation across all 1 revision of this API.