suki_token / sdp_suki_token). If these calls fail, every later Partner API session call fails too.
Expected flow
1
Register When Needed
Call Register once for a new provider, or when you link a provider to your partner organization. SDKs can set
autoRegister so registration runs during sign-in when the user does not already exist.2
Call Login
Send
partner_id and partner_token in the Login body. For Bearer and Single Auth Token partners, also send provider_id when required. Standard provider authentication omits provider_id when that is your assigned mode.3
Use the Suki Token
Store
suki_token and send it as the sdp_suki_token header on later REST and WebSocket calls. The token is valid for 1 hour. Call Login again to refresh.If you are unsure whether you use Standard, Bearer, or Single Auth Token authentication, ask your Suki partnership team before you retry Register and Login.
Errors to match
Common causes
- Partner Token is expired, missing required claims, or signed with a key Suki cannot verify.
- Register was never called, and SDK
autoRegisteris off. provider_idis missing when your partner type requires it on Login, or it does not match the clinician you registered.- Staging Partner ID or token against production hosts, or the reverse.
Fix
1
Validate the Partner Token
Decode the JWT and confirm required claims (
exp, iss, aud, user identifier). Confirm your JWKS URL is publicly reachable. See Partner authentication troubleshooting.2
Register the Clinician
Call
POST /api/v1/auth/register with partner_id and partner_token (and provider fields your mode requires). Reuse a stable provider_id when your flow uses one.3
Login and Store sdp_suki_token
Call Login, then send
sdp_suki_token on later calls. Refresh with Login before the 1 hour lifetime ends.4
Match the Environment
Use the same staging or production host for Register, Login, and session APIs (
https://sdp.suki-stage.com or https://sdp.suki.ai). See Wrong staging vs production endpoints.Next steps
Partner authentication - Modes, JWT requirements, and auth troubleshooting Login - Exchange Partner Token for Suki Token Ambient and Dictation error messages -provider_not_registered, provider_user_inactive, and related ids
401 Unauthorized or invalid Partner Token - Partner Token vs invalid_sdp_token
InvalidPartnerDetails during sign-in or registration - Headless SDK credential errors