Notification Subscriptions
Operations related to Notification Subscriptions for managing user subscriptions to platform event notifications (import status, campaign performance, etc.).
Topic related to the subscription
The ID of the organisation for which the subscription is
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/me/subscriptions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"include_sub_organisation": false,
"organisation_id": "text",
"id": "text",
"user_id": "text",
"topic": "DOCUMENT_IMPORT_SUCCESS"
}
],
"count": 1,
"max_results": 1,
"status": "ok",
"total": 1,
"first_result": 1
}falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/me/subscriptions HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 110
{
"include_sub_organisation": false,
"organisation_id": "text",
"user_id": "text",
"topic": "DOCUMENT_IMPORT_SUCCESS"
}{
"status": "ok",
"data": [
{
"include_sub_organisation": false,
"organisation_id": "text",
"id": "text",
"user_id": "text",
"topic": "DOCUMENT_IMPORT_SUCCESS"
}
],
"total": 1,
"max_results": 1,
"first_result": 1,
"count": 1
}The id of the subscription we are looking for
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/me/subscriptions/{subscription_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"include_sub_organisation": false,
"organisation_id": "text",
"id": "text",
"user_id": "text",
"topic": "DOCUMENT_IMPORT_SUCCESS"
}
}The id of the subscription we are looking for
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/me/subscriptions/{subscription_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?