Hermos Access Events
/hermos_access_eventsIn: cookie
Query Parameters
Opaque signed cursor. Return it unchanged; valid for 24 hours.
1 <= length <= 81921 <= value <= 10050Response Body
application/json
application/json
curl -X GET "https://example.com/hermos_access_events"{ "data": [ { "kind": "support_visit_opened", "occurred_at": "2019-08-24T14:15:22Z", "actor": "Hermos staff" } ], "pagination": { "next_cursor": "string", "has_more": true, "as_of": "2019-08-24T14:15:22Z" }, "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "source": "primary"}Grant one free renewal POST
Accept a free-period offer from an opened cancel flow, or grant it as a merchant with a reason. Applies the reserved 100%-off once coupon without proration or a trial. Access stays prepaid. Monthly-only: yearly and weekly billing are refused with not_yet_available. Existing discounts fail asynchronously. A dashboard discount added between the preflight read and mutation is replaced. Not yet available: free-period grants are refused independently of pause and skip.
Invite Affiliate POST
Invites an affiliate: an affiliate record with no identity (status invited; the identity attaches at the person's first sign-in) and an approved membership in each listed program, or the default program. The invitee's email is checked against the company's rejoin blocks: an exact match is 409 affiliate_banned and writes nothing; a partial match admits the invitee with pending memberships and flagged_for_review. Cookie members require Hms-Company and Hms-Livemode; Idempotency-Key returns 400 invalid_request with idempotency_not_supported_for_member_routes. Bearer callers require Idempotency-Key. Agents cannot write affiliate records.