Skip to main content
GET
List the saved versions of an organisation's wording for one email

Authorizations

X-Auth-Token
string
header
required

Your access token (raw token, no Bearer prefix)

X-Org-Id
string
header
required

The organisation to act on. Required only when your credentials can reach more than one organisation; optional for a single organisation.

Path Parameters

organisationId
string
required

The organisation to act on. It must be the one selected with X-Org-Id: a request naming two different organisations is refused with 403.

eventType
enum<string>
required

The email, by the event name its webhook delivery events carry, as listed by the list operation: PayslipGeneratedEvent, P45GeneratedEvent, P60GeneratedEvent, EmployeePensionEnrolmentEvent, ReportReadyEvent, WebhookEndpointFailingEvent, WebhookEndpointDisabledEvent.

Available options:
PayslipGeneratedEvent,
P45GeneratedEvent,
P60GeneratedEvent,
EmployeePensionEnrolmentEvent,
ReportReadyEvent,
WebhookEndpointFailingEvent,
WebhookEndpointDisabledEvent

Query Parameters

pageSize
integer
default:20

How many versions to return: 1 to 50, default 20.

Required range: 1 <= x <= 50
paginationToken
string

The paginationToken the previous page returned; leave it out for the first page.

Response

OK

message
object
required
validationIssues
object[] | null
content
object