Skip to main content
Access Webhooks endpoints via client.Webhooks (WebhooksClient).

Methods

CreateAsync

POST /2/webhooks Create Webhook Creates a new webhook configuration.

Parameters

CreateWebhooksRequest
required
Request payload.
Returns: Task<CreateWebhooksResponse>

CreateStreamLinkAsync

POST /2/tweets/search/webhooks/{webhook_id} Create Stream Link Creates a link to deliver FilteredStream events to the given webhook.

Parameters

string
required
webhook_id (path parameter).
Returns: Task<CreateWebhooksStreamLinkResponse>

CreateWebhookReplayJobAsync

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

CreateWebhookReplayJobRequest
required
Request payload.
Returns: Task<CreateWebhookReplayJobResponse>

DeleteAsync

DELETE /2/webhooks/{webhook_id} Delete Webhook Deletes an existing webhook configuration.

Parameters

string
required
webhook_id (path parameter).
Returns: Task<DeleteWebhooksResponse>

DeleteStreamLinkAsync

DELETE /2/tweets/search/webhooks/{webhook_id} Delete Stream Link Deletes the link delivering FilteredStream events to the given webhook.

Parameters

string
required
webhook_id (path parameter).
Returns: Task<DeleteWebhooksStreamLinkResponse>

GetAsync

GET /2/webhooks Get Webhook Get a list of webhook configs associated with a client app.

Parameters

Returns: Task<GetWebhooksResponse>

GetStreamLinksAsync

GET /2/tweets/search/webhooks Get Stream Links Get a list of webhook links associated with a filtered stream ruleset.
Returns: Task<GetWebhooksStreamLinksResponse>

ValidateAsync

PUT /2/webhooks/{webhook_id} Validate Webhook Triggers a CRC check for a given webhook.

Parameters

string
required
webhook_id (path parameter).
Returns: Task<ValidateWebhooksResponse>