Get a webhook decision exchange
Retrieve a real-time decision exchange and its response by ID and version.
Required permissions: notification_decision_exchange:read.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
notification_decision_exchange_id
The ID of the decision exchange.
Headers
X-Penny-As-Business
Act on behalf of another business that has granted you access. Requires the business:act_as permission.
Query parameters
version
Resource version to return; 0 returns the latest.
Response
The decision exchange.
notification_decision_exchange_id
Penny's unique identifier for this decision exchange.
version
A number that increases each time this exchange's state changes. Use it to confirm you are looking at the latest information.
version_time
The date and time this exchange's state was last changed.
business_id
The business this decision concerns.
notification_endpoint_id
The webhook endpoint this decision request was sent to.
request_time
When the decision request was sent.
status
This exchange’s current status: ‘pending’, ‘decided’, ‘timed_out’, or ‘failed’.
Allowed values:
request
The decision that was requested.
channel
The channel this decision request was sent over.
Allowed values:
response_time
When a response was received, if one has been.
outcome
The effective outcome of this exchange, once resolved.
Allowed values:
fallback_applied
Whether the fallback outcome was applied because no response arrived in time.
response
The subscriber's response, if one was received.
metadata
Additional metadata associated with this exchange.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error