Campaigns

Claim the offer. Idempotent — a repeat claim returns the existing grant with already_claimed: true. Eligibility is re-checked here; 409 means the user no longer qualifies. Send `address` when the campaign has `requires_address`.

post/api/campaigns/{id}/claim

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/campaigns/{id}/claim
  • Auth
    HTTP bearer

Path parameters

idnumber required

Query parameters

countrystring
Example:US

ISO 3166-1 alpha-2 device country. Overrides the stored profile country for eligibility.

Request body

Example request

{
  "address": {
    "recipient_name": "Jordan Rivera",
    "address_line1": "221B Baker Street",
    "address_line2": "Apt 4",
    "city": "Austin",
    "state": "TX",
    "postal_code": "78701",
    "country": "US",
    "phone": "+15125550143"
  }
}

Changes

No recorded changes to this operation across all 34 revisions of this API.