API referenceWebhooks
Update a webhook configuration
Updates the webhook configuration with the given webhookConfigId.
PUT
/ webhookConfigs/{webhookConfigId}https:/ / 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.
A change applies to events from then on. Deliveries already queued, and their retries, still go to the URL they were queued for.
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 →