Status
Thestatus
field in the response can have one of the following values:
Status Code | Details |
---|---|
complete | Indicates that the search has been completed. |
processing | Signifies that the search is currently in progress, and it is recommended to retry the request later. |
error | Suggests that the search dit not finished successfully, and you can find descriptions of error codes below. |
Error codes
Error code | Details |
---|---|
insurer_problem | Insurer not available, try again later |
unexpected_error | Unknown error |
Webhooks
Add webhooks in the provider app to receive results into your endpoint. Webhook payload will be identical to the response of this endpoint. When configuring a webhook you can provide a secret to sign the webhook payload and check the signature on the server side. Signature will be sent inX-Signature
header in request to webhook endpoint.
Signature is a request raw data signed with secret by HMAC SHA256 algorithm. Python example:
Authorizations
Your API token prefaced with an "Api" prefix. Example value: "Api B3F4242424E3FDB4242424242A9C7642"
Path Parameters
Response
The response is of type object
.