EventsCheck In Event Tickets
Check In Event Tickets
To mark one or more tickets as checked in, make a POST call to the /events/{event_id}/check_in/tickets endpoint. The event must be in ACTIVE or COMPLETE status. Tickets with CANCELLED status cannot be checked in.
Parameters
-
event_id: (path, string) Required. The ID that uniquely identifies the event. Example:07216444-4e3b-41ea-a3b8-5a418fce41f4. -
order_ticket_keys: (body, array of strings) Required. The set of order ticket keys to mark as checked in. Example:["a1b2c3", "d4e5f6"].
Request Examples
POST
https://api.cc.email/v3/events/{event_id}/check_in/ticketsEndpoint Requirements
User privileges: campaign:writeAuthorization scopes: campaign_dataOkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"order_ticket_keys\": [\"a1b2c3\", \"d4e5f6\"]\n}");
Request request = new Request.Builder()
.url("https://api.cc.email/v3/events/07216444-4e3b-41ea-a3b8-5a418fce41f4/check_in/tickets")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer {access_token}")
.build();
Response response = client.newCall(request).execute();Example Response
A successful check-in returns a 204 No Content response with no body.
Learn more about Registration schema.
Test the endpoint using our reference tester:
Try it!Tagsevents