client.webhooks() (WebhooksClient).
Methods
create
POST /2/webhooks
Create Webhook
Creates a new webhook configuration.
Parameters
Returns:Schemas.CreateWebhooksResponse
createStreamLink
POST /2/tweets/search/webhooks/{webhook_id}
Create Stream Link
Creates a link to deliver FilteredStream events to the given webhook.
Parameters
Returns:Schemas.CreateWebhooksStreamLinkResponse
createWebhookReplayJob
POST /2/webhooks/replay
Create Replay Job for Webhook
Creates a replay job to retrieve events from up to the past 24 hours for all events delivered or attempted to be delivered to the webhook.
Parameters
Returns:Schemas.CreateWebhookReplayJobResponse
delete
DELETE /2/webhooks/{webhook_id}
Delete Webhook
Deletes an existing webhook configuration.
Parameters
Returns:Schemas.DeleteWebhooksResponse
deleteStreamLink
DELETE /2/tweets/search/webhooks/{webhook_id}
Delete Stream Link
Deletes the link delivering FilteredStream events to the given webhook.
Parameters
Returns:Schemas.DeleteWebhooksStreamLinkResponse
get
GET /2/webhooks
Get Webhook
Get a list of webhook configs associated with a client app.
Parameters
Returns:Schemas.GetWebhooksResponse
getStreamLinks
GET /2/tweets/search/webhooks
Get Stream Links
Get a list of webhook links associated with a filtered stream ruleset.
Schemas.GetWebhooksStreamLinksResponse
validate
PUT /2/webhooks/{webhook_id}
Validate Webhook
Triggers a CRC check for a given webhook.
Parameters
Returns:Schemas.ValidateWebhooksResponse