Authentication
Authenticate server-to-server with an organisation API key in the Authorization header, and name your organisation in X-Organization-Id. Keys look like wrp_live_… (or wrp_test_… in the sandbox).
Authorization: Bearer wrp_live_…
X-Organization-Id: 0f7c…Scopes
Each key carries scopes, and each operation in the reference lists the permission it needs (for example group_members:enroll). Give a key only what its integration uses: a payroll export needs read-only reports, not enrolment.
Keeping keys safe
- The full secret is shown once, when the key is created. WRAPA stores only a hash.
- Rotate a key from the workspace: the old secret keeps working for 24 hours so you can deploy the new one without downtime. Revoke it immediately if it leaks.
- Keys can be limited to your servers’ IP addresses. Every call is audit-logged with the key.