Configurations directly configurable by partners. E.g. Webhooks.
Get all webhook configurations
Partners can call this endpoint to get all the webhook configurations they have registered.
query Parameters
pageSelects a specific page in the collection
perPageSelects the number of elements per page
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Get all webhook configurations › Responses
List of webhooks
Items on a specific page
totalItemsTotal number of items
totalPagesTotal number of pages available to browse
Register one or more webhook events.
Partners can call this endpoint to register where they want to receive webhook events. They register a base url, and a list of events and what path the partner want to receive webhooks for that particular event.
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Register one or more webhook events. › Request Body
baseUrlThe client specified base url where they want to use for all event paths.
A collection of which webhooks events and the paths they should be sent to. The path is combined with the base url to form a complete url
Register one or more webhook events. › Responses
Webhook created
secretThe secret that should be used to validate the signature of receive webhooks. This is generated by Entur.
baseUrlThe client specified base url where they want to use for all event paths.
A collection of which webhooks events and the paths they should be sent to. The path is combined with the base url to form a complete url
organisationIdThe organisation that own this webhook configuration
idThe id of the webhook configuration
Get webhook by ID
Get a webhook by the ID of the webhook.
path Parameters
webhookConfigurationIdThe id of a webhook
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Get webhook by ID › Responses
Webhook found
secretThe secret that should be used to validate the signature of receive webhooks. This is generated by Entur.
baseUrlThe client specified base url where they want to use for all event paths.
A collection of which webhooks events and the paths they should be sent to. The path is combined with the base url to form a complete url
organisationIdThe organisation that own this webhook configuration
idThe id of the webhook configuration
Update a webhook
Partners can update a webhook configuration by using this endpoint. All the same values the partner input when creating a webhook can be changed using this endpoint
path Parameters
webhookConfigurationIdThe id of a webhook
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Update a webhook › Request Body
baseUrlThe client specified base url where they want to use for all event paths.
A collection of which webhooks events and the paths they should be sent to. The path is combined with the base url to form a complete url
Update a webhook › Responses
Webhook updated
secretThe secret that should be used to validate the signature of receive webhooks. This is generated by Entur.
baseUrlThe client specified base url where they want to use for all event paths.
A collection of which webhooks events and the paths they should be sent to. The path is combined with the base url to form a complete url
organisationIdThe organisation that own this webhook configuration
idThe id of the webhook configuration
Delete a webhook
Delete a specific webhook configuration by id.
path Parameters
webhookConfigurationIdThe id of a webhook
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Delete a webhook › Responses
Webhook deleted
Rotate the webhook secret
If the current secret has been compromised, this endpoint offers a simple way to rotate the secret.
path Parameters
webhookConfigurationIdThe id of a webhook
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Rotate the webhook secret › Responses
Secret rotated
secretThe secret that should be used to validate the signature of receive webhooks. This is generated by Entur.
baseUrlThe client specified base url where they want to use for all event paths.
A collection of which webhooks events and the paths they should be sent to. The path is combined with the base url to form a complete url
organisationIdThe organisation that own this webhook configuration
idThe id of the webhook configuration