API referenceWebhooks
Create a webhook configuration
Creates a webhook configuration for your shipper account.
POST
/ webhookConfigshttps:/ / sandbox.api.mothership.com/ betaReads your token from
$MOTHERSHIP_API_TOKENResponse
Hover a key to see what it means. Click it to jump to the field.
The SHA256 signature of each payload can be found in the X-Mothership-Signature header of the webhook POST request and verified using the secretKey available on the Create Webhook Config response body. See Validating webhook payloads for more information.
webhookUrl must be an https URL on a domain name, not an IP address or localhost.
Request body
application/json · requiredEvents that trigger a webhook.
billOfLading.createdbillOfLading.updatedproofOfDelivery.createdproofOfDelivery.updateddeliveryReceipt.createddeliveryReceipt.updatedcertificateOfInsurance.createdshipment.purchasedWhat each value means →
Events that trigger a webhook.
billOfLading.createdbillOfLading.updatedproofOfDelivery.createdproofOfDelivery.updateddeliveryReceipt.createddeliveryReceipt.updatedcertificateOfInsurance.createdshipment.purchasedWhat each value means →