Skip to main content
POST
https://api.chariow.com/v1
/
affiliates
/
invitations
curl -X POST "https://api.chariow.com/v1/affiliates/invitations" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "emails": ["[email protected]", "[email protected]"]
  }'
{
  "message": "2 invitations sent successfully",
  "data": {
    "invitations": [
      {
        "id": "affinv_abc123xyz",
        "email": "[email protected]",
        "status": "pending",
        "expires_at": "2026-02-10T10:30:00+00:00",
        "created_at": "2026-01-11T10:30:00+00:00"
      },
      {
        "id": "affinv_def456uvw",
        "email": "[email protected]",
        "status": "pending",
        "expires_at": "2026-02-10T10:30:00+00:00",
        "created_at": "2026-01-11T10:30:00+00:00"
      }
    ],
    "skipped": {
      "already_affiliate": [],
      "already_invited": []
    }
  },
  "errors": []
}
Sends invitation emails to the provided email addresses. Up to 25 emails can be sent in a single request. Existing affiliates and pending invitations are automatically skipped.

Request Body

emails
array
required
Array of email addresses (1-25 items)Example: ["[email protected]", "[email protected]"]

Response

data
object
curl -X POST "https://api.chariow.com/v1/affiliates/invitations" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "emails": ["[email protected]", "[email protected]"]
  }'
{
  "message": "2 invitations sent successfully",
  "data": {
    "invitations": [
      {
        "id": "affinv_abc123xyz",
        "email": "[email protected]",
        "status": "pending",
        "expires_at": "2026-02-10T10:30:00+00:00",
        "created_at": "2026-01-11T10:30:00+00:00"
      },
      {
        "id": "affinv_def456uvw",
        "email": "[email protected]",
        "status": "pending",
        "expires_at": "2026-02-10T10:30:00+00:00",
        "created_at": "2026-01-11T10:30:00+00:00"
      }
    ],
    "skipped": {
      "already_affiliate": [],
      "already_invited": []
    }
  },
  "errors": []
}