x_api_create_webhooks_stream_link
Generate a webhook stream link for a given webhook ID to start receiving real-time X events.
Instructions
Create stream link. Use when: Create stream link. Do not use when: a more specific auth/configuration tool is required before the API call or you are only exploring; prefer x_schema_discovery or x_query_suggestion first. Risk: mutating, high-risk. Required permissions and prerequisites: bearer token Environment-selection behavior: scopeTenantId plus exactly one of scopeUserId or scopeAccountId choose the Vault/Postgres tenant principal used for auth resolution. credentialKey selects a non-default stored credential profile when present. Parameter formats and constraints: webhook_id (path, unknown, required); tweet.fields (query, string); expansions (query, string); media.fields (query, string); poll.fields (query, string); user.fields (query, string); place.fields (query, string). Expected response shape: { ok, status, data: { method, path, url, status, contentType, authType, data } } Common failure conditions: missing scoped credentials in Vault, missing required API parameters, X API auth failures, rate limits, or unsupported multipart/body shape. Recommended prerequisite and follow-up tools: x_connection_info, x_schema_discovery, x_auth_upsert_principal_credentials, x_api_request. Safety warnings: This mutates X state. Validate scope, payload, and authorizationKey before use. Example: {"name":"x_api_create_webhooks_stream_link","arguments":{"scopeTenantId":"default","scopeUserId":"default","webhook_id":""}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expansions | No | ||
| webhook_id | Yes | ||
| poll.fields | No | ||
| scopeUserId | No | ||
| user.fields | No | ||
| media.fields | No | ||
| place.fields | No | ||
| tweet.fields | No | ||
| credentialKey | No | ||
| scopeTenantId | No | ||
| scopeAccountId | No | ||
| authorizationKey | No | ||
| preferredAuthType | No |