cURL
curl --request POST \ --url https://api.ayrshare.com/api/hook/webhook \ --header 'Content-Type: application/json' \ --data '{ "action": "<string>", "url": "<string>", "secret": "<string>" }'
{ "status": "success", "action": "scheduled", "url": "https://mysite.com/hook", "refId": "3dc079614bdc3f281d9" // User Profile Ref Id }
Register a new Webhook
Authorization: Bearer API_KEY
Profile-Key: PROFILE_KEY
feed
social
scheduled
batch
messages
accountActivity