Campaigns
List campaign tracking events
Changed onget/public/v1/campaigns/{campaignId}/events
Request
- Base URLhttps://prod-api.getfrontline.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
campaignIdstring cuid required
Example:example
Query parameters
pageNuminteger
Example:1
pageSizeinteger
Example:1
type'SENT' | 'DELIVERED' | 'OPENED' | 'CLICKED' | 'REPLIED' | 'FAILED' | 'BOUNCED' | 'COMPLAINED' | 'UNSUBSCRIBED' | 'CONVERTED'
Example:SENT
Example:550e8400-e29b-41d4-a716-446655440000
Response
Campaign events
Example response
{
"count": 1,
"pageSize": 1,
"pageNum": 1,
"totalPages": 1,
"cursor": 1,
"results": [
{
"id": "example",
"type": "example",
"occurredAt": "2024-01-01T12:00:00.000Z",
"createdAt": "2024-01-01T12:00:00.000Z",
"displayName": "example",
"destination": "example"
}
],
"paginationType": "offset",
"nextCursor": "example"
}Changes
- info
endpoint added
- info