Inspect a webhook delivery with GET /api/v1/workspaces/{workspaceId}/webhook-endpoints/{endpointId}/deliveries/{deliveryId}. Requires a signed-in workspace owner, in the web app or the CLI; API keys are not accepted and MCP cannot call it.
Request
| Parameter | In | Type | Required |
|---|---|---|---|
workspaceId |
path | UUID | Yes |
endpointId |
path | UUID | Yes |
deliveryId |
path | UUID | Yes |
Response
- HTTP 200:
WebhookDeliverywithid,workspaceId,endpointId,eventId,eventType,status,attemptCount,createdAt,nextAttemptAt,lastAttemptAt,lastHttpStatus,lastError,completedAt.eventType:post.delivery.published,post.delivery.provider_draft,post.delivery.failed,post.delivery.unresolved,post.delivery.cancelled,post.scheduled,post.published,post.partial,post.failed,post.cancelled,inbox.message.received,inbox.comment.received,inbox.review.new,inbox.review.updated,inbox.review.deleted,inbox.review.restored,inbox.review.replied,inbox.mention.received,inbox.message.sent,inbox.message.delivered,inbox.message.read,inbox.message.edited,inbox.message.deleted,inbox.reaction.received,inbox.referral.received,inbox.conversation.started,analytics.post.synced,analytics.account.synced,ads.operation.succeeded,ads.operation.failed,ads.campaign.activated,ads.campaign.paused,ads.budget.changed,ads.kill_switch.activated,ads.lead.received,ads.campaign.status_changed,ads.ad_group.status_changed,ads.ad.status_changed,ads.ad_account.status_changed,ads.ad.review.approved,ads.ad.review.rejected,ads.sync.failed,ads.sync.recovered,ads.initial_sync.completed,schedule.assignment.changed,account.connected,account.disconnected,account.permissions_changed,account.restricted,account.recovered,billing.subscription.updated,billing.credit.topped_up,billing.credit.low,billing.spend_cap.reached,billing.invoice.payment_failed,billing.subscription.duplicate_refunded,webhook.teststatus:pending,sending,delivered,failed,cancelled
The OpenAPI document has each field’s type.
Examples
const delivery = await workspace.webhooks.getDelivery(endpointId, deliveryId);Create this client with a signed-in person’s accessToken, not an apiKey.
The Python SDK authenticates with a workspace API key, which this operation does not accept, so it has no method for it.
curl "https://pubnio.com/api/v1/workspaces/$WORKSPACE_ID/webhook-endpoints/$ENDPOINT_ID/deliveries/$DELIVERY_ID" \
-H "Authorization: Bearer $PUBNIO_TOKEN"pnio webhooks get-delivery "$ENDPOINT_ID" "$DELIVERY_ID"async () => {
const endpointId = "<endpointId>";
const deliveryId = "<deliveryId>";
const response = await codemode.request({
method: "GET",
path: `/api/v1/workspaces/${codemode.workspaceId}/webhook-endpoints/${endpointId}/deliveries/${deliveryId}`,
});
return response.data;
};Errors
It declares no problem of its own.
It declares the problems most operations declare.
Idempotency
None needed: a read is safe to retry.
Limits
- API keys and MCP cannot call it. A signed-in person runs it from the CLI after
pnio auth loginor in the web app.