pfm_create_webhook
Create a webhook to receive social media post and account event notifications. Returns a secret for verifying incoming requests via the 'Post-For-Me-Webhook-Secret' header.
Instructions
Create a webhook to receive event notifications. Returns a secret in the response — store it to verify incoming requests via the 'Post-For-Me-Webhook-Secret' header. Available events: social.post.created, social.post.updated, social.post.deleted, social.post.result.created, social.account.created, social.account.updated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"event_types": "<event_types>"
},
"name": "pfm_create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Publicly accessible URL to receive POST event payloads | |
| event_types | Yes | Events to subscribe to: social.post.created, social.post.updated, social.post.deleted, social.post.result.created, social.account.created, social.account.updated |