Type | Description |
---|---|
API Keys | The API keys as headers in the request. The most common version is ‘bearer tokens’. |
Basic Auth | HTTP Basic Auth, where you provide a username and password. |
None | For endpoints that don’t require any authentication. |
Header name
and Value
(x-stedi-noauth
and dummy
). Since the receiving API isn’t authenticating the call, it will ignore these values and accept the request.
POST
, PUT
, GET
, PATCH
, DELETE
).
You can only attach one credential set to each webhook. However, you might have multiple webhooks for a single system integration, each with a different endpoint.
x12.transactionSetIdentifier
specifies the transaction type (277 or 835).transactionId
allows you to retrieve the transaction in JSON format using either the 277CA Report or 835 ERA Report endpoint.fileExecutionId
allows you to retrieve the transaction in X12 EDI format through the Get Execution Input endpoint.Example transaction processed events for 277CA and 835 ERA
Example file delivered event
Example file failed event
835: Health Care Claim Payment/Advice
, Stedi only sends events for processed 835 ERAs to your endpoint.local-clearinghouse-test
, Stedi only sends events for test claims to your endpoint.version
, id
, and time
, events have the following properties:
detail-type
- Indicates the type of event, such as transaction.processed.v2
or file.failed.v2
.source
- Indicates the component that generated the event. All events use source: “stedi.core”
.account
- The account ID that generated the event.region
- The AWS region where the event was generated.resources
- The URL to the resource that Stedi created. This could be a transaction or a file execution, depending on the event type. Hitting the URL with your API key is equivalent to calling the Get Execution and Get Transaction endpoints.detail
- The JSON payload. The schema for each payload is determined by the detail-type
.2xx
response a success, and marks any other response as a failure.
Stedi retries events associated with status codes other than 2xx
for up to 4 times with a 90 second wait period inbetween retries.
If the maximum number of retries has been exhausted, Stedi adds the event to the error queue for the webhook.
You can set the Concurrency when configuring the webhook to prevent throttling. This setting determines the maximum number of deliveries that Stedi will attempt to deliver to the endpoint at one time.
2xx
status code within 5 seconds, or the event will be counted as a failed delivery.
2xx
response, then process the data asynchronously. See Best practices for webhook endpoints.
x-stedi-reauthorize
with today’s date as a value. When you save, the webhook will attempt to deliver again. This header can be removed later. Editing the value of a header will also restart deliveries.
You will likely have a queue of messages to deliver, so Stedi will automatically start retrying them after you make this change. If the endpoint is still returning an invalid response, the webhook will return to Deauthorized
.
2xx
status code to acknowledge receipt, then process the payload asynchronously.eventId
from each webhook payload in your databaseeventId
has already been processed