List Subscriptions
Gets a list of all trigger subscriptions.
Query Parameters
- limit int32
Possible values:
<= 250
Default value:
250
Max number of results to return. See V3 API Standard Collection Parameters for more information.
Example: 250 - offset int32
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
- count boolean
If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored.
Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used.
See V3 API Standard Collection Parameters for more information.
Example: true - filters string
Filter results using the standard syntax described in V3 API Standard Collection Parameters
Filtering is supported for the following fields and operators:
id: eq
triggerId: eq
type: eq
Example: id eq "12cff757-c0c0-413b-8ad7-2a47956d1e89" - sorters comma-separated
Sort results using the standard syntax described in V3 API Standard Collection Parameters
Sorting is supported for the following fields:
triggerId triggerName
Example: triggerName
- 200
- 400
- 401
- 403
- 429
- 500
List of subscriptions.
- application/json
- Schema
- Example (from schema)
- H T T P Subscription
- H T T P Async Subscription
- Event Bridge Subscription
Schema array
- id string
Subscription ID.
- name string
Subscription name.
- description string
Subscription description.
- triggerId string
ID of trigger subscribed to.
- triggerName string
Trigger name of trigger subscribed to.
- type string
Possible values: [
HTTP
,EVENTBRIDGE
]Subscription type. NOTE If type is EVENTBRIDGE, then eventBridgeConfig is required. If type is HTTP, then httpConfig is required.
- responseDeadline string
Default value:
PT1H
Deadline for completing REQUEST_RESPONSE trigger invocation, represented in ISO-8601 duration format.
httpConfig object
Config required if HTTP subscription type is used.
url stringURL of the external/custom integration.
httpDispatchMode stringPossible values: [
SYNC
,ASYNC
,DYNAMIC
]HTTP response modes, i.e. SYNC, ASYNC, or DYNAMIC.
httpAuthenticationType stringPossible values: [
NO_AUTH
,BASIC_AUTH
,BEARER_TOKEN
]Default value:
NO_AUTH
Defines the HTTP Authentication type. Additional values may be added in the future.
If NO_AUTH is selected, no extra information will be in HttpConfig.
If BASIC_AUTH is selected, HttpConfig will include BasicAuthConfig with Username and Password as strings.
If BEARER_TOKEN is selected, HttpConfig will include BearerTokenAuthConfig with Token as string.
basicAuthConfig object
Config required if BASIC_AUTH is used.
userName stringThe username to authenticate.
password stringThe password to authenticate. On response, this field is set to null as to not return secrets.
bearerTokenAuthConfig object
Config required if BEARER_TOKEN authentication is used. On response, this field is set to null as to not return secrets.
bearerToken stringBearer token
eventBridgeConfig object
Config required if EVENTBRIDGE subscription type is used.
awsAccount stringAWS Account Number (12-digit number) that has the EventBridge Partner Event Source Resource.
awsRegion stringAWS Region that has the EventBridge Partner Event Source Resource. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a full list of available values.
- enabled boolean
Default value:
true
Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option.
- filter string
JSONPath filter to conditionally invoke trigger when expression evaluates to true.
[
{
"id": "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
"name": "Access request subscription",
"description": "Access requested to site xyz",
"triggerId": "idn:access-requested",
"triggerName": "Access Requested",
"type": "HTTP",
"responseDeadline": "PT1H",
"httpConfig": {
"url": "https://www.example.com",
"httpDispatchMode": "SYNC",
"httpAuthenticationType": "BASIC_AUTH",
"basicAuthConfig": {
"userName": "[email protected]",
"password": null
},
"bearerTokenAuthConfig": {
"bearerToken": null
}
},
"eventBridgeConfig": {
"awsAccount": "123456789012",
"awsRegion": "us-west-1"
},
"enabled": true,
"filter": "$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]"
}
]
[
{
"id": "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
"name": "Access request subscription",
"description": "Access requested to site xyz",
"triggerId": "idn:access-requested",
"triggerName": "Access Requested",
"type": "HTTP",
"httpConfig": {
"url": "https://www.example.com",
"httpDispatchMode": "SYNC",
"httpAuthenticationType": "BASIC_AUTH",
"basicAuthConfig": {
"userName": "[email protected]",
"password": null
}
},
"enabled": true,
"filter": "$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]"
}
]
{
"name": "Access request subscription",
"description": "Access requested to site xyz",
"triggerId": "idn:access-requested",
"triggerName": "Access Requested",
"type": "HTTP",
"responseDeadline": "PT1H",
"httpConfig": {
"url": "https://www.example.com",
"httpDispatchMode": "ASYNC",
"httpAuthenticationType": "BASIC_AUTH",
"basicAuthConfig": {
"userName": "[email protected]",
"password": null
}
},
"enabled": true,
"filter": "$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]"
}
[
{
"id": "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
"name": "Access request subscription",
"description": "Access requested to site xyz",
"triggerId": "idn:access-requested",
"triggerName": "Access Requested",
"type": "EVENTBRIDGE",
"eventBridgeConfig": {
"awsAccount": "123456789012",
"awsRegion": "us-west-1"
},
"enabled": true,
"filter": "$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]"
}
]
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (from schema)
Schema
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
causes object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
- application/json
- Schema
- Example (from schema)
Schema
- error
A message describing the error
{
"error": "JWT validation failed: JWT is expired"
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (from schema)
- 403
Schema
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
causes object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 403 response object
{
"detailCode": "403 Forbidden",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server understood the request but refuses to authorize it."
}
]
}
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
- application/json
- Schema
- Example (from schema)
Schema
- message
A message describing the error
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (from schema)
- 500
Schema
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
causes object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
text stringActual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 500 response object
{
"detailCode": "500.0 Internal Fault",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "An internal fault occurred."
}
]
}