v1
latestOpenAPI 3.0.12026-07-2649123153.6 KB/api/v1/auth
Login
Authenticates a registered provider and returns a Suki access token (suki_token). Use that token as sdp_suki_token on all subsequent API calls. Tokens expire after one hour.
post/api/v1/auth/login
Request body
Example request
{
"partner_id": "your-partner-id",
"partner_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"provider_id": "provider-123"
}Response
Request succeeded.
Example response
{
"suki_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}