webhooks

Register a Message Webhook

POST https://app.ayrshare.com/api/hook/webhook

Headers

Name
Type
Description

Authorization*

string

Format: Authorization: Bearer API_KEY. See Overview for more information. Please use the Primary API Key.

Request Body

Name
Type
Description

action*

string

Available actions: message

url*

string

The URL to be called on action. URL must be in a valid format and begin with https://

secret

string

Secret text used for HMAC. Please see herearrow-up-right.

{
    "status": "success",
    "action": "message",
    "url": "https://mysite.com/hook"
}

Actions

Message

Notification when a new message is sent, received, deleted, or a reaction. Messages are supported by Twitter, Instagram, and Facebook.

Enterprise Plan required.

Create Example:

Reaction Example:

Last updated