Skip to main content
GET
/
marketing
/
clients-granted-consent
/
tour
Retrieve clients who granted consent for marketing for a specific tour
curl --request GET \
  --url https://private-api.tixyapp.com/marketing/clients-granted-consent/tour \
  --header 'Authorization: Bearer <token>'
{
  "total_users": 123,
  "consent_granted": {
    "count": 123,
    "percentage": 123
  },
  "consent_revoked": {
    "count": 123,
    "percentage": 123
  }
}

Authorizations

Authorization
string
header
required

Custom Bearer token authentication for accessing private organizer endpoints.

Query Parameters

tourId
string

The unique identifier for the tour. Must be a 24-character hexadecimal string.

tourSlug
string

The SEO-friendly slug for the tour. Accepts alphanumeric characters, hyphens, underscores, and periods.

Response

Successful response containing marketing consent information for clients associated with the specified tour.

total_users
integer

Total number of users for the tour.