How the pieces fit together
The partner key never sends messages. On any data route (
/v1/messages, /v1/events, /v1/webhook_endpoints and the others), it responds 401 api_key_invalid. After onboarding, the customer’s traffic uses the API key of their project, with the Routa SDK or the data API.
What you do once, in the dashboard
You take these steps in the dashboard, under Settings, on the Partner tab. The API does not do them for you. That is on purpose: a leaked key cannot replace itself.- Create the partner profile. You get your ID (
ptn_…) and the signing secret, which is shown only once. - Register the redirect origins your links can send the customer back to.
- Issue a partner key (
rt_partner_…), which is also shown only once.
The life cycle of a customer
Limits
- Request rate. All
/v1/partner/*routes share one limit per organization: 10 requests per second, with a burst of up to 30. Above it, the API responds429with theRetry-Afterheader. This limit cannot be changed. - Projects. The plan limits the number of projects in the organization. Above the limit, creating a project responds
402 project_limit_exceeded. An abandoned onboarding and a customer who left still count. Delete the project to free the slot.
API reference
To use the Partner API through the Node.js SDK, see Partners in the SDK.