Events
The events resource allows you to handle Retrieve related functionality to view your events on Markit. You can also Create, Update, and Delete linked events on Markit. The following actions can be performed on this resource...
Management
- Retrieve All Events
- Retrieve a Single Event
Linked Events
- Create a Linked Event
- Update a Linked Event
- Delete a Linked Event
Management
Retrieve All Events
Retrieves all events of the specified type on your account.
You can include additional parameters in the request as described in the Query Parameters section. For instance, the request below will return contacts with a createdAt of "asc" (ascending).
Available query parameters:
- limit: 20 (default)
- offset: 0 (default)
- eventType: 'Markit' | 'Linked_Event' | 'Webinar' | 'Eventbrite' | 'Showclix' (default = 'Markit')
- createdAt: ‘desc’ | ‘asc’ (default = ‘desc’)
- upcoming: boolean (true to show only upcoming events by start time)
Example Response:
Retrieve a Single Event
Retrieves a single event with the event ID equal to {id}.
Example Response:
Tickets
Cancel a Ticket
Cancel the Markit event ticket(s) for the specified phone number user. Will cancel all free tickets associated with the user for that event.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
phoneNumber | string | Yes | - | The phone number of the recipient (US or non-US). See Phone Number Formatting. |
Example Response:
Linked Events
Create a Linked Event
Pass in the event details from the external event page to create a linked event on Markit. An event automation will automatically be created for this event, including an Auto Text that is triggered when someone gets a ticket. Any additional default texts specified in the "Default Event Texts" automation will also be added. Edit the automations within the Markit platform.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
title | string | Yes | - | The name of the external event |
start | string | Yes | - | ISO 8601 Datetime. For example, 2025-10-19T03:27:13.673Z |
end | string | Yes | - | ISO 8601 Datetime. For example, 2025-10-19T04:27:13.673Z |
timezone | string | Yes | - | IANA Timezone, e.g. America/New_York. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones |
externalEventId | string | Yes | - | The unique identifier for the event object provided by the external event platform. |
externalLink | string | Yes | - | The url of the external event (ie. https://luma.com/123abc) |
ticketTypes | object[] | Yes | - | The ticket types on the external event (see below for object fields) |
coordinates | object | Yes (if no address or isVirtual) | - | The latitude/longitude { lat: 42.356106499999996, lng: -71.0568416 } |
address | string | Yes (if no coordinates or isVirtual) | - | The formatted address (ie. 800 Boylston St, Boston, MA 02199) |
isVirtual | boolean | Yes (if no coordinates or address) | - | True if the event is virtual, false otherwise. If address or coordinates is defined, that will take precedence and set isVirtual to false |
photoUrl | string | No | - | The url of the event cover photo |
formQuestionIds | string[] | No | - | The IDs of the Markit data questions to match any additional attendee data with their Markit data questions. |
TicketTypes Create Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
externalTicketId | string | Yes | - | The ID of the external event ticket type (required for linked events for proper mapping) |
label | string | Yes | - | The name of the ticket type |
minQuantity | string | No | 1 | The minimum number of tickets that an attendee can get |
maxQuantity | string | No | 8 | The maximum number of tickets that an attendee can get |
price | string | No | 0 | The price in cents of the ticket |
type | string | No | 'free' | The ticket type options: 'free', 'paid' |
Example Response:
Update a Linked Event
Pass in the relevant event details to update an existing linked event on Markit. If the start time is updated, the associated event automation texts will be shifted appropriately.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
externalEventId | string | Yes | - | The unique identifier for the event object provided by the external event platform. |
externalLink | string | No | - | The url of the external event (ie. https://luma.com/123abc) |
title | string | No | - | The name of the external event |
start | string | No | - | ISO 8601 Datetime. For example, 2025-10-19T03:27:13.673Z |
end | string | No | - | ISO 8601 Datetime. For example, 2025-10-19T04:27:13.673Z |
timezone | string | No | - | IANA Timezone, e.g. America/New_York. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones |
coordinates | object | No | - | The latitude/longitude { lat: 42.356106499999996, lng: -71.0568416 } |
address | string | No | - | The formatted address (ie. 800 Boylston St, Boston, MA 02199) |
isVirtual | boolean | No | - | True if the event is virtual, false otherwise. If address or coordinates is defined, that will take precedence and set isVirtual to false |
photoUrl | string | No | - | The url of the event cover photo |
ticketTypes | object[] | No | - | The ticket types on the external event (see below for object fields) |
formQuestionIds | string[] | No | - | The IDs of the Markit data questions to match any additional attendee data with their Markit data questions. |
TicketTypes Update Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
externalTicketId | string | Yes | - | The existing external ticket ID to update, or new ticket to create |
label | string | Yes | - | The name of the ticket type |
minQuantity | string | No | 1 | The minimum number of tickets that an attendee can get |
maxQuantity | string | No | 8 | The maximum number of tickets that an attendee can get |
price | string | No | 0 | The price in cents of the ticket |
type | string | No | 'free' | The ticket type options: 'free', 'paid' |
Example Response:
Delete a Linked Event
Pass in the external event ID to delete an existing linked event on Markit. This will also delete the event automation and all other data associated with the event, but will not delete the contacts that were collected for the event.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
externalEventId | string | Yes | - | The unique identifier for the event object provided by the external event platform to delete. |
Example Response: