Partner & Affiliate — Bearer JWT
Partner Integration and Affiliate endpoints require a JWT in theAuthorization header:
Partner JWTs carry a
role claim of partner. Affiliate JWTs carry role: user.
Admin endpoints additionally require role: admin — contact Seyaha to provision admin credentials.Reseller — API Token
Reseller endpoints use a static API token passed as a custom header:Webhooks — Webhook Secret
When your partner integration is created, Seyaha generates awebhook_secret and
returns it in the creation response. Use it to authenticate inbound webhook calls to Seyaha:
Quick reference
| API | Header | Value |
|---|---|---|
| Partner Integration | Authorization | Bearer <JWT> |
| Reseller | x-api-token | <static token> |
| Affiliate | Authorization | Bearer <JWT> |
| Webhooks (inbound) | x-webhook-secret | <webhook secret> |