Skip to main content
POST
/
v1
/
redemptions
curl
curl -X POST https://api.expys.com/v1/redemptions \
  -H "Authorization: Bearer YOUR_MEMBER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "externalUserID": "string",
    "offer": "string"
  }'
{
  "createdAt": "<string>",
  "endAt": "<string>",
  "id": "<string>",
  "offer": "<string>",
  "startAt": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Org-API-Key as a Bearer token.

Headers

Idempotency-Key
string

Optional client-generated key (<=255 chars). A retried POST carrying the same key replays the original response instead of acting twice; reusing a key with a different body returns 409.

Maximum string length: 255

Body

application/json
offer
string
required
externalUserID
string

Response

Response for status 201

createdAt
string
required
endAt
string | null
required
id
string
required
offer
string
required
startAt
string | null
required
status
string
required