v13

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-03-243075159.3 KB
Webhooks

Invitation claimed webhook

Webhook that is called when an invitation is claimed by a user. This endpoint should be implemented by platform clients of the UMAaaS API.

When a user claims an invitation, this webhook is triggered to notify the platform that:

  1. The invitation has been successfully claimed
  2. The invitee UMA address is now associated with the invitation
  3. The invitation status has changed from PENDING to CLAIMED

This allows platforms to:

  • Track invitation usage and conversion rates
  • Trigger onboarding flows for new users who joined via invitation
  • Apply referral bonuses or rewards to the inviter
  • Update their UI to reflect the claimed status

Authentication

The webhook includes a signature in the X-UMAaas-Signature header that allows you to verify that the webhook was sent by UMAaas. To verify the signature:

  1. Get the UMAaas public key provided to you during integration
  2. Decode the base64 signature from the header
  3. Create a SHA-256 hash of the request body
  4. Verify the signature using the public key and the hash

If the signature verification succeeds, the webhook is authentic. If not, it should be rejected.

postWebhookinvitation-claimed

Payload

timestampstring date-time required

ISO8601 timestamp when the webhook was sent (can be used to prevent replay attacks)

webhookIdstring required

Unique identifier for this webhook delivery (can be used for idempotency)

type'INVITATION_CLAIMED' required

Type of webhook event

Example payload

{
  "timestamp": "2023-08-15T14:32:00Z",
  "webhookId": "Webhook:019542f5-b3e7-1d02-0000-000000000007",
  "type": "INVITATION_CLAIMED",
  "invitation": {
    "code": "019542f5",
    "createdAt": "2023-09-01T14:30:00Z",
    "claimedAt": "2023-09-01T14:30:00Z",
    "url": "https://uma.me/i/019542f5",
    "expiresAt": "2023-09-01T14:30:00Z",
    "inviterUma": "$inviter@uma.domain",
    "inviteeUma": "$invitee@uma.domain",
    "status": "PENDING",
    "firstName": "Jane",
    "amountToSend": {
      "amount": 12550,
      "currency": {
        "code": "USD",
        "name": "United States Dollar",
        "symbol": "$",
        "decimals": 2
      }
    },
    "inviteeCountryCode": "US"
  }
}

Response

Webhook received successfully