Account
Redeem a promo code
Redeems a Pro promo code for the caller. Matching ignores case and stray spaces. A code that is unknown, spent or already redeemed by this account is a 422 promo_code_invalid whose message says which. Closed to guests.
post/api/v2/account/promo-code
Request
- Base URL: https://www.endlesstravelplans.com
- URL: https://www.endlesstravelplans.com/api/v2/account/promo-code
- Auth: HTTP bearer
Request body
Example request
{
"code": "FRIENDS"
}Response
the account block, as GET /account
Example response
{
"pro": {
"has_access": true,
"source": "promo",
"plan": null,
"expires_at": "2026-11-11T09:00:00Z",
"manage": {
"kind": "none",
"url": null
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.