Experiences

Grant experience access

Changed on

Grants a contact manual access to an experience

post/experiences/{experience_id}/grants

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

experience_id, string required

The experience ID

Headers

Idempotency-Key, string

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

ExperienceGrantRequest required
contact_id, string required

Contact ID (con_...) to grant access to

reason, string nullable

Optional reason recorded on the grant

Response

Grant created

ExperienceGrant required
id, string required
object, string required
contact, string required
customer_name, string required
customer_email, string required
experience, string required
experience_name, string required
status, string required
grant_type, string required
reason, string nullable required
granted_at, string date-time nullable required
revoked_at, string date-time nullable required
expires_at, string date-time nullable required
created_at, string date-time required
updated_at, string date-time required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision