Event Notifications REST API Reference - Subscriptions
Download OpenAPI Specification: Download
For more information about Postman collections, forking, and making your first API call, refer to the Working with Boomi APIs on Postman page.
API for operating on an accounts subscriptions
Required Privileges:
Ensure you have the Event Notification Administrator role.
List all subscriptions for an account
Retrieves all event subscriptions associated with the specified account
Authorizations:
path Parameters
| accountId required | string The unique identifier of the Boomi account whose subscriptions are being managed |
query Parameters
| pageNumber | integer <int32> Page number for pagination |
| pageSize | integer <int32> Example: pageSize=20 Number of items per page |
| sortBy | string Example: sortBy=createdDate Field to sort by |
| sortDirection | string Example: sortDirection=DESC Sort direction (ASC or DESC) |
Responses
Response Schema: application/json
Array of objects (Subscription) | |
object (Subscription) A single subscription configuration | |
object (PaginationMetadata) |
Response samples
- 200
- 403
- 404
- 500
{- "subscriptions": [
- {
- "subscriptionId": "123e4567-e89b-12d3-a456-426614174000",
- "eventName": "Atom.Status",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "WARNING",
- "accountId": "acct_12345",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true,
- "createdDate": 1625097600000,
- "lastUpdatedDate": 1625184000000,
- "createdBy": "user@example.com",
- "lastUpdatedUserId": "user@example.com"
}, - {
- "subscriptionId": "223e4567-e89b-12d3-a456-426614174001",
- "eventName": "Process.Execution",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "ERROR",
- "accountId": "acct_12345",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true,
- "createdDate": 1625097600000,
- "lastUpdatedDate": 1625184000000,
- "createdBy": "user@example.com",
- "lastUpdatedUserId": "user@example.com"
}
]
}Update subscriptions for an account
Updates all subscriptions for the specified account. Creates subscriptions if none exist.
Authorizations:
path Parameters
| accountId required | string The unique identifier of the Boomi account whose subscriptions are being managed |
Request Body schema: application/jsonrequired
Array of objects (SubscriptionCreate) | |||||||||||||||
Array
| |||||||||||||||
Responses
Response Schema: application/json
Array of objects (Subscription) | |
object (Subscription) A single subscription configuration | |
object (PaginationMetadata) |
Request samples
- Payload
{- "subscriptions": [
- {
- "eventName": "Atom.Status",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "ERROR",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true
}
]
}Response samples
- 200
- 201
- 400
- 403
- 500
{- "subscriptions": [
- {
- "subscriptionId": "123e4567-e89b-12d3-a456-426614174000",
- "eventName": "Atom.Status",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "WARNING",
- "accountId": "acct_12345",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true,
- "createdDate": 1625097600000,
- "lastUpdatedDate": 1625184000000,
- "createdBy": "user@example.com",
- "lastUpdatedUserId": "user@example.com"
}, - {
- "subscriptionId": "223e4567-e89b-12d3-a456-426614174001",
- "eventName": "Process.Execution",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "ERROR",
- "accountId": "acct_12345",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true,
- "createdDate": 1625097600000,
- "lastUpdatedDate": 1625184000000,
- "createdBy": "user@example.com",
- "lastUpdatedUserId": "user@example.com"
}
]
}Create subscriptions
Creates one or more subscriptions for the specified account
Authorizations:
path Parameters
| accountId required | string The unique identifier of the Boomi account whose subscriptions are being managed |
Request Body schema: application/jsonrequired
Array of objects (SubscriptionCreate) | |||||||||||||||
Array
| |||||||||||||||
Responses
Request samples
- Payload
{- "subscriptions": [
- {
- "eventName": "Atom.Status",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "ERROR",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true
}
]
}Response samples
- 201
- 400
- 403
- 500
{- "subscriptions": [
- {
- "subscriptionId": "123e4567-e89b-12d3-a456-426614174000",
- "eventName": "Atom.Status",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "WARNING",
- "accountId": "acct_12345",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true,
- "createdDate": 1625097600000,
- "lastUpdatedDate": 1625184000000,
- "createdBy": "user@example.com",
- "lastUpdatedUserId": "user@example.com"
}, - {
- "subscriptionId": "223e4567-e89b-12d3-a456-426614174001",
- "eventName": "Process.Execution",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "ERROR",
- "accountId": "acct_12345",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true,
- "createdDate": 1625097600000,
- "lastUpdatedDate": 1625184000000,
- "createdBy": "user@example.com",
- "lastUpdatedUserId": "user@example.com"
}
]
}Delete all subscriptions for an account
Deletes all subscriptions associated with the specified accountId
Authorizations:
path Parameters
| accountId required | string The unique identifier of the Boomi account whose subscriptions are being managed |
Responses
Response samples
- 403
- 404
- 500
{- "error": "Forbidden",
- "messages": [
- "Access Denied"
], - "path": "/rest/v1/accounts/acct_12345/subscriptions"
}Bulk operations on subscriptions for an account
Performs bulk delete or bulk update operations on subscriptions for the specified account
Authorizations:
path Parameters
| accountId required | string The unique identifier of the Boomi account whose subscriptions are being managed |
Request Body schema: application/jsonrequired
| operation required | string Enum: "delete" "update" Operation to perform on the specified subscriptions |
| subscriptionIds | Array of any |
Array of objects (Subscription) |
Responses
Request samples
- Payload
{- "subscriptionIds": [
- "123e4567-e89b-12d3-a456-426614174000",
- "223e4567-e89b-12d3-a456-426614174001"
], - "operation": "delete"
}Response samples
- 207
- 400
- 403
- 500
bulkDelete
{- "operationStatuses": [
- {
- "subscriptionId": "123e4567-e89b-12d3-a456-426614174000",
- "httpEquivalentCode": 204,
- "message": "Deleted successfully"
}, - {
- "subscriptionId": "223e4567-e89b-12d3-a456-426614174001",
- "httpEquivalentCode": 404,
- "message": "Subscription not found"
}, - {
- "subscriptionId": "323e4567-e89b-12d3-a456-426614174002",
- "httpEquivalentCode": 204,
- "message": "Deleted successfully"
}
]
}Get a single subscription by subscriptionId
Retrieves a single event subscription associated with the specified account by the subscriptionId
Authorizations:
path Parameters
| accountId required | string The unique identifier of the Boomi account whose subscriptions are being managed |
| subscriptionId required | string <uuid> The unique identifier of the subscription |
Responses
Response Schema: application/json
Array of objects (Subscription) | |
object (Subscription) A single subscription configuration | |
object (PaginationMetadata) |
Response samples
- 200
- 403
- 404
- 500
{- "subscriptionId": "223e4567-e89b-12d3-a456-426614174001",
- "eventName": "Atom.Status",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "WARNING",
- "accountId": "acct_12345",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true,
- "createdDate": 1625097600000,
- "lastUpdatedDate": 1625184000000,
- "createdBy": "user@example.com",
- "lastUpdatedUserId": "user@example.com"
}Update a subscription
Updates an existing subscription for the specified account and subscriptionId
Authorizations:
path Parameters
| accountId required | string The unique identifier of the Boomi account whose subscriptions are being managed |
| subscriptionId required | string <uuid> The unique identifier of the subscription |
Request Body schema: application/jsonrequired
required | object (SubscriptionCreate) The subscription configuration to apply | ||||||||||||||
| |||||||||||||||
Responses
Response Schema: application/json
Array of objects (Subscription) | |
object (Subscription) A single subscription configuration | |
object (PaginationMetadata) |
Request samples
- Payload
{- "subscription": {
- "eventName": "Atom.Status",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "ERROR",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true
}
}Response samples
- 200
- 400
- 403
- 404
- 500
{- "subscriptionId": "223e4567-e89b-12d3-a456-426614174001",
- "eventName": "Atom.Status",
- "destinationType": "EVENT_STREAMS",
- "logLevel": "WARNING",
- "accountId": "acct_12345",
- "eventStreamsEnvironment": "0b8bc0ef-d4d1-4797-9234-935cf0ff3f63",
- "eventStreamsEnvironmentName": "production",
- "eventStreamsTopic": "notifications-topic",
- "enabled": true,
- "createdDate": 1625097600000,
- "lastUpdatedDate": 1625184000000,
- "createdBy": "user@example.com",
- "lastUpdatedUserId": "user@example.com"
}Delete a specific subscription
Deletes a single subscription identified by subscriptionId for the specified account
Authorizations:
path Parameters
| accountId required | string The unique identifier of the Boomi account whose subscriptions are being managed |
| subscriptionId required | string <uuid> The unique identifier of the subscription |
Responses
Response samples
- 403
- 404
- 500
{- "error": "Forbidden",
- "messages": [
- "Access Denied"
], - "path": "/rest/v1/accounts/acct_12345/subscriptions/223e4567-e89b-12d3-a456-426614174001"
}