Skip to main content
GET
/
hook
/
webhook
List Registered Webhooks
curl --request GET \
  --url https://api.ayrshare.com/api/hook/webhook \
  --header 'Authorization: Bearer <token>'
{
    "batch": "https://mywebsite.com/hook",
    "batchUpdated": "2024-01-11T20:05:18Z",
    "feedUpdated": "2024-01-11T18:20:50Z",
    "refId": "1c72bd62e59807fdfdc5cc083",
    "scheduled": "https://mywebsite.com/hook",
    "scheduledUpdated": "2023-12-06T01:54:08Z",
    "social": "https://mywebsite.com/hook",
    "socialUpdated": "2023-10-26T03:20:46Z",
    "status": "success",
    "updated": "2024-01-11T18:20:51Z"
}

Header Parameters

Query Parameters

allWebhooks
boolean
default:false
Return all registered webhooks for every User Profile associated with your account, including the Primary Profile. You only need to provide the Primary Profile’s API Key in the request header.
{
    "batch": "https://mywebsite.com/hook",
    "batchUpdated": "2024-01-11T20:05:18Z",
    "feedUpdated": "2024-01-11T18:20:50Z",
    "refId": "1c72bd62e59807fdfdc5cc083",
    "scheduled": "https://mywebsite.com/hook",
    "scheduledUpdated": "2023-12-06T01:54:08Z",
    "social": "https://mywebsite.com/hook",
    "socialUpdated": "2023-10-26T03:20:46Z",
    "status": "success",
    "updated": "2024-01-11T18:20:51Z"
}