Skip to main content
POST
/
api
/
webhooks
Register webhook
curl --request POST \
  --url https://api.mymarky.ai/api/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "org_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "secret": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mymarky.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

HTTPS URL to receive webhook events

events
string[]
required

Events to subscribe to

Allowed value: "post.published"

Response

Successful Response

id
string
required
url
string
required
events
string[]
required
org_id
string
required
created_at
string<date-time>
required
secret
string | null

Signing secret (only shown on creation)