| Credential | Used by | Where it runs | How it is sent |
|---|---|---|---|
| SDK API key | Obi widget | Browser (client-side) | apiKey in obiWidgetConfig |
| Reporting token | Session Reporting API | Your server | Authorization: Token <token> |
| Onboardee context token | User Context API | Your server | Authorization: Token <token> |
SDK API key
This key identifies your app to the Obi widget. It is safe to expose in the browser. You pass it when you configure the widget:API tokens
The Session Reporting API and the User Context API both use theToken scheme. Send the token in the Authorization header:
The reporting token and the onboardee-context token may be different tokens. If a call returns
401, confirm you are using the right one for that API. Contact your account manager if you are unsure.
