Skip to content
Reading with an AI assistant?View as MarkdownOpen in ClaudeOpen in ChatGPT

API

Webhooks API reference

Updated

The Webhooks API reference covers 9 endpoints of the SkedCast social media REST API. Webhook endpoints and delivery logs.

Webhooks API reference: endpoints

Every endpoint below uses the same authentication, conventions and error codes. New to the API? Start with the quickstart or the developer docs.

Prefer a typed client? Call these endpoints through the TypeScript SDK or the MCP server, and receive changes as webhook events.

Other resources: Posts API reference, post targets reference, Clients, Accounts endpoints reference, Workspace API reference, approvals reference, Campaigns, Analytics endpoints reference, Reports API reference, media reference, Inbox endpoints reference.

List webhook endpoints

GET/webhooks

Requires the scope webhooks.read

Parameters
FieldDescription
cursorstringin queryKeyset cursor from a previous page.See pagination.
limitintegerin queryPage size (1–100).

Responses

200
A page of webhook endpoints.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X GET "https://api.skedcast.com/v1/webhooks" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": [
    {}
  ],
  "page": {
    "hasMore": true,
    "cursor": "string",
    "nextCursor": "string"
  },
  "meta": {
    "correlationId": "string"
  }
}

Create a webhook endpoint

POST/webhooks

Requires the scope webhooks.manage

Register an outbound webhook endpoint for HMAC-signed event deliveries. events is any subset of the 47-event catalog (see the top-level webhooks object of this document for every event and its payload). The signing secret is returned ONCE. Requires the webhooks.manage scope and an Idempotency-Key header.

Parameters
FieldDescription
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again.
Body
FieldDescription
urlstring (uri)Required
eventsarray of enum: post.scheduled | post.published | post.failed | post.partially_published | post.missed | post.canceled | …Required

Responses

201
The created endpoint (with its signing secret, shown once).
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/webhooks" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com",
  "events": [
    "post.scheduled"
  ]
}'

Response 201

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Get a webhook endpoint

GET/webhooks/{id}

Requires the scope webhooks.read

Parameters
FieldDescription
idstring (uuid)in pathRequired

Responses

200
The webhook endpoint.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X GET "https://api.skedcast.com/v1/webhooks/{id}" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Update a webhook endpoint

PATCH/webhooks/{id}

Requires the scope webhooks.manage

Update a webhook endpoint's URL, subscribed events, or active flag. Requires the webhooks.manage scope and an Idempotency-Key header.

Parameters
FieldDescription
idstring (uuid)in pathRequired
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again.
Body
FieldDescription
urlstring (uri)
eventsarray of string
activeboolean

Responses

200
The updated endpoint.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X PATCH "https://api.skedcast.com/v1/webhooks/{id}" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Delete a webhook endpoint

DELETE/webhooks/{id}

Requires the scope webhooks.delete

Delete a webhook endpoint. Its delivery history is deleted with it. Requires the webhooks.delete scope.

Parameters
FieldDescription
idstring (uuid)in pathRequired
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again.

Responses

200
The deleted endpoint.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X DELETE "https://api.skedcast.com/v1/webhooks/{id}" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Send a test delivery

POST/webhooks/{id}/test

Requires the scope webhooks.manage

Send a signed test event to the endpoint to verify connectivity + signature handling. Requires the webhooks.manage scope.

Parameters
FieldDescription
idstring (uuid)in pathRequired
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again.

Responses

202
The test delivery result.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/webhooks/{id}/test" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 202

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

Rotate the signing secret

POST/webhooks/{id}/rotate-secret

Requires the scope webhooks.manage

Create a new signing secret for the endpoint. The response carries the new secret in full and it is never shown again, so store it before you discard the response. The previous secret keeps working for 24 hours, so a receiver can redeploy without dropping events. During that window webhook-signature and X-SkedCast-Signature each carry one entry per valid secret, and a receiver is correct if ANY entry matches. Requires the webhooks.manage scope.

Parameters
FieldDescription
idstring (uuid)in pathRequired
Idempotency-Keystringin headerRequiredA unique key (for example a UUID, up to 255 characters) for this request.See idempotency and retries.
MoreRetry a 429, 502, 503 or 504, or a request that got no response, with the same Idempotency-Key: SkedCast runs it once or returns the first result. Every other answer, including a 500, is kept for 24 hours and returned again for that key, so send a new key to try again.

Responses

200
The endpoint, with the new secret in full.
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
409
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X POST "https://api.skedcast.com/v1/webhooks/{id}/rotate-secret" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 200

json
{
  "data": {},
  "meta": {
    "correlationId": "string"
  }
}

List webhook deliveries

GET/webhooks/{id}/deliveries

Requires the scope webhooks.read

Parameters
FieldDescription
idstring (uuid)in pathRequired
cursorstringin queryKeyset cursor from a previous page.See pagination.
limitintegerin queryPage size (1–100).

Responses

200
A page of delivery attempts (status, response code, timestamps).
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X GET "https://api.skedcast.com/v1/webhooks/{id}/deliveries" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": [
    {}
  ],
  "page": {
    "hasMore": true,
    "cursor": "string",
    "nextCursor": "string"
  },
  "meta": {
    "correlationId": "string"
  }
}

List the tries of a webhook delivery

GET/webhooks/{id}/deliveries/{deliveryId}/attempts

Requires the scope webhooks.read

Parameters
FieldDescription
idstring (uuid)in pathRequired
deliveryIdstring (uuid)in pathRequiredThe delivery id (from GET /webhooks/{id}/deliveries).
cursorstringin queryKeyset cursor from a previous page.See pagination.
limitintegerin queryPage size (1–100).

Responses

200
Every POST SkedCast made for one delivery, newest first: when (startedAt, durationMs), why it ran (trigger: schedule, retry, member_retry for a Resend), how it ended (outcome) and, when it did not succeed, errorCode: the delivery's failureReason (timeout, connection_failed, http_error, ...).
400
An RFC 9457 error (application/problem+json).
401
An RFC 9457 error (application/problem+json).
403
An RFC 9457 error (application/problem+json).
404
An RFC 9457 error (application/problem+json).
422
An RFC 9457 error (application/problem+json).
429
An RFC 9457 error (application/problem+json).
bash
curl -X GET "https://api.skedcast.com/v1/webhooks/{id}/deliveries/{deliveryId}/attempts" \
  -H "Authorization: Bearer $SKEDCAST_API_KEY"

Response 200

json
{
  "data": [
    {
      "id": "0196b0a0-0000-7000-8000-000000000001",
      "attemptNo": 1,
      "operation": "string",
      "trigger": "schedule",
      "startedAt": "2026-12-01T09:00:00Z",
      "finishedAt": "2026-12-01T09:00:00Z",
      "durationMs": 0,
      "outcome": "running",
      "errorCategory": "refresh-token",
      "errorCode": "string",
      "providerTraceId": "string"
    }
  ],
  "page": {
    "hasMore": true,
    "cursor": "string",
    "nextCursor": "string"
  },
  "meta": {
    "correlationId": "string"
  }
}