For the complete documentation index, see llms.txt. This page is also available as Markdown.

Respond to B2C subscription request

GraphQL endpoint: /user

Accepts or rejects a subscription request received from a company. If accepted, a B2C subscription is created and the user will receive communications from the company according to the subscription type (EMAIL, SMS, VOICE). If rejected, no subscription is created and the request is marked as rejected.

Query

mutation (
  $requestId: ID!
  $response: SubscriptionRequestResponse!
) {
  respondB2cSubscriptionRequest (
    requestId: $requestId
    response: $response
  ) {
    id
    status
    type
    insertedAt
    respondedAt
    updatedAt
    user {
      id
    }
    company {
      id
    }
    invitedUser {
      id
    }
  }
}

Variables

Response

Last updated