Getting started with Pipe17 Webhooks

Use the Pipe17 API to register a webhook, so Pipe17 calls your endpoint whenever a record you care about, such as an order, is created, updated, or deleted. Your endpoint then reads the record's details from the Pipe17 API.


Before you start

You need:

  • An API key with the Webhooks permission (Create) to register the webhook. The Developer template includes it.
  • A second API key with permission to read (and, if needed, update) the records your webhook will receive.
  • A publicly reachable endpoint that accepts POST requests with a JSON body. We recommend HTTPS.

We recommend two separate keys for security, but one key with both sets of permissions also works. To create keys, see API Keys.


Register a webhook

The example below uses curl, but you can use any tool or programming language.

curl -s -X POST https://api-v3.pipe17.com/api/v3/webhooks \
  -H "Content-Type: application/json" \
  -H "X-Pipe17-Key: YOUR_WEBHOOK_ADMIN_API_KEY" \
  --data '{
    "url": "https://mywebhook.mydomain.com",
    "apikey": "YOUR_ENDPOINT_SECRET",
    "topics": ["orders", "fulfillments", "products", "inventory"]
  }'
  • X-Pipe17-Key: the API key that can create webhooks.
  • url: your endpoint. Each URL can be registered only once per organization.
  • apikey: a secret of your choice. Pipe17 sends it in the x-api-key header on every call, so your endpoint can check that the call comes from Pipe17. Use visible ASCII characters and spaces only.
  • topics: the record types you want to hear about.

Available topics: arrivals, exceptions, fulfillments, integrations, integration_actions, inventory, labels, locations, orders, products, purchases, receipts, refunds, returns, shipments, suppliers, trackings, transfers.

A successful registration returns HTTP 201:

{
  "success": true,
  "code": 201,
  "message": "Created",
  "webhook": {
    "webhookId": "WEBHOOK_ID",
    "url": "https://mywebhook.mydomain.com",
    "topics": ["orders", "fulfillments", "products", "inventory"],
    "status": "active",
    "orgKey": "YOUR_ORG_KEY"
  }
}

Keep the webhookId. You need it to view, update, or delete the webhook. The response doesn't include your apikey.


What Pipe17 sends to your endpoint

When a record of a type in topics is created, updated, or deleted in your organization, Pipe17 sends a POST request like this:

curl -s -X POST https://mywebhook.mydomain.com \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_ENDPOINT_SECRET" \
  --data '{
    "orgKey": "YOUR_ORG_KEY",
    "entity": "orders",
    "action": "create",
    "itemId": "ORDER_ID",
    "timestamp": "2026-01-15T14:18:31Z",
    "eventId": "EVENT_ID"
  }'
  • orgKey: the organization the record belongs to.
  • entity: the record type, one of your topics.
  • action: what happened, usually create, update, or delete.
  • itemId: the Pipe17 ID of the record.
  • timestamp: when the record changed.
  • eventId: a unique ID for this call.
  • integration: included when the change is tied to an integration.
  • For inventory, the body can also include sku, locationId, and inBundle.

The call only tells you that something changed. To get the details, your endpoint calls the Pipe17 API with the second API key. For the example above:

curl -s -X GET https://api-v3.pipe17.com/api/v3/orders/ORDER_ID \
  -H "Content-Type: application/json" \
  -H "X-Pipe17-Key: YOUR_READ_API_KEY"

Delivery and retries

  • Pipe17 sends calls about 10 seconds after a change. If the same record changes several times within that window, you may get a single call.
  • Return a 2xx status to confirm you received the call.
  • If your endpoint doesn't respond within 15 seconds, Pipe17 tries again, up to 3 attempts in total, about 2 minutes apart.
  • Any other failure, such as an error status or a refused connection, isn't retried.
  • Pipe17 records each call as an event, including calls that failed.

Manage your webhooks

  • List webhooks: GET https://api-v3.pipe17.com/api/v3/webhooks
  • View a webhook: GET https://api-v3.pipe17.com/api/v3/webhooks/WEBHOOK_ID
  • Change the URL, secret, or topics: PUT https://api-v3.pipe17.com/api/v3/webhooks/WEBHOOK_ID
  • Delete a webhook: DELETE https://api-v3.pipe17.com/api/v3/webhooks/WEBHOOK_ID

For webhooks in a custom integration, see Chapter 6: Webhooks.


Need Help?

If you need additional assistance:

  • Use Ask Pippen, our AI agent, located at the top of the platform page.
  • Submit a support request with as much relevant detail as possible. Learn how to submit a request.

We're here to help you succeed with your operations.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.

Have more questions?
Submit a request
Share it, if you like it.