CopyHero

Resume Outbound Webhook

POST
/api/v1/webhooks/outbound/{endpoint_id}/resume

Re-enable a paused or auto-disabled target, optionally redelivering failures.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

endpoint_id*Endpoint Id
Match^[A-Za-z0-9_-]+$
Lengthlength <= 64

Request Body

application/json
  1. body
recover_missed?Recover Missed

Also redeliver messages that failed in the last 14 days.

Defaultfalse

Response Body

Successful Response

application/json
  1. response
id*Id
name*Name
url*Url
status*OutboundWebhookStatus
Value in"active""paused""disabled_after_failures"
filters*

A target's filter, ANDed; an empty list means all. store_ids and milestones apply to product.ordered only; a milestone is the N-th order of a product counted over all stores. Stored as the JSON string metadata["rules"] (format: go/cmd/webhooks/testdata/rules.json) and evaluated by the Go webhooks worker.

created_at*Created At
Formatdate-time
updated_at*Updated At
Formatdate-time
Example Request
curl -X POST 'https://app.copyhero.app/api/v1/webhooks/outbound/string/resume' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "name": "string",  "url": "string",  "status": "active",  "filters": {    "event_types": [      "workflow.completed"    ],    "store_ids": [      1    ],    "milestones": [      1    ]  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}