انتقل إلى المحتوى الرئيسي

Build on WRAPA

Connect your HR, payroll and finance systems to your company’s cover: enrol and remove people, file claims, pay invoices and pull reports — with webhooks telling you the moment something changes.

Preview: API keys and webhooks are rolling out to corporate workspaces.

Quick start

  1. In your corporate workspace, open Integrations → API keys and create a key with only the scopes you need. Copy the secret — it is shown once.
  2. Call the API from your server (never from a browser or mobile app).
  3. Add a webhook endpoint under Integrations → Webhooks and verify every delivery’s signature.
List your group policies
curl https://api.wrapa.africa/api/v1/group-policies \
  -H "Authorization: Bearer $WRAPA_API_KEY" \
  -H "X-Organization-Id: $WRAPA_ORGANIZATION_ID"

Conventions

  • Base URL https://api.wrapa.africa. JSON in and out; dates are ISO 8601, money is a decimal amount with an ISO 4217 currency — amounts in different currencies are never added together.
  • Every response is an envelope: { success, data, message, error, metadata }. Lists are paged with page and pageSize.
  • Send an Idempotency-Key (a UUID) on every create, so a retried request never does the work twice.
Authentication