Experiences

Grant experience access

Grants a customer manual access to an experience

post/experiences/{experience_id}/grants

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/experiences/{experience_id}/grants
  • Auth: API key in header Authorization

Path parameters

experience_idstring required

The experience ID

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

customer_idstring required

Customer ID (cus_...) to grant access to

reasonstring nullable

Optional reason recorded on the grant

Response

Grant created

idstring required
objectstring required
customerstring required
customer_namestring required
customer_emailstring required
experiencestring required
experience_namestring required
statusstring required
grant_typestring required
reasonstring nullable required
granted_atstring date-time nullable required
revoked_atstring date-time nullable required
expires_atstring date-time nullable required
created_atstring date-time required
updated_atstring date-time required

Changes

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