Listrak Event API
The Event API from Listrak — 2 operation(s) for event.
Operations 4
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
The Event API from Listrak — 2 operation(s) for event.
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/listrak:listrak-event-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: v1
title: Listrak Email REST Event API
description: '# Introduction
Welcome to the Listrak Email REST API!'
x-logo:
url: /Email/Resources/Images/Logo.png
servers:
- url: https://api.listrak.com/email
tags:
- name: Event
description: An Event resource provides a way to access external events that have been created on a list.
paths:
/v1/List/{listId}/Event:
get:
tags:
- Event
summary: Get all Events
description: Returns the collection of events associated with the specified list.
operationId: Event_GetEventCollection
parameters:
- name: listId
in: path
description: Identifier used to locate the list.
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Collection_Event'
example:
status: 200
data:
- eventId: 0
eventName: null
eventGroupId: 0
status: null
'400':
description: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 400
error: ERROR_INVALID_PARAMETER
message: An invalid value was supplied for {Parameter}.
'404':
description: NotFound
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 404
error: ERROR_UNABLE_TO_LOCATE_RESOURCE
message: Unable to locate a resource associated with the listId supplied.
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 401
error: ERROR_UNAUTHORIZED
message: Authorization was denied for this request.
security:
- OAuth 2:
- List
- Event
x-code-samples:
- lang: C#
source: 'var client = new HttpClient();
client.BaseAddress = new Uri("https://api.listrak.com/email/");
client.DefaultRequestHeaders.Add("Authorization", "Bearer " + token);
var response = await client.GetAsync("v1/List/{listId}/Event");
'
- lang: PHP
source: "$client = new \\GuzzleHttp\\Client([\n\t'base_uri' => 'https://api.listrak.com/email/'\n]);\n\n$res = $client->request('GET', 'v1/List/{listId}/Event', [\n\t'headers' => ['Authorization' => 'Bearer ' . $accessToken]\n]);\n"
post:
tags:
- Event
summary: Create an Event
description: Creates a new event on the specified list.
operationId: Event_PostEventResource
parameters:
- name: listId
in: path
description: Identifier used to locate the list.
required: true
schema:
type: integer
format: int32
responses:
'400':
description: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 400
error: ERROR_INVALID_PARAMETER
message: An invalid value was supplied for {Parameter}.
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceCreated'
example:
status: 201
resourceId: '{ResourceId}'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 401
error: ERROR_UNAUTHORIZED
message: Authorization was denied for this request.
'404':
description: NotFound
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 404
error: ERROR_UNABLE_TO_LOCATE_RESOURCE
message: Unable to locate a resource associated with the listId supplied.
security:
- OAuth 2:
- List
- Event
x-code-samples:
- lang: C#
source: "var client = new HttpClient();\n\nclient.BaseAddress = new Uri(\"https://api.listrak.com/email/\");\nclient.DefaultRequestHeaders.Add(\"Authorization\", \"Bearer \" + token);\n\nvar response = await client.PostAsJsonAsync(\"v1/List/{listId}/Event\", new\n{\n EventName = null,\n EventGroupId = 0,\n Status = null\n});\n"
- lang: PHP
source: "$client = new \\GuzzleHttp\\Client([\n\t'base_uri' => 'https://api.listrak.com/email/'\n]);\n\n$res = $client->request('POST', 'v1/List/{listId}/Event', [\n\t'headers' => ['Authorization' => 'Bearer ' . $accessToken],\n\t'json' => $jsonBody\n]);\n"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Event'
description: Representation of the event to create.
required: true
/v1/List/{listId}/Event/{eventId}:
get:
tags:
- Event
summary: Get an Event
description: Returns the specified event.
operationId: Event_GetEventResource
parameters:
- name: listId
in: path
description: Identifier used to locate the list.
required: true
schema:
type: integer
format: int32
- name: eventId
in: path
description: Identifier used to locate the event.
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Resource_Event'
example:
status: 200
data:
eventId: 0
eventName: null
eventGroupId: 0
status: null
'400':
description: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 400
error: ERROR_INVALID_PARAMETER
message: An invalid value was supplied for {Parameter}.
'404':
description: NotFound
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 404
error: ERROR_UNABLE_TO_LOCATE_RESOURCE
message: Unable to locate a resource associated with the listId and eventId supplied.
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 401
error: ERROR_UNAUTHORIZED
message: Authorization was denied for this request.
security:
- OAuth 2:
- List
- Event
x-code-samples:
- lang: C#
source: 'var client = new HttpClient();
client.BaseAddress = new Uri("https://api.listrak.com/email/");
client.DefaultRequestHeaders.Add("Authorization", "Bearer " + token);
var response = await client.GetAsync("v1/List/{listId}/Event/{eventId}");
'
- lang: PHP
source: "$client = new \\GuzzleHttp\\Client([\n\t'base_uri' => 'https://api.listrak.com/email/'\n]);\n\n$res = $client->request('GET', 'v1/List/{listId}/Event/{eventId}', [\n\t'headers' => ['Authorization' => 'Bearer ' . $accessToken]\n]);\n"
put:
tags:
- Event
summary: Update an Event
description: Updates an existing event.
operationId: Event_PutEventResource
parameters:
- name: listId
in: path
description: Identifier used to locate the list.
required: true
schema:
type: integer
format: int32
- name: eventId
in: path
description: Identifier used to locate the event.
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceUpdated'
example:
status: 200
resourceId: '{ResourceId}'
'400':
description: BadRequest
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 400
error: ERROR_INVALID_PARAMETER
message: An invalid value was supplied for {Parameter}.
'404':
description: NotFound
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 404
error: ERROR_UNABLE_TO_LOCATE_RESOURCE
message: Unable to locate a resource associated with the listId and eventId supplied.
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: 401
error: ERROR_UNAUTHORIZED
message: Authorization was denied for this request.
security:
- OAuth 2:
- List
- Event
x-code-samples:
- lang: C#
source: "var client = new HttpClient();\n\nclient.BaseAddress = new Uri(\"https://api.listrak.com/email/\");\nclient.DefaultRequestHeaders.Add(\"Authorization\", \"Bearer \" + token);\n\nvar response = await client.PutAsJsonAsync(\"v1/List/{listId}/Event/{eventId}\", new\n{\n EventName = null,\n EventGroupId = 0,\n Status = null\n});\n"
- lang: PHP
source: "$client = new \\GuzzleHttp\\Client([\n\t'base_uri' => 'https://api.listrak.com/email/'\n]);\n\n$res = $client->request('PUT', 'v1/List/{listId}/Event/{eventId}', [\n\t'headers' => ['Authorization' => 'Bearer ' . $accessToken],\n\t'json' => $jsonBody\n]);\n"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Event'
description: Representation of the updated event.
required: true
components:
schemas:
ResourceUpdated:
type: object
properties:
status:
format: int32
description: HTTP status code.
type: integer
resourceId:
description: An identifier used to locate the updated resource.
type: string
Resource_Event:
type: object
properties:
status:
format: int32
description: HTTP status code.
type: integer
data:
$ref: '#/components/schemas/Event'
description: Return data.
Event:
description: An Event resource.
required:
- eventName
- status
type: object
properties:
eventId:
format: int32
description: Identifier used to locate the event.
type: integer
readOnly: true
eventName:
description: Name given to the event.
type: string
eventGroupId:
format: int32
description: Identifier of the event group associated with the event.
type: integer
status:
description: Status of the event. Allowed values are `Active` and `Blocked`.
type: string
ResourceCreated:
type: object
properties:
status:
format: int32
description: HTTP status code.
type: integer
resourceId:
description: An identifier used to locate a resource.
type: string
Error:
type: object
properties:
status:
format: int32
description: HTTP status code.
type: integer
error:
description: Error code indicating what error has occured.
type: string
message:
description: Message describing the status and the error that occurred.
type: string
Collection_Event:
type: object
properties:
status:
format: int32
description: HTTP status code.
type: integer
data:
description: Collection of return data from the given call.
type: array
items:
$ref: '#/components/schemas/Event'
x-tagGroups:
- name: API Reference
tags:
- Campaign
- Contact
- ContactSegmentationField
- Content
- ContentFolder
- Conversation
- ConversationMessage
- ConversationMessageActivity
- ConversationMessageLink
- ConversationMessageLinkClicker
- ConversationMessageSummary
- ConversationSummary
- Event
- EventGroup
- Folder
- IpPool
- List
- ListImport
- ListImportContact
- ListImportStatus
- ListImportSummary
- Message
- MessageActivity
- MessageLink
- MessageLinkClicker
- MessageStatus
- MessageSummary
- SavedAudience
- SavedMessage
- SegmentationField
- SegmentationFieldGroup
- SplitTest
- TransactionalMessage
- TransactionalMessageActivity
- TransactionalMessageResend
x-provenance:
method: harvested
publisher: Listrak
source: https://api.listrak.com/email/swagger/docs/v1?revision=639267197004225324
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)