Download OpenAPI specification:
For detailed documentation about the prerequisites and the concepts, please refer to the official Akeneo Event Platform documentation
A Postman collection is available to ease the manipulation of this API.
By providing correct Postman variable values you'll benefit from automatic authentication to the API.
The best way to start is by importing the postman environment template.
You can download it here, then import it in Postman.
Create a Subscriber which is linked to a specific client id of a PIM.
It holds all the Subscriptions.
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
The name
property is here to describe the Subscriber with a human readable sentence.
Can be useful if you're in charge of a multitenant App to quickly see which Subscriber refers to what, it's purely informative and have not impact on the Event Platform features.
It's up to you to put relevant information such as the name of your App concatenated with the tenant, example:
We will use the technical_email
to send you notifications on some decisions made by the platform.
name | string The subscriber name |
object |
{- "name": "translation app",
- "contact": {
- "technical_email": "john.doe@example.com"
}
}
{- "id": "018e1ec5-29da-78ad-aae6-92065b9ca2a5",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "translation app",
- "contact": {
- "technical_email": "john.doe@example.com"
}
}
Retrieve all active Subscribers associated with your credentials.
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
[- {
- "id": "018e1ec5-29da-78ad-aae6-92065b9ca2a5",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "translation app",
- "contact": {
- "technical_email": "john.doe@example.com"
}
}
]
Get a Subscriber configuration by its identifier
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
{- "id": "018e1ec5-29da-78ad-aae6-92065b9ca2a5",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "translation app",
- "contact": {
- "technical_email": "john.doe@example.com"
}
}
You can update a Subscriber when you want to change it's name or change the contact email.
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
You can update any data belonging to the following payload.
name | string The subscriber name |
object |
{- "name": "translation app",
- "contact": {
- "technical_email": "john.doe@example.com"
}
}
{- "id": "018e1ec5-29da-78ad-aae6-92065b9ca2a5",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "translation app",
- "contact": {
- "technical_email": "john.doe@example.com"
}
}
You need to manage the lifecycle of the Subscriber, you can delete a Subscriber when it is not needed anymore.
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
{- "id": "018e1ec5-29da-78ad-aae6-92065b9ca2a5",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "name": "translation app",
- "contact": {
- "technical_email": "john.doe@example.com"
}
}
A Subscription defines the event you want to Subscribe and the destination where they will be sent
Create a Subscription with a configuration of a destination and the list of events the destination wants to receive.
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
Respect the following payload to create and configure a Subscription.
Part of the payload is specific to the destination you choose.
source | string Default: "pim" |
subject | string <uri> Url of the PIM |
events | Array of strings The list of event types that the subscription is configured to receive. |
type | string Enum: "pubsub" "https" The destination type |
object |
{- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub"
}
{- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub"
}
Retrieve the list of all Subscriptions for a specific Subscriber.
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
[- {
- "id": "018e1e57-8e96-7695-895e-34bb1f5c0614",
- "subscriber_id": "018e1e57-8e96-7695-895e-34bb1f5c1578",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2020-08-24T14:15:22Z",
- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub",
- "config": {
- "project_id": "gcp-prd-project-name",
- "topic_id": "demo-integrations-events"
}
}
]
Retrieve a Subscription detail by its identifier
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
subscription_id required | string <uuid> The unique identifier of the subscription. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
{- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub"
}
Update a Subscription configuration.
You can expect a slight delay between the update and the application by the platform.
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
subscription_id required | string <uuid> The unique identifier of the subscription. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
The following payload data can be updated
source | string Default: "pim" |
subject | string <uri> Url of the PIM |
events | Array of strings The list of event types that the subscription is configured to receive. |
type | string Enum: "pubsub" "https" The destination type |
object |
{- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub"
}
{- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub"
}
A deleted Subscription can't be re-activated again.
Ensure to suspend it if you want to pause the emission of event.
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
subscription_id required | string <uuid> The unique identifier of the subscription. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
{- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub"
}
Suspend a Subscription when you want to pause the emission of events.
During the time of suspension, new events will be losts. Ensure to resume it once you're ready to receive events again.
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
subscription_id required | string <uuid> The unique identifier of the subscription. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
{- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub"
}
A suspended Subscription can be resume with a call to this endpoint.
Suspension can be done by you, or can be decided by the platform itself depending on the behavior of your destination. You can find details in our official documentation.
subscriber_id required | string <uuid> The unique identifier of the subscriber. |
subscription_id required | string <uuid> The unique identifier of the subscription. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
{- "source": "pim",
- "events": [
- "com.akeneo.pim.v1.product.deleted"
], - "type": "pubsub"
}
Retrieve a paginated list of logs based on optional filters.
page | integer Example: page=1 The page number for pagination. Starts at 1. |
limit | integer Example: limit=10 The number of logs to retrieve per page. Defaults to 10. |
order | string Enum: "asc" "desc" Example: order=asc Specifies the sort order of the logs. Accepted values are |
start_date | string <date-time> Example: start_date=2024-11-15T00:00:00Z Filter logs starting from this date (inclusive). Format: RFC 3339. |
end_date | string <date-time> Example: end_date=2024-11-15T23:59:59Z Filter logs until this date (inclusive). Format: RFC 3339. |
log_type | string Enum: "action" "error" Example: log_type=error Filter logs by type. Possible values: "action", "error". |
subscriber_id | string <uuid> Example: subscriber_id=aa0f5c91-41ea-4c06-b3a3-af765e2ab07f Filter logs by subscriber ID. |
subscription_id | string <uuid> Example: subscription_id=aa0f5c91-41ea-4c06-b3a3-af765e2ab07f Filter logs by subscription ID. |
x-pim-client-id required | string Client ID of the PIM Connection, App or Custom App for which the Access token has been issued |
x-pim-url required | string <uri> PIM Url that issued the access token |
{- "items": [
- {
- "log_id": "019343ee-983b-701b-8e8c-f46b55354490",
- "log_type": "action",
- "timestamp": "2024-11-19T10:18:50Z",
- "operation": "create_subscription",
- "subscriber_id": "aa0f5c91-41ea-4c06-b3a3-af765e2ab07f",
- "subscription_id": "7438eb60-c89c-4d6c-99da-8652cba0e286",
- "request": { },
- "response": { }
}, - {
- "log_id": "019343ee-984b-7a42-bf66-c64108904388\"",
- "log_type": "error",
- "timestamp": "2024-11-19T10:18:50Z",
- "subscriber_id": "",
- "subscription_id": "7438eb60-c89c-4d6c-99da-8652cba0e286",
- "error_type": "validation error",
- "error_code": 400,
- "error_message": "Invalid request",
- "request": { },
- "response": { }
}
]
}