API reference
Callback URL
Read or change where Inbobo posts delivery updates and customer replies.
Get the callback URL
GET
https://inbobo.im/transport/api/v1/callbackcurl https://inbobo.im/transport/api/v1/callback \
-H "Authorization: Bearer $INBOBO_TOKEN"{
"callback_url": "https://invoice.example.com/hooks/inbobo",
"signing": "X-Inbobo-Signature: t=<unix>,v1=<hmac-sha256(secret, \"t.body\")>"
}Set the callback URL
PUT
https://inbobo.im/transport/api/v1/callbackcurl -X PUT https://inbobo.im/transport/api/v1/callback \
-H "Authorization: Bearer $INBOBO_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "callback_url": "https://invoice.example.com/hooks/inbobo" }'The URL must be a valid http or https URL, otherwise the call returns 422. The signing secret is not returned by the API. It is shown to you once, by an admin, when the consumer is created.
See Callbacks for the event formats and how to verify them.