Webhooks
Pause a project webhook subscription
POST
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
projectId*stringLength
1 <= lengthwebhookId*stringLength
1 <= length- body
reason?|nullResponse for status 200
application/json- response
webhook*curl -X POST 'https://postdot.example/api/projects/string/webhooks/string/pause' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
{
"webhook": {
"id": "string",
"projectId": "string",
"url": "string",
"events": [
"post.created"
],
"state": "active",
"pausedReason": "string",
"cursorSequence": 0,
"secretVersion": 1,
"previousSecretExpiresAt": 0,
"createdByActorId": "string",
"updatedByActorId": "string",
"createdAt": 0,
"updatedAt": 0
}
}