InboboDocsMenu

API reference

Callback URL

Read or change where Inbobo posts delivery updates and customer replies.

Get the callback URL

GEThttps://inbobo.im/transport/api/v1/callback
Terminal
curl https://inbobo.im/transport/api/v1/callback \
  -H "Authorization: Bearer $INBOBO_TOKEN"
200 OK
{
  "callback_url": "https://invoice.example.com/hooks/inbobo",
  "signing": "X-Inbobo-Signature: t=<unix>,v1=<hmac-sha256(secret, \"t.body\")>"
}

Set the callback URL

PUThttps://inbobo.im/transport/api/v1/callback
Terminal
curl -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.