{"openapi":"3.0.0","info":{"description":"X API v2 core endpoints\n\nsimple-x-api is an x402 paid proxy for the X API v2. Use the same schemas as X API v2 with simple-x-api paths prefixed by /api. Do not send X API credentials; simple-x-api supplies upstream authentication and settles successful requests at X's public non-owned per-resource/per-action price, capped at $10.00.","version":"2.175","title":"simple-x-api","termsOfService":"https://developer.x.com/en/developer-terms/agreement-and-policy.html","contact":{"name":"X Developers","url":"https://developer.x.com/"},"license":{"name":"X Developer Agreement and Policy","url":"https://developer.x.com/en/developer-terms/agreement-and-policy.html"},"x-upstream-title":"X API v2","x-upstream-version":"2.175"},"paths":{"/api/2/account":{"get":{"tags":["Account"],"summary":"Get Developer Account","description":"Returns the X Developer Platform account that is billed for the authenticated user's API access. A user with no such account gets a resource-not-found error entry.","operationId":"getDeveloperAccount","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDeveloperAccountResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Account"],"summary":"Ensure Developer Account","description":"Creates an X Developer Platform account for the authenticated user if they do not already have one, and returns it. Idempotent: when the user already has an account it is returned unchanged with `created` false.","operationId":"ensureAccount","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnsureAccountRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnsureAccountResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/account_activity/subscriptions/count":{"get":{"tags":["Account Activity"],"summary":"Get Subscription Count","description":"Retrieves a count of currently active Account Activity subscriptions.","operationId":"getAccountActivitySubscriptionCount","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAccountActivitySubscriptionCountResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/account_activity/webhooks/{webhook_id}/subscriptions/all":{"get":{"tags":["Account Activity"],"summary":"Validate Subscription","description":"Checks a user's Account Activity subscription for a given webhook.","operationId":"validateAccountActivitySubscription","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/WebhookConfigId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateAccountActivitySubscriptionResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Account Activity"],"summary":"Create Subscription","description":"Creates an Account Activity subscription for the user and the given webhook.","externalDocs":{"url":"https://docs.x.com/x-api/account-activity/introduction"},"operationId":"createAccountActivitySubscription","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/WebhookConfigId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountActivitySubscriptionRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountActivitySubscriptionResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/account_activity/webhooks/{webhook_id}/subscriptions/all/list":{"get":{"tags":["Account Activity"],"summary":"Get Subscriptions","description":"Retrieves a list of all active subscriptions for a given webhook.","operationId":"getAccountActivitySubscriptions","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/WebhookConfigId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAccountActivitySubscriptionsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/account_activity/webhooks/{webhook_id}/subscriptions/{user_id}/all":{"delete":{"tags":["Account Activity"],"summary":"Delete Subscription","description":"Deletes an Account Activity subscription for the given webhook and user ID.","externalDocs":{"url":"https://docs.x.com/x-api/account-activity/introduction"},"operationId":"deleteAccountActivitySubscription","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/WebhookConfigId"},"style":"simple"},{"name":"user_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountActivitySubscriptionResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/activity/stream":{"get":{"tags":["Stream"],"summary":"Activity Stream","description":"Stream of X Activities","externalDocs":{"url":"https://docs.x.com/x-api/activity/activity-stream"},"operationId":"activityStream","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the activities will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the activities will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityStreamResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/activity/subscriptions":{"delete":{"tags":["Activity"],"summary":"Delete X Activity Subscriptions by IDs","description":"Deletes multiple subscriptions for X activity events by their IDs","externalDocs":{"url":"https://docs.x.com/x-api/activity/delete-x-activity-subscriptions-by-ids"},"operationId":"deleteActivitySubscriptionsByIds","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"explode":false,"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteActivitySubscriptionsByIdsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Activity"],"summary":"Get X Activity Subscriptions","description":"Get a list of active subscriptions for XAA. Optional user_id narrows the list to subscriptions whose filter.user_id matches; with a user-context token it must identify the authenticated user.","externalDocs":{"url":"https://docs.x.com/x-api/activity/get-x-activity-subscriptions"},"operationId":"getActivitySubscriptions","parameters":[{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32","default":1000},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token that decodes to 9 bytes.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"name":"user_id","in":"query","description":"Only return subscriptions whose filter.user_id matches.","required":false,"schema":{"$ref":"#/components/schemas/UserId"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetActivitySubscriptionsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Activity"],"summary":"Create X Activity Subscription","description":"Creates a subscription for an X activity event. OAuth2 user-context tokens must hold the scope matching the requested event_type: dm.read for chat.* and dm.* events, like.read for like.* events, mute.read for mute.* events, block.read for block.* events, follows.read for subscriptions.* events, and tweet.read for all other event types. Mute and block subscriptions are actor-only: filter.user_id must identify the authenticated user and direction is not supported. subscriptions.* events require a user-context token and filter.user_id must identify the authenticated user. Optional filter.qualifiers further narrow supported chat, follow, unfollow, like, and subscriptions events.","externalDocs":{"url":"https://docs.x.com/x-api/activity/create-x-activity-subscription"},"operationId":"createActivitySubscription","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateActivitySubscriptionRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateActivitySubscriptionResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/activity/subscriptions/{subscription_id}":{"delete":{"tags":["Activity"],"summary":"Delete X Activity Subscription","description":"Deletes a subscription for an X activity event","externalDocs":{"url":"https://docs.x.com/x-api/activity/deletes-x-activity-subscription"},"operationId":"deleteActivitySubscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteActivitySubscriptionResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Activity"],"summary":"Update X Activity Subscription","description":"Updates a subscription for an X activity event","externalDocs":{"url":"https://docs.x.com/x-api/activity/update-x-activity-subscription"},"operationId":"updateActivitySubscription","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateActivitySubscriptionRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateActivitySubscriptionResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/articles/draft":{"post":{"tags":["Articles"],"summary":"Create Draft Article","description":"Creates a new Article draft that can later be published.","operationId":"articleCreateDraft","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleCreateDraftRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleCreateDraftResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/articles/{article_id}/publish":{"post":{"tags":["Articles"],"summary":"Publish Article","description":"Publishes a draft Article, making it publicly visible.","operationId":"articlePublish","parameters":[{"name":"article_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticlePublishResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/bots":{"get":{"tags":["Bots"],"summary":"Get Bots","description":"Retrieves the bot accounts in the calling app's project. meta.max_bots is the most bots the project can have.","operationId":"getBots","parameters":[{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBotsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Bots"],"summary":"Create a Bot","description":"Creates a bot account in the calling app's project and returns its bearer token. Idempotent on handle: repeating the request for a handle that already names one of the project's bots returns that bot with a freshly minted token, revoking the previous one — safe to retry when a response was lost, since the replaced token was never seen. With an OAuth 2.0 user token, the user must be an admin of the project's developer account. On API Connect, where the request bills the user's own account, the bot is created in the user's project instead; its token is still minted for the calling app.","operationId":"createBot","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBotRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBotResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/bots/{id}":{"delete":{"tags":["Bots"],"summary":"Delete Bot","description":"Deletes a bot account from the calling app's project. With an OAuth 2.0 user token, the user must be an admin of the project's developer account. On API Connect, where the request bills the user's own account, the bot is deleted from the user's project instead.","operationId":"deleteBot","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteBotResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Bots"],"summary":"Update Bot","description":"Updates a bot's handle, display name, or who may send it Direct Messages.","operationId":"updateBot","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBotRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBotResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/bots/{id}/token":{"delete":{"tags":["Bots"],"summary":"Revoke Bot Token","description":"Revokes a bot's bearer token. The bot account is kept, and rotating its token mints a new one.","operationId":"revokeBotToken","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeBotTokenResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Bots"],"summary":"Rotate Bot Token","description":"Mints a new bearer token for a bot and invalidates every token previously issued for it. The new token is returned only once.","operationId":"rotateBotToken","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotateBotTokenRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotateBotTokenResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts":{"get":{"tags":["Broadcasts"],"summary":"List Broadcasts","description":"Returns the authenticated user's live-video broadcasts, or selected owned broadcasts when ids are provided.\n\nAt most one of `ids`, `max_results` may be provided. At most one of `ids`, `pagination_token` may be provided.","operationId":"listBroadcasts","parameters":[{"name":"ids","in":"query","description":"Comma-separated broadcast IDs to retrieve instead of listing broadcasts.","required":false,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"}},"explode":false,"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/BroadcastFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListBroadcastsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Broadcasts"],"summary":"Go Live on a Source","description":"Takes one or more of the authenticated user's sources live and returns 201 with the new broadcast. Several sources (`source_id` plus `additional_source_ids`, one per video format) go live together as one broadcast; they must all be RTMP sources in one region, and when one of them is already live its broadcast is returned only if it holds every listed source. The broadcast goes live immediately (state `RUNNING`), even before the encoder sends video, and is ended (`TIMED_OUT`) if no video arrives within 5 minutes. It is announced in a Post unless `should_not_tweet` is true. When the source already has a live broadcast, returns 200 with that broadcast unchanged and ignores the request's `title`, `locale`, `chat_option` and `should_not_tweet`. A missing `tweet_id` means the Post hasn't been created yet, was suppressed with `should_not_tweet`, or could not be created; read it later with GET /2/broadcasts/:id. A 409 `conflict` means the source can't go live right now: either it can't take video before the encoder connects (external HLS sources, or regions where this isn't available), so retry once video is flowing, or another broadcast is live on it, so END that broadcast first. The `detail` says which, and names the live broadcast when known.","operationId":"createBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBroadcastRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/categories":{"get":{"tags":["Broadcasts"],"summary":"List Live Categories","description":"Returns the live categories a host can pick when going live, in display order. Pass a category's `id` as `live_category_id` on POST /2/broadcasts. Ids are permanent; names can change, so store the id and show the current name. The whole list is returned in one response, without paging.","operationId":"listLiveCategories","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListLiveCategoriesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/chat/moderators":{"get":{"tags":["Broadcasts"],"summary":"Get Chat Moderators","description":"Returns the authenticated broadcaster's persistent moderators as User resources. The list applies to all of their current and future broadcast chats.","operationId":"getChatModerators","parameters":[{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatModeratorsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Broadcasts"],"summary":"Add a Chat Moderator","description":"Adds a moderator to the authenticated broadcaster's persistent list and returns the updated moderator user IDs. The list applies to all current and future broadcast chats.","operationId":"addChatModerator","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddChatModeratorRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddChatModeratorResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/chat/moderators/{user_id}":{"delete":{"tags":["Broadcasts"],"summary":"Remove a Chat Moderator","description":"Removes a moderator from the authenticated broadcaster's persistent list and returns the updated moderator user IDs.","operationId":"removeChatModerator","parameters":[{"name":"user_id","in":"path","description":"A 64-bit signed integer.","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,18}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveChatModeratorResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/chat/mutes":{"get":{"tags":["Broadcasts"],"summary":"Get Muted Chat Users","description":"Returns the users muted in the authenticated broadcaster's chat, with the expiry time of timed mutes. Mutes apply to all of their broadcasts. Expired timed mutes are omitted. Use `expansions=user_id` to include the muted users.","operationId":"getChatMutedUsers","parameters":[{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/BroadcastChatMuteFieldsParameter"},{"$ref":"#/components/parameters/BroadcastChatMuteExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatMutedUsersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Broadcasts"],"summary":"Mute or Time Out a User in Chat","description":"Prevents a user from posting messages in all of a broadcaster's chats. Without `broadcast_id`, the user is muted in the authenticated user's own chats. Moderators pass `broadcast_id` to mute the user in that broadcast host's chats. When `end_at_ms` is provided, the mute expires at that time.","operationId":"muteChatUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteChatUserRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteChatUserResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/chat/mutes/{user_id}":{"delete":{"tags":["Broadcasts"],"summary":"Unmute a User in Chat","description":"Allows a muted user to post messages in a broadcaster's chats again. Without `broadcast_id`, the user is unmuted in the authenticated user's own chats. Moderators pass `broadcast_id` to unmute the user in that broadcast host's chats.","operationId":"unmuteChatUser","parameters":[{"name":"user_id","in":"path","description":"A 64-bit signed integer.","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,18}$"},"style":"simple"},{"name":"broadcast_id","in":"query","description":"A broadcast whose host's chats the user is unmuted in.","required":false,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnmuteChatUserResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/scheduled":{"get":{"tags":["Broadcasts"],"summary":"List Scheduled Broadcasts","description":"Returns scheduled broadcasts owned by the authenticated user.","operationId":"listScheduledBroadcasts","parameters":[{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32"},"style":"form"},{"name":"oldest_start_time","in":"query","required":false,"schema":{"type":"string"},"style":"form"},{"name":"newest_start_time","in":"query","required":false,"schema":{"type":"string"},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListScheduledBroadcastsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Broadcasts"],"summary":"Create a Scheduled Broadcast","description":"Schedules a broadcast for the authenticated user on one of their sources: `source_id` is required. Passing a stream key as `source_id` is deprecated and stops working when the /2/users/:id/sources and /2/users/:id/broadcasts routes reach end of life on January 1, 2027; pass the source's `id` from GET /2/sources instead.","operationId":"createScheduledBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateScheduledBroadcastRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateScheduledBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/scheduled/{id}":{"delete":{"tags":["Broadcasts"],"summary":"Delete a Scheduled Broadcast","description":"Deletes a scheduled broadcast by its alphanumeric broadcast id.","operationId":"deleteScheduledBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"},{"name":"roll_forward","in":"query","description":"Deprecated: recurring schedules are being retired and `true` will be rejected.","required":false,"schema":{"type":"boolean"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteScheduledBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Broadcasts"],"summary":"Get a Scheduled Broadcast","description":"Returns a single scheduled broadcast by its alphanumeric broadcast id.","operationId":"getScheduledBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetScheduledBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Broadcasts"],"summary":"Update a Scheduled Broadcast","description":"Updates a scheduled broadcast. Path `:id` is the broadcast id; the body must include `scheduled_broadcast_id`. Re-send every field that should be kept. Passing a stream key as `source_id` is deprecated and stops working when the /2/users/:id/sources and /2/users/:id/broadcasts routes reach end of life on January 1, 2027; pass the source's `id` from GET /2/sources instead.","operationId":"updateScheduledBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateScheduledBroadcastRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateScheduledBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/scheduled/{id}/live":{"post":{"tags":["Broadcasts"],"summary":"Go Live on a Scheduled Broadcast","description":"Publishes a schedule that was created or updated with `manual_publish: true`. Without that flag the coordinator auto-publishes at start and this call is rejected.","operationId":"goLiveScheduledBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoLiveScheduledBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/{id}":{"delete":{"tags":["Broadcasts"],"summary":"Delete a Broadcast","description":"Deletes one of the authenticated user's broadcasts, scheduled or ended, including its replay. A running broadcast must be ended first.","operationId":"deleteBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Broadcasts"],"summary":"Get a Broadcast","description":"Returns a broadcast owned by the authenticated user.","operationId":"getBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"},{"$ref":"#/components/parameters/BroadcastFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/{id}/chat":{"get":{"tags":["Broadcasts"],"summary":"Get Broadcast Chat History","description":"Returns newest-first chat messages for a broadcast owned by the authenticated user.","operationId":"getBroadcastChat","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A 64-bit signed integer.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/BroadcastChatMessageFieldsParameter"},{"$ref":"#/components/parameters/BroadcastChatMessageExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBroadcastChatResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Broadcasts"],"summary":"Send a Chat Message to a Live Broadcast","description":"Posts a chat message to a running broadcast, attributed to the authenticated user.","operationId":"sendBroadcastChat","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendBroadcastChatRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendBroadcastChatResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/{id}/chat/mutes":{"post":{"tags":["Broadcasts"],"summary":"Mute or Time Out a User in a Broadcast Chat","description":"Prevents a user from posting further messages in a running broadcast chat. When `end_at_ms` is provided, the mute expires at that time. The authenticated user must be the broadcast host or a moderator.","operationId":"muteBroadcastChatUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteBroadcastChatUserRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteBroadcastChatUserResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/{id}/chat/mutes/{user_id}":{"delete":{"tags":["Broadcasts"],"summary":"Unmute a User in a Broadcast Chat","description":"Allows a muted user to post messages in a running broadcast chat again. The authenticated user must be the broadcast host or a moderator.","operationId":"unmuteBroadcastChatUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"},{"name":"user_id","in":"path","description":"A 64-bit signed integer.","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,18}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnmuteBroadcastChatUserResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/{id}/chat/{message_id}":{"delete":{"tags":["Broadcasts"],"summary":"Remove a Chat Message from a Live Broadcast","description":"Removes a specific chat message from a running broadcast where the authenticated user is the host or a moderator.","operationId":"deleteBroadcastChatMessage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteBroadcastChatMessageResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/broadcasts/{id}/state":{"put":{"tags":["Broadcasts"],"summary":"End a Broadcast","description":"Ends one of the authenticated user's broadcasts. Only `state: END` is supported.","operationId":"updateBroadcastState","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastStateRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastStateResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/calls":{"post":{"tags":["Calls"],"summary":"Create a Call","description":"Starts an X call hosted by the authenticated user (typically a bot). Pass an XChat conversation_id to start the call in that conversation, or omit it for a standalone call anyone can join with the returned join_url (subject to join_policy). The call starts empty: put an agent in it with POST /2/calls/:id/join. When the host joins a conversation call, the other members are rung.","operationId":"createCall","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCallRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/calls/scheduled":{"get":{"tags":["Calls"],"summary":"List Scheduled Calls","description":"Returns the X calls on the authenticated user's calendar, earliest first: events on their X Calls calendar, and events on the Microsoft Outlook calendars they linked to X whose conference is an X call. Calls still running at start_time are included. The window defaults to the next 24 hours and may span at most 7 days. Use scheduled_call.fields to select which fields are returned.\n\nWhen both are provided, `start_time` must be earlier than `end_time`.","operationId":"listScheduledCalls","parameters":[{"name":"start_time","in":"query","description":"Calls still running at this time or starting after it (RFC 3339). Defaults to now.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"Calls starting before this time (RFC 3339). Defaults to 24 hours after start_time.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"max_results","in":"query","description":"The most calls to return. Defaults to 20.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32"},"style":"form"},{"$ref":"#/components/parameters/ScheduledCallFieldsParameter"},{"$ref":"#/components/parameters/ScheduledCallExpansionsParameter"},{"$ref":"#/components/parameters/CallFieldsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListScheduledCallsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Calls"],"summary":"Schedule a Call","description":"Puts an X call on the authenticated user's X Calls calendar, with them as its organizer, and invites people to it. The call exists right away: share its join_url, or put an agent in it at start time with POST /2/calls/:id/join. A recurrence (an RFC 5545 RRULE) repeats it. Invitees get an email unless notify_invitees is false.","operationId":"scheduleCall","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleCallRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/calls/scheduled/{id}":{"delete":{"tags":["Calls"],"summary":"Cancel a Scheduled Call","description":"Cancels a scheduled call the authenticated user organizes, and takes it off invitees' calendars. For a recurring call, scope and occurrence_start_time pick the occurrences: all of them (the default), one, or one and every one after it. Cancelling what is already cancelled succeeds.","operationId":"cancelScheduledCall","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"name":"scope","in":"query","description":"Which occurrences: all (the default without occurrence_start_time), this (the default with it), or this_and_following.","required":false,"schema":{"type":"string","enum":["all","this","this_and_following"]},"style":"form"},{"name":"occurrence_start_time","in":"query","description":"Start of the occurrence that scope this or this_and_following refers to (RFC 3339).","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"notify_invitees","in":"query","description":"Whether invitees get an email about it. Defaults to true.","required":false,"schema":{"type":"boolean"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelScheduledCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Calls"],"summary":"Get a Scheduled Call","description":"Returns a scheduled call the authenticated user organizes or is invited to, at its occurrence running now or its next one within a year: its time, call, recurrence and who is invited and how they answered. Changes can take a few seconds to show here. Use scheduled_call.fields to select which fields are returned.","operationId":"getScheduledCall","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"$ref":"#/components/parameters/ScheduledCallFieldsParameter"},{"$ref":"#/components/parameters/ScheduledCallExpansionsParameter"},{"$ref":"#/components/parameters/CallFieldsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetScheduledCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Calls"],"summary":"Update a Scheduled Call","description":"Moves, renames or re-invites a scheduled call the authenticated user organizes. Only the fields sent change. For a recurring call, scope and occurrence_start_time pick the occurrences: all of them (the default), one, or one and every one after it.","operationId":"updateScheduledCall","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateScheduledCallRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateScheduledCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/calls/scheduled/{id}/rsvp":{"post":{"tags":["Calls"],"summary":"Respond to a Scheduled Call","description":"Accepts, declines or tentatively accepts an invitation to a scheduled call for the authenticated user. For a recurring call, scope and occurrence_start_time pick the occurrences the answer is for: all of them (the default), one, or one and every one after it.","operationId":"respondToScheduledCall","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RespondToScheduledCallRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RespondToScheduledCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/calls/{id}":{"get":{"tags":["Calls"],"summary":"Get a Call","description":"Returns a call's title, join policy, host and participant count, and whether the authenticated user may join it without asking the host.","operationId":"getCall","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"style":"simple"},{"$ref":"#/components/parameters/CallFieldsParameter"},{"$ref":"#/components/parameters/CallExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/calls/{id}/join":{"post":{"tags":["Calls"],"summary":"Join a Call","description":"Starts a media session that takes part in the call as the authenticated user. The response carries a media_url and a short-lived media_token: open a WebSocket to media_url with the token as a Bearer credential to exchange PCM16 audio and events with the call; the user enters the call when the WebSocket connects. On a closed or trusted call the session asks the host first (admission: requires_approval).","operationId":"joinCall","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinCallRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/calls/{id}/leave":{"post":{"tags":["Calls"],"summary":"Leave a Call","description":"Ends the authenticated user's media session in the call (its WebSocket receives session.ended with reason left) and removes the user from the call.","operationId":"leaveCall","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveCallResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations":{"get":{"tags":["Chat"],"summary":"Get Chat Conversations","description":"Retrieves a list of Chat conversations for the authenticated user's inbox, newest first: the most recently active conversation comes first. To find the chat with a particular person, start with participant_query set to their @username or name; with expansions=participant_ids, user.fields=receives_your_chat says how you can message each match. The unread, last_read_event_id and newest_event_id fields give your read state, computed from your latest read receipt and each conversation's latest notifying message. Request them with chat_conversation.fields=unread,last_read_event_id,newest_event_id.\n\nThe filters unread_only, type, is_archived, is_muted, participant_ids, participant_query, start_time and end_time are optional, and all filters must match (AND). participant_query keeps conversations where another participant's username, or a word of their display name, starts with the query, ignoring case and accents; with a leading @ it matches usernames only. It considers the 100 people who best match the query, uses only public profile information, and never matches group names, nicknames or messages. start_time and end_time apply to the time of each conversation's latest message.\n\nEach page covers max_results conversations and returns those that match, so a page can hold fewer than max_results, or none, while meta.next_token is set and has_more is true: keep paging, passing meta.next_token as pagination_token. Once a page reaches a conversation whose latest message is older than start_time, has_more is false. A pagination_token only works with the same filters as the request that returned it; with other filters, the request fails with a 400.\n\nWhen both are provided, `start_time` must be earlier than `end_time`.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatConversations","parameters":[{"name":"max_results","in":"query","description":"Conversations covered per page (1-1000, default 200). Filtered pages can return fewer.","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32","default":200},"style":"form"},{"name":"pagination_token","in":"query","description":"meta.next_token from the previous page. Send the same filters with it, or the request fails.","required":false,"schema":{"type":"string"},"style":"form"},{"name":"unread_only","in":"query","description":"Return only unread conversations. A page can be short; keep paging while has_more.","required":false,"schema":{"type":"boolean","default":false},"style":"form"},{"name":"type","in":"query","description":"Only direct (1:1) or only group conversations. Omit for both.","required":false,"schema":{"type":"string","enum":["direct","group"]},"style":"form"},{"name":"is_archived","in":"query","description":"true: only archived; false: only not archived. Omit for both.","required":false,"schema":{"type":"boolean"},"style":"form"},{"name":"is_muted","in":"query","description":"true: only muted; false: only not muted. Omit for both.","required":false,"schema":{"type":"boolean"},"style":"form"},{"name":"participant_ids","in":"query","description":"Comma-separated numeric user IDs (1-10), all in the chat. Names or @handles: use participant_query.","required":false,"schema":{"type":"array","minItems":1,"maxItems":10,"uniqueItems":true,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"explode":false,"style":"form"},{"name":"participant_query","in":"query","description":"Start here to find someone's chat: their @username or a word of their name (1-50 chars).","required":false,"schema":{"type":"string","minLength":1,"maxLength":50},"style":"form"},{"name":"start_time","in":"query","description":"ISO 8601, e.g. 2026-10-16T00:00:00Z. Chats whose latest message is at or after this time.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"ISO 8601, e.g. 2026-10-17T00:00:00Z. Chats whose latest message is before this time.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"$ref":"#/components/parameters/ChatConversationFieldsParameter"},{"$ref":"#/components/parameters/ChatConversationExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatConversationsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/group":{"post":{"tags":["Chat"],"summary":"Create Chat Group Conversation","description":"Creates a new encrypted Chat group conversation on behalf of the authenticated user.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"createChatConversation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChatConversationRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChatConversationResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/group/initialize":{"post":{"tags":["Chat"],"summary":"Initialize Chat Group","description":"Initializes a new Chat group conversation and returns a unique conversation ID. Use the returned conversation_id in a subsequent POST /chat/conversations/group call to fully create and configure the group.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"initializeChatGroup","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitializeChatGroupResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}":{"delete":{"tags":["Chat"],"summary":"Delete a Chat Conversation","description":"Deletes a Chat conversation for the authenticated user only; other participants keep it. Works for group and 1:1 conversations. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient. Deleting a pending message request's conversation deletes the request, like Delete in the X app.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"deleteChatConversation","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteChatConversationRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteChatConversationResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Chat"],"summary":"Get Chat Conversation","description":"Returns metadata for a Chat conversation including type, muted status, group details, and your unread state. For the unread state, request chat_conversation.fields=unread,last_read_event_id,newest_event_id: those fields give your read state, computed from your latest read receipt and the conversation's latest notifying message. Use chat_conversation.fields to select which fields are returned. Use expansions to hydrate member, admin, or participant user objects. Use user.fields to control which profile fields are returned for expanded users; in a 1:1 chat, user.fields=receives_your_chat on the participant says how you can message them: encrypted, unencrypted, or none.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatConversation","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"},{"$ref":"#/components/parameters/ChatConversationFieldsParameter"},{"$ref":"#/components/parameters/ChatConversationExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatConversationResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Chat"],"summary":"Update a Chat Group Conversation","description":"Renames an encrypted Chat group conversation, changes its avatar, or sets its description. The client encrypts each value with the conversation key and lists the values it changed in modified_fields.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"updateChatGroup","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatGroupRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatGroupResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/admin_requests":{"get":{"tags":["Chat"],"summary":"Get Pending Admin Requests for a Chat Group Conversation","description":"Returns the users who have asked to become admins of an encrypted Chat group conversation. Only a group admin can list admin requests. Use user.fields to select which profile fields are returned.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatGroupAdminRequests","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"},{"name":"pagination_token","in":"query","description":"The next_token from a previous response, to fetch the next page.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatGroupAdminRequestsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Chat"],"summary":"Request Admin Permissions in a Chat Group Conversation","description":"Asks the admins of an encrypted Chat group conversation to make the authenticated user an admin. An admin approves or rejects the request.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"createChatGroupAdminRequest","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChatGroupAdminRequestRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChatGroupAdminRequestResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/admin_requests/{user_id}/approve":{"post":{"tags":["Chat"],"summary":"Approve an Admin Request in a Chat Group Conversation","description":"Makes the user who requested admin permissions an admin of an encrypted Chat group conversation. Only a group admin can approve.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"approveChatGroupAdminRequest","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"},{"name":"user_id","in":"path","description":"The ID of the user who requested admin permissions.","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveChatGroupAdminRequestRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveChatGroupAdminRequestResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/admin_requests/{user_id}/reject":{"post":{"tags":["Chat"],"summary":"Reject an Admin Request in a Chat Group Conversation","description":"Declines a user's pending request for admin permissions in an encrypted Chat group conversation. Only a group admin can reject.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"rejectChatGroupAdminRequest","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"},{"name":"user_id","in":"path","description":"The ID of the user who requested admin permissions.","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectChatGroupAdminRequestRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectChatGroupAdminRequestResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/admin_settings":{"put":{"tags":["Chat"],"summary":"Update the Admin-Only Settings of a Chat Group Conversation","description":"Sets which actions only admins can perform in an existing encrypted Chat group conversation. A setting set to true restricts that action to admins, and false opens it to all members. Setting `send_message` to true makes the group announcement-only. Omitted settings keep their stored value. When sending `action_signatures`, sign over the full merged settings: the stored values with this request's changes applied, not only the settings in the request.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"updateChatGroupAdminSettings","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatGroupAdminSettingsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatGroupAdminSettingsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/admins":{"post":{"tags":["Chat"],"summary":"Add Admins to a Chat Group Conversation","description":"Grants admin rights to one or more members of an existing encrypted Chat group conversation.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"addChatGroupAdmins","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddChatGroupAdminsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddChatGroupAdminsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/admins/remove":{"post":{"tags":["Chat"],"summary":"Remove Admins from a Chat Group Conversation","description":"Revokes admin rights from one or more admins of an existing encrypted Chat group conversation. They stay members of the group.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"removeChatGroupAdmins","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveChatGroupAdminsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveChatGroupAdminsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/archive":{"delete":{"tags":["Chat"],"summary":"Unarchive a Chat Conversation","description":"Unarchives a Chat conversation for the authenticated user only. Unarchiving a conversation that is not archived changes nothing. Works for group and 1:1 conversations. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"unarchiveChatConversation","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnarchiveChatConversationRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnarchiveChatConversationResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Chat"],"summary":"Archive a Chat Conversation","description":"Archives a Chat conversation for the authenticated user only. Archiving an archived conversation changes nothing. Works for group and 1:1 conversations. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"archiveChatConversation","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveChatConversationRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveChatConversationResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/events":{"get":{"tags":["Chat"],"summary":"Get Chat Conversation Events","description":"Retrieves the events of a specific Chat conversation, newest first, with pagination support: messages, key changes, group changes, and read receipts. Events with an id above the conversation's last_read_event_id are unread: they come after the point you read up to. To collect them, page until an event's id is at or below it. Only `id` and `encoded_event` are always present. Events are either end-to-end encrypted or unencrypted, such as messages sent before the conversation was encrypted. Encrypted events carry `conversation_key_version`, and usually `conversation_token` and `message_event_signature`; treat an encrypted event without `message_event_signature` as unverified. An event without `conversation_key_version` is unencrypted. Decode each `encoded_event` client-side, and decrypt it with the conversation key named by `conversation_key_version` when that is present. A page holds up to `max_results` events and can hold fewer while `has_more` is true. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatConversationEvents","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"},{"name":"max_results","in":"query","description":"The maximum number of events to return.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":10},"style":"form"},{"name":"pagination_token","in":"query","description":"The next_token from a previous response, to fetch the next page.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/ChatMessageEventFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatConversationEventsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/invite":{"delete":{"tags":["Chat"],"summary":"Disable a Chat Group Invite Link","description":"Turns off the invite link for an encrypted Chat group conversation. The existing link stops working.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"disableChatGroupInvite","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisableChatGroupInviteRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisableChatGroupInviteResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Chat"],"summary":"Enable a Chat Group Invite Link","description":"Turns on the invite link for an encrypted Chat group conversation and returns the link details. The client builds the link and sends it as invite_url, in the form https://x.com/i/chat/group_join/<conversation_id>/<token>, where the token is exactly 10 letters, digits, '-' or '_'. invite_url is required when action_signatures is sent. To make the link expire, send validity_duration_msec or validity_expiry_timestamp_msec. With action_signatures, send validity_expiry_timestamp_msec, because the signed payload carries the expiry. The group name and avatar sent here are stored unencrypted and shown to anyone who opens the link.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"enableChatGroupInvite","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnableChatGroupInviteRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnableChatGroupInviteResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/invites/{token}":{"get":{"tags":["Chat"],"summary":"Get a Chat Group Invite Link","description":"Returns the preview of an encrypted Chat group conversation from its invite link: group name, avatar, member count, and the authenticated user's join state. The conversation ID and the token both come from the invite link.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatGroupInvite","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"},{"name":"token","in":"path","description":"The 10-character invite token from the group's invite link.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{10}$"},"style":"simple"},{"$ref":"#/components/parameters/ChatGroupInviteFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatGroupInviteResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/join_requests":{"post":{"tags":["Chat"],"summary":"Request to Join a Chat Group","description":"Asks to join an encrypted Chat group conversation through its invite link. The request stays pending until a group admin adds the user to the group.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"createChatGroupJoinRequest","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChatGroupJoinRequestRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChatGroupJoinRequestResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/join_requests/reject":{"post":{"tags":["Chat"],"summary":"Reject Join Requests for a Chat Group Conversation","description":"Rejects pending requests to join an encrypted Chat group conversation. Only group admins can reject requests. To approve a request instead, add the requesting users with addChatGroupMembers; adding a user clears their pending request.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"rejectChatGroupJoinRequests","parameters":[{"name":"id","in":"path","description":"The ID of the group conversation, starting with `g`.","required":true,"schema":{"type":"string","pattern":"^g[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectChatGroupJoinRequestsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectChatGroupJoinRequestsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/keys":{"post":{"tags":["Chat"],"summary":"Add Conversation Keys","description":"Adds (initializes or rotates) the encryption keys for a Chat conversation. Call this before sending messages in a new 1:1 conversation, and again with a newer key version to rotate the conversation key. For 1:1 conversations, provide the recipient's user ID as the conversation id; the server constructs the canonical conversation ID from the authenticated user and recipient. The request body must contain the conversation key version and participant keys (the conversation key encrypted for each participant using their public key).","externalDocs":{"url":"https://developer.x.com/"},"operationId":"addConversationKeys","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddConversationKeysRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddConversationKeysResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/members":{"post":{"tags":["Chat"],"summary":"Add Members to a Chat Group Conversation","description":"Adds one or more members to an existing encrypted Chat group conversation, rotating the conversation key. Adding a user who has a pending join request approves that request; approval needs the same key-rotation body as adding any member.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"addChatGroupMembers","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddChatGroupMembersRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddChatGroupMembersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/members/remove":{"post":{"tags":["Chat"],"summary":"Remove Members from a Chat Group Conversation","description":"Removes one or more members from an existing encrypted Chat group conversation. To leave a group, pass your own user ID. Leaving does not delete the conversation for the caller. When the removal rotates the conversation key, send group_key_rotation_data and the action signatures for the removal and the key change, in that order.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"removeChatGroupMembers","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveChatGroupMembersRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveChatGroupMembersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/message_ttl":{"delete":{"tags":["Chat"],"summary":"Turn Off Disappearing Messages in a Chat Conversation","description":"Stops new messages in a 1:1 or group Chat conversation from disappearing, for every participant. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"deleteChatConversationMessageTtl","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteChatConversationMessageTtlRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteChatConversationMessageTtlResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Chat"],"summary":"Turn On Disappearing Messages in a Chat Conversation","description":"Sets how long new messages in a 1:1 or group Chat conversation last before they disappear, for every participant. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"updateChatConversationMessageTtl","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatConversationMessageTtlRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatConversationMessageTtlResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/messages":{"post":{"tags":["Chat"],"summary":"Send Chat Message","description":"Sends a message or reaction to a Chat conversation, which you can find with `participant_query` on Get Chat Conversations. Send it end-to-end encrypted by default: `encoded_message_create_event`, built with the Chat XDK. Plaintext `content` is only a fallback for a 1:1 chat that X Chat can't encrypt: use it only when the recipient's `receives_your_chat` user field (`user.fields=receives_your_chat`) is `unencrypted`. When `content` is refused, nothing is sent and the problem's `detail` says why; HTTP 400 https://api.x.com/2/problems/encryption-required means the chat can be encrypted or is a group, so send it encrypted instead. A recipient you can't message (closed inbox, system account, or a block) returns HTTP 403 https://api.x.com/2/problems/recipient-not-messageable.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"sendChatMessage","parameters":[{"name":"id","in":"path","description":"A conversation's id from Get Chat Conversations, or the recipient's user ID for a 1:1 chat.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendChatMessageRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendChatMessageResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/messages/delete":{"post":{"tags":["Chat"],"summary":"Delete Chat Messages","description":"Deletes one or more messages from a Chat conversation. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient. Delete for all removes a message you sent (or, in groups you administer, any message) for every participant; delete for self removes any message only from your own view.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"deleteChatMessages","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteChatMessagesRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteChatMessagesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/mute":{"delete":{"tags":["Chat"],"summary":"Unmute a Chat Conversation","description":"Unmutes notifications for a Chat conversation for the authenticated user only. Works for group and 1:1 conversations. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"unmuteChatConversation","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnmuteChatConversationRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnmuteChatConversationResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Chat"],"summary":"Mute a Chat Conversation","description":"Mutes notifications for a Chat conversation for the authenticated user only. Works for group and 1:1 conversations. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"muteChatConversation","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteChatConversationRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteChatConversationResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/pinned_messages":{"get":{"tags":["Chat"],"summary":"Get Chat Conversation Pinned Messages","description":"Retrieves the pinned message events of a Chat conversation with pagination support. Each event is a Base64-encoded Thrift pin event whose contents are end-to-end encrypted; decode and decrypt it client-side. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatConversationPinnedMessages","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"},{"name":"pagination_token","in":"query","description":"The next_token from a previous response, to fetch the next page.","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"$ref":"#/components/parameters/ChatPinnedMessageFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatConversationPinnedMessagesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/read":{"post":{"tags":["Chat"],"summary":"Mark Conversation as Read","description":"Marks a specific Chat conversation as read on behalf of the authenticated user. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient. Without action_signatures the conversation is marked read up to its newest event and the read receipt is unsigned. With one action signature over a MarkConversationReadEvent, the server sends that signed read receipt, marking the conversation read up to the event it names.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"markChatConversationRead","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkChatConversationReadRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkChatConversationReadResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/screen_capture":{"put":{"tags":["Chat"],"summary":"Update Screen Capture Settings for a Chat Conversation","description":"Turns screenshot blocking or screenshot detection on or off in a Chat conversation, for every participant. In a group conversation, only admins can change these settings. Each request changes one setting: send either blocking or detection. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"updateChatConversationScreenCapture","parameters":[{"name":"id","in":"path","description":"The ID of the conversation: a group ID starting with `g`, the other user's ID for a 1:1 conversation, or both user IDs of a 1:1 conversation joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatConversationScreenCaptureRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatConversationScreenCaptureResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/typing":{"post":{"tags":["Chat"],"summary":"Send Typing Indicator","description":"Sends a typing indicator to a specific Chat conversation on behalf of the authenticated user. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"sendChatTypingIndicator","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendChatTypingIndicatorResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/conversations/{id}/unread":{"post":{"tags":["Chat"],"summary":"Mark Conversation as Unread","description":"Marks a specific Chat conversation as unread on behalf of the authenticated user. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"markChatConversationUnread","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkChatConversationUnreadResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/media/upload/initialize":{"post":{"tags":["Chat"],"summary":"Initialize Chat Media Upload","description":"Initializes an XChat media upload session.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-upload"},"operationId":"chatMediaUploadInitialize","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMediaUploadInitializeRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMediaUploadInitializeResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/media/upload/{id}/append":{"post":{"tags":["Chat"],"summary":"Append Chat Media Upload","description":"Appends media data to an XChat upload session.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-upload"},"operationId":"chatMediaUploadAppend","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMediaUploadAppendRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ChatMediaUploadAppendRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMediaUploadAppendResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/media/upload/{id}/finalize":{"post":{"tags":["Chat"],"summary":"Finalize Chat Media Upload","description":"Finalizes an XChat media upload session.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-upload"},"operationId":"chatMediaUploadFinalize","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMediaUploadFinalizeRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMediaUploadFinalizeResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/media/{id}/{media_hash_key}":{"get":{"tags":["Chat"],"summary":"Download Chat Media","description":"Downloads encrypted media bytes from an XChat conversation. The response body contains raw binary bytes. A media item too large to return in one response fails with a 413 problem of type `https://api.x.com/2/problems/response-too-large`, and a retry fails the same way.","operationId":"chatMediaDownload","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19}|g[0-9]{1,19})$"},"style":"simple"},{"name":"media_hash_key","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,50}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/message_requests":{"get":{"tags":["Chat"],"summary":"Get Chat Message Requests","description":"Retrieves the authenticated user's pending Chat message requests from one inbox. Message contents are end-to-end encrypted unless the conversation is unencrypted. Accepting or deleting requests between pages can skip or repeat requests, and a page can be empty while `next_token` is set.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatMessageRequests","parameters":[{"name":"inbox_type","in":"query","description":"Which message request inbox to list: `you_may_know` (the apps' Priority tab) or `low_quality` (the apps' Hidden tab).","required":false,"schema":{"type":"string","enum":["you_may_know","low_quality"],"default":"you_may_know"},"style":"form"},{"name":"max_results","in":"query","description":"The maximum number of message requests to return.","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"format":"int32","default":10},"style":"form"},{"name":"pagination_token","in":"query","description":"The next_token from a previous response, to fetch the next page.","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,10}$"},"style":"form"},{"$ref":"#/components/parameters/ChatMessageRequestFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatMessageRequestsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/message_requests/{id}":{"get":{"tags":["Chat"],"summary":"Get Chat Message Request","description":"Retrieves the message request state of a 1:1 Chat conversation and its newest message events. Like opening the request in an X app, reading it marks the returned messages as delivered and updates the unread badge.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatMessageRequest","parameters":[{"name":"id","in":"path","description":"The other user's ID, or both user IDs joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19})$"},"style":"simple"},{"$ref":"#/components/parameters/ChatMessageRequestDetailFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatMessageRequestResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/message_requests/{id}/accept":{"post":{"tags":["Chat"],"summary":"Accept a Chat Message Request","description":"Accepts the other user's pending message request in a 1:1 Chat conversation, which moves to the authenticated user's inbox. Without a pending request, including after a successful accept, the response is 404. Replying to a request does not accept it.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"acceptChatMessageRequest","parameters":[{"name":"id","in":"path","description":"The other user's ID, or both user IDs joined by a hyphen.","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}|[0-9]{1,19}-[0-9]{1,19})$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptChatMessageRequestResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/chat/settings":{"get":{"tags":["Chat"],"summary":"Get Chat Settings","description":"Returns the authenticated user's Chat privacy settings: who can message them, read receipts, the message quality filter, and audio/video call permissions.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getChatSettings","parameters":[{"$ref":"#/components/parameters/ChatSettingsFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetChatSettingsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Chat"],"summary":"Update Chat Settings","description":"Updates the authenticated user's Chat privacy settings: who can message them, read receipts, the message quality filter, and audio/video call permissions. allow_dms_from, dm_receipt_settings, and dm_quality_filter accept only their listed values, matched exactly and case-sensitively; anything else is a 400. av_settings must set at least one of its settings. Whether settings omitted from a partial av_settings keep their values or are reset is not yet confirmed; send every av_settings field you want to keep.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"updateChatSettings","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatSettingsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatSettingsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/communities/search":{"get":{"tags":["Communities"],"summary":"Search Communities","description":"Retrieves a list of Communities matching the specified search query.","operationId":"searchCommunities","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":4096},"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":10,"maximum":100,"format":"int32","default":10},"style":"form"},{"name":"next_token","in":"query","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/CommunityFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchCommunitiesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/communities/{id}":{"get":{"tags":["Communities"],"summary":"Get Community by ID","description":"Retrieves details of a specific Community by its ID.","operationId":"getCommunitiesById","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/CommunityId"},"style":"simple"},{"$ref":"#/components/parameters/CommunityFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCommunitiesByIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/compliance/jobs":{"get":{"tags":["Compliance"],"summary":"Get Compliance Jobs","description":"Retrieves a list of Compliance Jobs filtered by job type and optional status.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/compliance/batch-compliance/api-reference/get-compliance-jobs"},"operationId":"getComplianceJobs","parameters":[{"name":"type","in":"query","required":true,"schema":{"type":"string","enum":["tweets","users"]},"style":"form"},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["created","in_progress","failed","complete"]},"style":"form"},{"$ref":"#/components/parameters/ComplianceJobFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetComplianceJobsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Compliance"],"summary":"Create Compliance Job","description":"Creates a new Compliance Job for the specified job type.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/compliance/batch-compliance/api-reference/post-compliance-jobs"},"operationId":"createComplianceJobs","parameters":[{"$ref":"#/components/parameters/ComplianceJobFieldsParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateComplianceJobsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateComplianceJobsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/compliance/jobs/{id}":{"delete":{"tags":["Compliance"],"summary":"Cancel Compliance Job","description":"Cancels a Compliance Job that has not finished processing; its status becomes failed and a new job of the same type can be created.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/compliance/batch-compliance/introduction"},"operationId":"deleteComplianceJobsById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"$ref":"#/components/parameters/ComplianceJobFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteComplianceJobsByIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Compliance"],"summary":"Get Compliance Job by ID","description":"Retrieves details of a specific Compliance Job by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/compliance/batch-compliance/api-reference/get-compliance-jobs-id"},"operationId":"getComplianceJobsById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"$ref":"#/components/parameters/ComplianceJobFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetComplianceJobsByIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/compliance/jobs/{id}/download":{"get":{"tags":["Compliance"],"summary":"Download Compliance Job Results","description":"Downloads the results file of a completed Compliance Job using the signed URL returned at job creation.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/compliance/batch-compliance/introduction"},"operationId":"downloadComplianceJobResults","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"name":"token","in":"query","description":"Signed download token from the job's download_url.","required":true,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/ComplianceJobFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/compliance/jobs/{id}/upload":{"put":{"tags":["Compliance"],"summary":"Upload Compliance Job Submission","description":"Uploads the newline-delimited ID file for a Compliance Job using the signed URL returned at job creation.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/compliance/batch-compliance/introduction"},"operationId":"uploadComplianceJobSubmission","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"name":"token","in":"query","description":"Signed upload token from the job's upload_url.","required":true,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/ComplianceJobFieldsParameter"}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadComplianceJobSubmissionResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/connections":{"delete":{"tags":["Connections"],"summary":"Terminate Multiple Connections","description":"Terminates multiple streaming connections by their UUIDs for the authenticated application.","operationId":"deleteConnectionsByUuids","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteConnectionsByUuidsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteConnectionsByUuidsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Connections"],"summary":"Get Connection History","description":"Returns active and historical streaming connections with disconnect reasons for the authenticated application.","operationId":"getConnectionHistory","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","inactive","all"],"default":"active"},"style":"form"},{"name":"endpoints","in":"query","required":false,"schema":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["filtered_stream","sample_stream","sample10_stream","firehose_stream","tweets_compliance_stream","users_compliance_stream","tweet_label_stream","firehose_stream_lang_en","firehose_stream_lang_ja","firehose_stream_lang_ko","firehose_stream_lang_pt","likes_firehose_stream","likes_sample10_stream","likes_compliance_stream"]}},"explode":false,"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":10},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/ConnectionFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetConnectionHistoryResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/connections/all":{"delete":{"tags":["Connections"],"summary":"Terminate All Connections","description":"Terminates all active streaming connections for the authenticated application.","externalDocs":{"url":"https://docs.x.com/x-api/connections/terminate-all-connections"},"operationId":"deleteAllConnections","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAllConnectionsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/connections/{endpoint_id}":{"delete":{"tags":["Connections"],"summary":"Terminate Connections by Endpoint","description":"Terminates all streaming connections for a specific endpoint ID for the authenticated application.","operationId":"deleteConnectionsByEndpoint","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","enum":["filtered_stream","sample_stream","sample10_stream","firehose_stream","tweets_compliance_stream","users_compliance_stream","tweet_label_stream","firehose_stream_lang_en","firehose_stream_lang_ja","firehose_stream_lang_ko","firehose_stream_lang_pt","likes_firehose_stream","likes_sample10_stream","likes_compliance_stream"]},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteConnectionsByEndpointResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/dm_conversations":{"post":{"tags":["Direct Messages"],"summary":"Create DM Conversation","description":"Initiates a new direct message conversation with specified participants.","operationId":"createDirectMessagesConversation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDirectMessagesConversationRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDirectMessagesConversationResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/dm_conversations/media/{dm_id}/{media_id}/{resource_id}":{"get":{"tags":["Direct Messages"],"summary":"Download DM Media","description":"Downloads media attached to a legacy Direct Message. The requesting user must be a participant in the conversation containing the specified DM event. The response body contains raw binary bytes.","operationId":"dmConversationsMediaDownload","parameters":[{"name":"dm_id","in":"path","required":true,"schema":{"type":"string"},"style":"simple"},{"name":"media_id","in":"path","required":true,"schema":{"type":"string"},"style":"simple"},{"name":"resource_id","in":"path","required":true,"schema":{"type":"string"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/dm_conversations/with/{participant_id}/dm_events":{"get":{"tags":["Direct Messages"],"summary":"Get DM Events by Participant ID","description":"Retrieves direct message events for the one-to-one conversation between the authenticated user and a specific participant.","operationId":"getDirectMessagesEventsByParticipantId","parameters":[{"name":"participant_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"name":"event_types","in":"query","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["MessageCreate","ParticipantsJoin","ParticipantsLeave"]},"default":["MessageCreate","ParticipantsLeave","ParticipantsJoin"]},"explode":false,"style":"form"},{"$ref":"#/components/parameters/DmEventFieldsParameter"},{"$ref":"#/components/parameters/DmEventExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDirectMessagesEventsByParticipantIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/dm_conversations/with/{participant_id}/messages":{"post":{"tags":["Direct Messages"],"summary":"Create DM Message by Participant ID","description":"Sends a new direct message to a specific participant by their ID.","operationId":"createDirectMessagesByParticipantId","parameters":[{"name":"participant_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDirectMessagesByParticipantIdRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDirectMessagesByParticipantIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/dm_conversations/{dm_conversation_id}/messages":{"post":{"tags":["Direct Messages"],"summary":"Create DM Message by Conversation ID","description":"Sends a new direct message to a specific conversation by its ID.","operationId":"createDirectMessagesByConversationId","parameters":[{"name":"dm_conversation_id","in":"path","required":true,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDirectMessagesByConversationIdRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDirectMessagesByConversationIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/dm_conversations/{id}/dm_events":{"get":{"tags":["Direct Messages"],"summary":"Get DM Events by Conversation ID","description":"Retrieves direct message events for a specific conversation by its ID.","operationId":"getDirectMessagesEventsByConversationId","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]{1,19}-[0-9]{1,19}|[0-9]{15,19})$"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"name":"event_types","in":"query","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["MessageCreate","ParticipantsJoin","ParticipantsLeave"]},"default":["MessageCreate","ParticipantsLeave","ParticipantsJoin"]},"explode":false,"style":"form"},{"$ref":"#/components/parameters/DmEventFieldsParameter"},{"$ref":"#/components/parameters/DmEventExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDirectMessagesEventsByConversationIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/dm_events":{"get":{"tags":["Direct Messages"],"summary":"Get DM Events","description":"Retrieves a list of recent direct message events across all conversations.","operationId":"getDirectMessagesEvents","parameters":[{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"name":"event_types","in":"query","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["MessageCreate","ParticipantsJoin","ParticipantsLeave"]},"default":["MessageCreate","ParticipantsLeave","ParticipantsJoin"]},"explode":false,"style":"form"},{"$ref":"#/components/parameters/DmEventFieldsParameter"},{"$ref":"#/components/parameters/DmEventExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDirectMessagesEventsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/dm_events/{event_id}":{"delete":{"tags":["Direct Messages"],"summary":"Delete DM Event","description":"Deletes a specific direct message event by its ID, if owned by the authenticated user.","operationId":"deleteDirectMessagesEvents","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteDirectMessagesEventsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Direct Messages"],"summary":"Get DM Event by ID","description":"Retrieves details of a specific direct message event by its ID.","operationId":"getDirectMessagesEventsById","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"$ref":"#/components/parameters/DmEventFieldsParameter"},{"$ref":"#/components/parameters/DmEventExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDirectMessagesEventsByIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/likes/compliance/stream":{"get":{"tags":["Stream"],"summary":"Stream Likes Compliance Data","description":"Streams all compliance data related to Likes for Users.","operationId":"streamLikesCompliance","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Likes Compliance events will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the Likes Compliance events will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLikesComplianceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/likes/firehose/stream":{"get":{"tags":["Stream"],"summary":"Stream All Likes","description":"Streams all public Likes in real-time.","operationId":"streamLikesFirehose","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":20,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Likes will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"like_with_tweet_author.fields","in":"query","description":"A comma separated list of LikeWithTweetAuthor fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["attachments_media_keys","created_at","id","liked_tweet_author_id","liked_tweet_id","timestamp_ms"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["attachments.media_keys","liked_tweet_author_id","liked_tweet_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLikesFirehoseResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/likes/sample10/stream":{"get":{"tags":["Stream"],"summary":"Stream Sampled Likes","description":"Streams a 10% sample of public Likes in real-time.","operationId":"streamLikesSample10","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":2,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Likes will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"like_with_tweet_author.fields","in":"query","description":"A comma separated list of LikeWithTweetAuthor fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["attachments_media_keys","created_at","id","liked_tweet_author_id","liked_tweet_id","timestamp_ms"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["attachments.media_keys","liked_tweet_author_id","liked_tweet_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLikesSample10Response"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/lists":{"post":{"tags":["Lists"],"summary":"Create List","description":"Creates a new List for the authenticated user.","operationId":"createLists","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateListsRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateListsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/lists/{id}":{"delete":{"tags":["Lists"],"summary":"Delete List","description":"Deletes a specific List owned by the authenticated user by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/lists/manage-lists/api-reference/delete-lists-id"},"operationId":"deleteLists","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteListsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Lists"],"summary":"Get List by ID","description":"Retrieves details of a specific List by its ID.","operationId":"getListsById","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"},{"$ref":"#/components/parameters/ListFieldsParameter"},{"$ref":"#/components/parameters/ListExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetListsByIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Lists"],"summary":"Update List","description":"Updates the details of a specific List owned by the authenticated user by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/lists/manage-lists/api-reference/put-lists-id"},"operationId":"updateLists","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateListsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateListsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/lists/{id}/followers":{"get":{"tags":["Lists"],"summary":"Get List Followers","description":"Retrieves a list of Users who follow a specific List by its ID.","operationId":"getListsFollowers","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A 64-bit signed integer.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetListsFollowersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/lists/{id}/members":{"get":{"tags":["Lists"],"summary":"Get List Members","description":"Retrieves a list of Users who are members of a specific List by its ID.","operationId":"getListsMembers","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A 64-bit signed integer.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetListsMembersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Lists"],"summary":"Add List Member","description":"Adds a User to a specific List by its ID.","operationId":"addListsMember","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddListsMemberRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddListsMemberResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/lists/{id}/members/{user_id}":{"delete":{"tags":["Lists"],"summary":"Remove List Member","description":"Removes a User from a List by their ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/lists/list-members/api-reference/delete-lists-id-members-user_id"},"operationId":"removeListsMemberByUserId","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"},{"name":"user_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveListsMemberByUserIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/lists/{id}/tweets":{"get":{"tags":["Lists"],"summary":"Get List Posts","description":"Retrieves a list of Posts associated with a specific List by its ID.","operationId":"getListsPosts","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetListsPostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media":{"get":{"tags":["Media"],"summary":"Get Media by Media Keys","description":"Retrieves details of Media files by their media keys.","operationId":"getMediaByMediaKeys","parameters":[{"name":"media_keys","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^([0-9]+)_([0-9]+)$"}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/MediaFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMediaByMediaKeysResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/amplify/posts":{"post":{"tags":["Media"],"summary":"Add Post to Amplify Programs","description":"Publishes one of the authenticated user's video posts into one or more active Amplify pre-roll programs the user is enrolled in as a publisher.","operationId":"addPostToAmplifyPrograms","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddPostToAmplifyProgramsRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddPostToAmplifyProgramsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/amplify/programs":{"get":{"tags":["Media"],"summary":"Get Amplify Programs","description":"Returns the Amplify pre-roll programs the authenticated user is enrolled in as a publisher.","operationId":"getAmplifyPrograms","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAmplifyProgramsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/amplify/programs/{program_id}":{"get":{"tags":["Media"],"summary":"Get Amplify Program","description":"Returns one Amplify pre-roll program the authenticated user is enrolled in as a publisher. A program the user is not enrolled in is reported as not found.","operationId":"getAmplifyProgram","parameters":[{"name":"program_id","in":"path","description":"Identifier of the program.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAmplifyProgramResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/amplify/programs/{program_id}/posts":{"get":{"tags":["Media"],"summary":"Get Amplify Program Posts","description":"Returns the posts published into an Amplify pre-roll program the authenticated user is enrolled in as a publisher.","operationId":"getAmplifyProgramPosts","parameters":[{"name":"program_id","in":"path","description":"Identifier of the program.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAmplifyProgramPostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/analytics":{"get":{"tags":["Media"],"summary":"Get Media Analytics","description":"Retrieves analytics data for media.","operationId":"getMediaAnalytics","parameters":[{"name":"media_keys","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^([0-9]+)_([0-9]+)$"}},"explode":false,"style":"form"},{"name":"start_time","in":"query","required":true,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","required":true,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"granularity","in":"query","required":false,"schema":{"type":"string","enum":["hourly","daily","total"],"default":"daily"},"style":"form"},{"$ref":"#/components/parameters/MediaAnalyticsFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMediaAnalyticsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/library":{"post":{"tags":["Media"],"summary":"Add Media to Library","description":"Adds previously uploaded media to the authenticated user's Media Library with its library metadata. The user must own the media. Geo restrictions, content expiry, the preview image and the audience policy are set with the Media metadata endpoint.","operationId":"addMediaToLibrary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMediaToLibraryRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMediaToLibraryResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/library/categories":{"get":{"tags":["Media"],"summary":"Get Media Library Categories","description":"Returns the video categories a publisher can assign to a media library item and the advertiser categories whose ads can be blocked from running against it.","operationId":"getMediaLibraryCategories","parameters":[{"name":"lang","in":"query","description":"Language tag for category descriptions, e.g. `en` or `pt-BR`.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMediaLibraryCategoriesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/library/{media_key}":{"delete":{"tags":["Media"],"summary":"Remove Media Library Item","description":"Removes an item from the authenticated user's Media Library. Posts scheduled through the API that have not yet been published and still use the media are cancelled. Published posts and the underlying media are not affected.","operationId":"removeMediaFromLibrary","parameters":[{"name":"media_key","in":"path","description":"The media key of the library item to remove.","required":true,"schema":{"type":"string","pattern":"^[0-9]+_[0-9]+$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveMediaFromLibraryRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveMediaFromLibraryResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Media"],"summary":"Update Media Library Item","description":"Updates the library metadata of an item in the authenticated user's Media Library. Only the fields sent are changed; the others keep their values. Geo restrictions, content expiry, the preview image and the audience policy are set with the Media metadata endpoint.","operationId":"updateMediaInLibrary","parameters":[{"name":"media_key","in":"path","description":"The media key of the library item to update.","required":true,"schema":{"type":"string","pattern":"^[0-9]+_[0-9]+$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMediaInLibraryRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMediaInLibraryResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/metadata":{"post":{"tags":["Media"],"summary":"Create Media Metadata","description":"Creates metadata for a Media file.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-metadata-create#metadata-create"},"operationId":"createMediaMetadata","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMediaMetadataRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMediaMetadataResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/subtitles":{"delete":{"tags":["Media"],"summary":"Delete Media Subtitles","description":"Deletes subtitles for a specific Media file.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-subtitles-delete"},"operationId":"deleteMediaSubtitles","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMediaSubtitlesRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMediaSubtitlesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Media"],"summary":"Create Media Subtitles","description":"Creates subtitles for a specific Media file.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-subtitles-create"},"operationId":"createMediaSubtitles","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMediaSubtitlesRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMediaSubtitlesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/upload":{"get":{"tags":["Media"],"summary":"Get Media Upload Status","description":"Returns how far X has processed an uploaded media file, in processing_info.state: pending, in_progress, succeeded or failed. Call it after Finalize Media Upload returns processing_info, waiting check_after_secs between calls, until the state is succeeded. A failed state means the media can't be used.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-upload-status#media-upload-status"},"operationId":"getMediaUploadStatus","parameters":[{"name":"media_id","in":"query","description":"The media id from Initialize Media Upload.","required":true,"schema":{"$ref":"#/components/schemas/MediaId"},"style":"form"},{"name":"command","in":"query","description":"Always STATUS; can be left out.","required":false,"schema":{"type":"string","enum":["STATUS"]},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMediaUploadStatusResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Media"],"summary":"Upload Media","description":"Uploads a media file in one request and returns its id. Send the file base64-encoded in media (raw bytes in multipart bodies). For a Post, set media_category to tweet_image (JPG, PNG, GIF or WEBP, up to 5 MB) or tweet_gif, then pass the returned id in media.media_ids on Create or Edit Post. DM media uses dm_image or dm_gif. For video, use Initialize Media Upload.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-upload"},"operationId":"mediaUpload","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaUploadRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MediaUploadRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaUploadResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/upload/initialize":{"post":{"tags":["Media"],"summary":"Initialize Media Upload","description":"Starts a chunked media upload and returns its id. Use it for video and for other files too large for one request. For a video on a Post, set media_category to tweet_video, media_type to the file's type (for example video/mp4) and total_bytes to the file's size. Send the file with Append Media Upload, call Finalize Media Upload, then pass the id in media.media_ids on Create or Edit Post.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-upload"},"operationId":"initializeMediaUpload","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitializeMediaUploadRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitializeMediaUploadResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/upload/{id}/append":{"post":{"tags":["Media"],"summary":"Append Media Upload","description":"Appends one segment of the file to a chunked upload. Send the segment base64-encoded in media (raw bytes in multipart bodies) and its position in the file in segment_index, counting from 0. A segment can be up to 8 MB; in a JSON body keep it to 4 MB or less, because base64 adds a third. After the last segment, call Finalize Media Upload.","operationId":"appendMediaUpload","parameters":[{"name":"id","in":"path","description":"The upload id from Initialize Media Upload.","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppendMediaUploadRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AppendMediaUploadRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppendMediaUploadResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/upload/{id}/finalize":{"post":{"tags":["Media"],"summary":"Finalize Media Upload","description":"Completes a chunked upload once every segment is appended. For video the result carries processing_info: the media can go on a Post only when its state is succeeded, so call Get Media Upload Status until it is. A result without processing_info is ready to use.","externalDocs":{"url":"https://docs.x.com/x-api/media/media-upload"},"operationId":"finalizeMediaUpload","parameters":[{"name":"id","in":"path","description":"The upload id from Initialize Media Upload.","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinalizeMediaUploadResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/media/{media_key}":{"get":{"tags":["Media"],"summary":"Get Media by Media Key","description":"Retrieves details of a specific Media file by its media key.","operationId":"getMediaByMediaKey","parameters":[{"name":"media_key","in":"path","required":true,"schema":{"type":"string","pattern":"^([0-9]+)_([0-9]+)$"},"style":"simple"},{"$ref":"#/components/parameters/MediaFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetMediaByMediaKeyResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/news/search":{"get":{"tags":["News"],"summary":"Search News","description":"Retrieves a list of News stories matching the specified search query.","operationId":"searchNews","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2048},"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":10},"style":"form"},{"name":"max_age_hours","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":720,"format":"int32","default":168},"style":"form"},{"$ref":"#/components/parameters/NewsFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchNewsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/news/{id}":{"get":{"tags":["News"],"summary":"Get News Stories by ID","description":"Retrieves news story by its ID.","externalDocs":{"url":"https://docs.x.com/x-api/news/introduction"},"operationId":"getNews","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"$ref":"#/components/parameters/NewsFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetNewsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/notes":{"post":{"tags":["Community Notes"],"summary":"Create a Community Note","description":"Creates a Community Note on a Post. With test_mode set to true, the note is only for testing and is not publicly visible.","operationId":"createCommunityNotes","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCommunityNotesRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCommunityNotesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/notes/evaluate":{"post":{"tags":["Community Notes"],"summary":"Evaluate a Community Note","description":"Evaluates the text of a proposed Community Note on a Post and returns its claim-opinion score.","operationId":"evaluateCommunityNotes","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateCommunityNotesRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateCommunityNotesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/notes/search/notes_written":{"get":{"tags":["Community Notes"],"summary":"Search for Community Notes Written","description":"Retrieves the Community Notes written by the authenticated user.","operationId":"searchCommunityNotesWritten","parameters":[{"name":"test_mode","in":"query","required":true,"schema":{"type":"boolean"},"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":10},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/NoteFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchCommunityNotesWrittenResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/notes/search/posts_eligible_for_notes":{"get":{"tags":["Community Notes"],"summary":"Search for Posts Eligible for Community Notes","description":"Retrieves Posts that are eligible for Community Notes.","operationId":"searchEligiblePosts","parameters":[{"name":"test_mode","in":"query","required":true,"schema":{"type":"boolean"},"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":10},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string"},"style":"form"},{"name":"post_selection","in":"query","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchEligiblePostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/notes/{id}":{"delete":{"tags":["Community Notes"],"summary":"Delete a Community Note","description":"Deletes a community note.","externalDocs":{"url":"https://communitynotes.x.com/guide/api/overview"},"operationId":"deleteCommunityNotes","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCommunityNotesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/openapi.json":{"get":{"tags":["General"],"summary":"Get OpenAPI Spec","description":"Retrieves the full OpenAPI Specification in JSON format. (See https://github.com/OAI/OpenAPI-Specification/blob/master/README.md)","operationId":"getOpenApiSpec","parameters":[],"responses":{"200":{"description":"The request was successful","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/region":{"get":{"tags":["Broadcasts"],"summary":"Get the Ingest Region","description":"Returns the ingest region nearest the server handling the request. Pass it as `region` when creating a stream source to ingest there.","operationId":"getRegion","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRegionResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/sources":{"get":{"tags":["Broadcasts"],"summary":"List Stream Sources","description":"Returns the authenticated user's RTMP/RTMPS stream sources. A source's `id` is the `source_id` that POST /2/broadcasts and scheduled broadcasts take. Stream keys are not included; read one with GET /2/sources/:id/stream_key.","operationId":"listSources","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSourcesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Broadcasts"],"summary":"Create a Stream Source","description":"Creates a persistent RTMP/RTMPS ingest point for the authenticated user. Push an encoder to `rtmps_url` with the returned `stream_key`. This is the only response that includes the stream key; read it later with GET /2/sources/:id/stream_key.","operationId":"createSource","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/sources/{id}":{"delete":{"tags":["Broadcasts"],"summary":"Delete a Stream Source","description":"Deletes one of the authenticated user's stream sources.","operationId":"deleteSource","parameters":[{"name":"id","in":"path","description":"Source id (19 digits), from GET /2/sources.","required":true,"schema":{"type":"string"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteSourceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Broadcasts"],"summary":"Get a Stream Source","description":"Returns one of the authenticated user's stream sources. Poll it after starting an encoder and wait for `is_stream_active` before going live. The stream key is not included; read it with GET /2/sources/:id/stream_key.","operationId":"getSource","parameters":[{"name":"id","in":"path","description":"Source id (19 digits), from GET /2/sources.","required":true,"schema":{"type":"string"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSourceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Broadcasts"],"summary":"Rename a Stream Source","description":"Renames one of the authenticated user's stream sources.","operationId":"updateSource","parameters":[{"name":"id","in":"path","description":"Source id (19 digits), from GET /2/sources.","required":true,"schema":{"type":"string"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSourceRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSourceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/sources/{id}/stream_key":{"get":{"tags":["Broadcasts"],"summary":"Get a Stream Source's Stream Key","description":"Returns the stream key of one of the authenticated user's stream sources. The stream key is a credential: anyone with it can stream to the source, so keep it out of logs, URLs and client-side code.","operationId":"getSourceStreamKey","parameters":[{"name":"id","in":"path","description":"Source id (19 digits), from GET /2/sources.","required":true,"schema":{"type":"string"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSourceStreamKeyResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/spaces":{"get":{"tags":["Spaces"],"summary":"Get Spaces by IDs","description":"Retrieves details of multiple Spaces by their IDs.","operationId":"getSpacesByIds","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/SpaceFieldsParameter"},{"$ref":"#/components/parameters/SpaceExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/TopicFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesByIdsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/spaces/by/creator_ids":{"get":{"tags":["Spaces"],"summary":"Get Spaces by Creator IDs","description":"Retrieves details of Spaces created by specified User IDs.","operationId":"getSpacesByCreatorIds","parameters":[{"name":"user_ids","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/SpaceFieldsParameter"},{"$ref":"#/components/parameters/SpaceExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/TopicFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesByCreatorIdsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/spaces/search":{"get":{"tags":["Spaces"],"summary":"Search Spaces","description":"Retrieves a list of Spaces matching the specified search query.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/spaces/search/api-reference/get-spaces-search"},"operationId":"searchSpaces","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2048},"style":"form"},{"name":"state","in":"query","required":false,"schema":{"type":"string","enum":["live","scheduled","all"],"default":"all"},"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"$ref":"#/components/parameters/SpaceFieldsParameter"},{"$ref":"#/components/parameters/SpaceExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/TopicFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchSpacesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/spaces/{id}":{"get":{"tags":["Spaces"],"summary":"Get Space by ID","description":"Retrieves details of a specific Space by its ID.","operationId":"getSpacesById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"},{"$ref":"#/components/parameters/SpaceFieldsParameter"},{"$ref":"#/components/parameters/SpaceExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/TopicFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesByIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/spaces/{id}/buyers":{"get":{"tags":["Spaces"],"summary":"Get Space Ticket Buyers","description":"Retrieves a list of Users who purchased tickets to a specific Space by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers"},"operationId":"getSpacesBuyers","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesBuyersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/spaces/{id}/tweets":{"get":{"tags":["Spaces"],"summary":"Get Space Posts","description":"Retrieves a list of Posts shared in a specific Space by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-tweets"},"operationId":"getSpacesPosts","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpacesPostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/trends/by/woeid/{woeid}":{"get":{"tags":["Trends"],"summary":"Get Trends by WOEID","description":"Retrieves trending topics for a specific location identified by its WOEID.","operationId":"getTrendsByWoeid","parameters":[{"name":"woeid","in":"path","required":true,"schema":{"type":"integer","format":"int32"},"style":"simple"},{"name":"max_trends","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"format":"int32","default":20},"style":"form"},{"$ref":"#/components/parameters/TrendFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTrendsByWoeidResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets":{"get":{"tags":["Posts"],"summary":"Get Posts by IDs","description":"Retrieves details of multiple Posts by their IDs.","operationId":"getPostsByIds","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"$ref":"#/components/schemas/PostId"}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsByIdsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Posts"],"summary":"Create or Edit Post","description":"Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Media in media.media_ids is attached in the order given; get the ids by uploading each image with Upload Media, or a video with Initialize Media Upload. Supports paid partnership disclosure via the paid_partnership field. To share a clip of another Post's video, set clip to that Post's id and a range of 5 to 60 seconds.","operationId":"createPosts","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePostsRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/analytics":{"get":{"tags":["Posts"],"summary":"Get Post Analytics","description":"Retrieves analytics data for specified Posts within a defined time range.","operationId":"getPostsAnalytics","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"$ref":"#/components/schemas/AnalyticsId"}},"explode":false,"style":"form"},{"name":"start_time","in":"query","required":true,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","required":true,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"granularity","in":"query","required":false,"schema":{"type":"string","enum":["hourly","weekly","daily","total"],"default":"total"},"style":"form"},{"$ref":"#/components/parameters/AnalyticsFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsAnalyticsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/compliance/stream":{"get":{"tags":["Stream"],"summary":"Stream Posts Compliance Data","description":"Streams all compliance data related to Posts.","operationId":"streamPostsCompliance","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":4,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Post Compliance events will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the Post Compliance events will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsComplianceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/counts/all":{"get":{"tags":["Posts"],"summary":"Get Count of All Posts","description":"Retrieves the count of Posts matching a search query from the full archive.\n\nAt most one of `pagination_token`, `next_token` may be provided.","operationId":"getPostsCountsAll","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":4096},"style":"form"},{"name":"start_time","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"since_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"until_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"next_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"granularity","in":"query","required":false,"schema":{"type":"string","enum":["minute","hour","day"],"default":"hour"},"style":"form"},{"name":"search_count.fields","in":"query","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsCountsAllResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/counts/recent":{"get":{"tags":["Posts"],"summary":"Get Count of Recent Posts","description":"Retrieves the count of Posts from the last 7 days matching a search query.\n\nAt most one of `pagination_token`, `next_token` may be provided.","operationId":"getPostsCountsRecent","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":4096},"style":"form"},{"name":"start_time","in":"query","description":"Must be within the last 7 days.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"since_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"until_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"next_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"granularity","in":"query","required":false,"schema":{"type":"string","enum":["minute","hour","day"],"default":"hour"},"style":"form"},{"name":"search_count.fields","in":"query","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsCountsRecentResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/firehose/stream":{"get":{"tags":["Stream"],"summary":"Stream All Posts","description":"Streams all public Posts in real-time.","operationId":"streamPostsFirehose","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_tweet_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","entities.note.mentions.username","referenced_tweets.id","referenced_tweets.id.attachments.media_keys","referenced_tweets.id.author_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":20,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsFirehoseResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/firehose/stream/lang/en":{"get":{"tags":["Stream"],"summary":"Stream English Posts","description":"Streams all public English-language Posts in real-time.","operationId":"streamPostsFirehoseEn","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_tweet_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","entities.note.mentions.username","referenced_tweets.id","referenced_tweets.id.attachments.media_keys","referenced_tweets.id.author_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":8,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsFirehoseEnResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/firehose/stream/lang/ja":{"get":{"tags":["Stream"],"summary":"Stream Japanese Posts","description":"Streams all public Japanese-language Posts in real-time.","operationId":"streamPostsFirehoseJa","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_tweet_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","entities.note.mentions.username","referenced_tweets.id","referenced_tweets.id.attachments.media_keys","referenced_tweets.id.author_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":2,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsFirehoseJaResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/firehose/stream/lang/ko":{"get":{"tags":["Stream"],"summary":"Stream Korean Posts","description":"Streams all public Korean-language Posts in real-time.","operationId":"streamPostsFirehoseKo","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_tweet_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","entities.note.mentions.username","referenced_tweets.id","referenced_tweets.id.attachments.media_keys","referenced_tweets.id.author_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":2,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsFirehoseKoResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/firehose/stream/lang/pt":{"get":{"tags":["Stream"],"summary":"Stream Portuguese Posts","description":"Streams all public Portuguese-language Posts in real-time.","operationId":"streamPostsFirehosePt","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_tweet_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","entities.note.mentions.username","referenced_tweets.id","referenced_tweets.id.attachments.media_keys","referenced_tweets.id.author_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":2,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsFirehosePtResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/label/stream":{"get":{"tags":["Stream"],"summary":"Stream Post Labels","description":"Streams all labeling events applied to Posts.","operationId":"streamLabelsCompliance","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Post labels will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the Post labels will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLabelsComplianceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/sample/stream":{"get":{"tags":["Stream"],"summary":"Stream Sampled Posts","description":"Streams a 1% sample of public Posts in real-time.","externalDocs":{"url":"https://docs.x.com/x-api/posts/volume-streams/introduction"},"operationId":"streamPostsSample","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_tweet_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","entities.note.mentions.username","referenced_tweets.id","referenced_tweets.id.attachments.media_keys","referenced_tweets.id.author_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsSampleResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/sample10/stream":{"get":{"tags":["Stream"],"summary":"Stream 10% Sampled Posts","description":"Streams a 10% sample of public Posts in real-time.","operationId":"streamPostsSample10","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_tweet_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","entities.note.mentions.username","referenced_tweets.id","referenced_tweets.id.attachments.media_keys","referenced_tweets.id.author_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":2,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsSample10Response"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/search/all":{"get":{"tags":["Posts"],"summary":"Search All Posts","description":"Retrieves Posts from the full archive matching a search query.\n\nAt most one of `start_time`, `since_id` may be provided. At most one of `end_time`, `until_id` may be provided. At most one of `pagination_token`, `next_token` may be provided.","operationId":"searchPostsAll","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":4096},"style":"form"},{"name":"start_time","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"since_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"until_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":10,"maximum":500,"format":"int32","default":10},"style":"form"},{"name":"next_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","enum":["recency","relevancy"]},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPostsAllResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/search/recent":{"get":{"tags":["Posts"],"summary":"Search Recent Posts","description":"Retrieves Posts from the last 7 days matching a search query.\n\nAt most one of `start_time`, `since_id` may be provided. At most one of `end_time`, `until_id` may be provided. At most one of `pagination_token`, `next_token` may be provided.","operationId":"searchPostsRecent","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":4096},"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":10,"maximum":100,"format":"int32","default":10},"style":"form"},{"name":"next_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"start_time","in":"query","description":"Must be within the last 7 days.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"since_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"until_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","enum":["recency","relevancy"]},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPostsRecentResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/search/stream":{"get":{"tags":["Stream"],"summary":"Stream Filtered Posts","description":"Streams Posts in real-time matching the active rule set.","externalDocs":{"url":"https://docs.x.com/x-api/posts/filtered-stream/introduction"},"operationId":"streamPosts","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"tweet.fields","in":"query","description":"A comma separated list of Tweet fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","attachments","author_id","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","edit_history_tweet_ids","entities","geo","id","in_reply_to_user_id","lang","matched_media_notes","media_metadata","non_public_metrics","note_request_suggestions","note_tweet","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","referenced_tweets","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_tweet_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","entities.note.mentions.username","referenced_tweets.id","referenced_tweets.id.attachments.media_keys","referenced_tweets.id.author_id"]}},"explode":false,"style":"form"},{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","type","url","variants","width"]}},"explode":false,"style":"form"},{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","most_recent_tweet_id","name","parody","pinned_tweet_id","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_dm","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamPostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/search/stream/rules":{"get":{"tags":["Stream"],"summary":"Get Stream Rules","description":"Returns the active filtered-stream rules for the authenticated app. Provide `ids` to fetch specific rules; omit it to list all rules.","externalDocs":{"url":"https://docs.x.com/x-api/posts/rules-lookup"},"operationId":"getRules","parameters":[{"name":"ids","in":"query","required":false,"schema":{"type":"array","maxItems":1000,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"explode":false,"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32","default":1000},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token that decodes to 8 bytes.","required":false,"schema":{"type":"string","minLength":16,"maxLength":16},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRulesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Stream"],"summary":"Update Stream Rules","description":"Adds or deletes rules from the active rule set for the filtered stream. Exactly one of `add`, `delete`, or `?delete_all=true` must be specified. Use `?dry_run=true` to validate without committing.","externalDocs":{"url":"https://docs.x.com/x-api/posts/filtered-stream/integrate/add-or-delete-rules"},"operationId":"updateRules","parameters":[{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean"},"style":"form"},{"name":"delete_all","in":"query","required":false,"schema":{"type":"boolean"},"style":"form"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRulesRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRulesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/search/stream/rules/counts":{"get":{"tags":["Stream"],"summary":"Get Stream Rule Counts","description":"Retrieves the count of rules in the active rule set for the filtered stream.","operationId":"getRuleCounts","parameters":[{"name":"rules_count.fields","in":"query","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRuleCountsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/search/webhooks":{"get":{"tags":["Webhooks"],"summary":"Get Stream Links","description":"Get a list of webhook links associated with a filtered stream ruleset.","externalDocs":{"url":"https://docs.x.com/x-api/webhooks/introduction"},"operationId":"getWebhooksStreamLinks","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetWebhooksStreamLinksResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/search/webhooks/{webhook_id}":{"delete":{"tags":["Webhooks"],"summary":"Delete Stream Link","description":"Deletes the link delivering FilteredStream events to the given webhook.","externalDocs":{"url":"https://docs.x.com/x-api/webhooks/introduction"},"operationId":"deleteWebhooksStreamLink","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteWebhooksStreamLinkResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Webhooks"],"summary":"Create Stream Link","description":"Creates a link to deliver FilteredStream events to the given webhook.","externalDocs":{"url":"https://docs.x.com/x-api/webhooks/introduction"},"operationId":"createWebhooksStreamLink","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhooksStreamLinkResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/{id}":{"delete":{"tags":["Posts"],"summary":"Delete Post","description":"Deletes a specific Post by its ID, if owned by the authenticated user.","operationId":"deletePosts","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletePostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Posts"],"summary":"Get Post by ID","description":"Retrieves details of a specific Post by its ID.","operationId":"getPostsById","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsByIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/{id}/liking_users":{"get":{"tags":["Posts"],"summary":"Get Liking Users","description":"Retrieves a list of Users who liked a specific Post by its ID.","operationId":"getPostsLikingUsers","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsLikingUsersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/{id}/quote_tweets":{"get":{"tags":["Posts"],"summary":"Get Quoted Posts","description":"Retrieves a list of Posts that quote a specific Post by its ID.","operationId":"getPostsQuotedPosts","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":10,"maximum":100,"format":"int32","default":10},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"exclude","in":"query","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["replies","retweets"]}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsQuotedPostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/{id}/retweeted_by":{"get":{"tags":["Posts"],"summary":"Get Reposted By","description":"Retrieves a list of Users who reposted a specific Post by its ID.","operationId":"getPostsRepostedBy","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsRepostedByResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/{id}/retweets":{"get":{"tags":["Posts"],"summary":"Get Reposts","description":"Retrieves a list of Posts that repost a specific Post by its ID.","operationId":"getPostsReposts","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPostsRepostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/tweets/{tweet_id}/hidden":{"put":{"tags":["Posts"],"summary":"Hide Reply","description":"Hides or unhides a reply to a conversation owned by the authenticated user.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/tweets/hide-replies/api-reference/put-tweets-id-hidden"},"operationId":"hidePostsReply","parameters":[{"name":"tweet_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HidePostsReplyRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HidePostsReplyResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/usage/credits":{"get":{"tags":["Usage"],"summary":"Get Usage Credits","description":"Returns the payer's developer-platform credit balance in USD. total_balance is max(0, prepaid_balance + free_balance); prepaid_balance may be negative.","operationId":"getUsageCredits","responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsageCreditsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/usage/tweets":{"get":{"tags":["Usage"],"summary":"Get Usage","description":"Retrieves usage statistics for Posts over a specified number of days.","operationId":"getUsage","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":90,"format":"int32","default":7},"style":"form"},{"$ref":"#/components/parameters/UsageFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsageResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users":{"get":{"tags":["Users"],"summary":"Get Users by IDs","description":"Retrieves details of multiple Users by their IDs.","operationId":"getUsersByIds","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"$ref":"#/components/schemas/UserId"}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersByIdsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/by":{"get":{"tags":["Users"],"summary":"Get Users by Usernames","description":"Retrieves details of multiple Users by their usernames.","operationId":"getUsersByUsernames","parameters":[{"name":"usernames","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^[A-Za-z0-9_]{1,15}$"}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersByUsernamesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/by/username/{username}":{"get":{"tags":["Users"],"summary":"Get User by Username","description":"Retrieves details of a specific User by their username.","operationId":"getUsersByUsername","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_]{1,15}$"},"style":"simple"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersByUsernameResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/compliance/stream":{"get":{"tags":["Stream"],"summary":"Stream Users Compliance Data","description":"Streams all compliance data related to Users.","operationId":"streamUsersCompliance","parameters":[{"name":"backfill_minutes","in":"query","description":"The number of minutes of backfill requested.","required":false,"schema":{"type":"integer","minimum":0,"maximum":5,"format":"int32"},"style":"form"},{"name":"partition","in":"query","description":"The partition number.","required":true,"schema":{"type":"integer","minimum":1,"maximum":4,"format":"int32"},"style":"form"},{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the User Compliance events will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the User Compliance events will be provided.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamUsersComplianceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-twitter-streaming":true,"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/me":{"get":{"tags":["Users"],"summary":"Get My User","description":"Retrieves details of the authenticated user.","operationId":"getUsersMe","parameters":[{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersMeResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/me/followers":{"get":{"tags":["Users"],"summary":"Get the Authenticated User's Followers","description":"Returns the Users who follow the authenticated user. Same results as `GET /2/users/{id}/followers` with your own user ID, without looking it up.","operationId":"getUsersMeFollowers","parameters":[{"name":"max_results","in":"query","description":"The maximum number of users to return.","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"The next_token or previous_token from a previous response, to fetch that page. A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersMeFollowersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/me/following":{"get":{"tags":["Users"],"summary":"Get the Users the Authenticated User Follows","description":"Returns the Users the authenticated user follows. Same results as `GET /2/users/{id}/following` with your own user ID, without looking it up.","operationId":"getUsersMeFollowing","parameters":[{"name":"max_results","in":"query","description":"The maximum number of users to return.","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"The next_token or previous_token from a previous response, to fetch that page. A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersMeFollowingResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/personalized_trends":{"get":{"tags":["Trends"],"summary":"Get Personalized Trends","description":"Retrieves personalized trending topics for the authenticated user.","operationId":"getTrendsPersonalizedTrends","parameters":[{"$ref":"#/components/parameters/PersonalizedTrendFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTrendsPersonalizedTrendsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/public_keys":{"get":{"tags":["Users"],"summary":"Get Public Keys for Multiple Users","description":"Returns the public keys that up to 100 users registered for X Chat encryption, looked up by numeric user ID. Each key carries the user_id of the user it belongs to.\n\nEvery key field is returned by default, so public_key.fields can be left out. It takes public_key, signing_public_key, identity_public_key_signature, public_key_version, juicebox_config and user_id.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getUsersPublicKeys","parameters":[{"name":"ids","in":"query","description":"Comma-separated numeric user IDs (1-100), not @usernames.","required":true,"schema":{"type":"array","minItems":1,"maxItems":100,"items":{"$ref":"#/components/schemas/PublicKeyId"}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/PublicKeyFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersPublicKeysResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/reposts_of_me":{"get":{"tags":["Users"],"summary":"Get Reposts of Me","description":"Retrieves a list of Posts that repost content from the authenticated user.","operationId":"getUsersRepostsOfMe","parameters":[{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersRepostsOfMeResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/search":{"get":{"tags":["Users"],"summary":"Search Users","description":"Retrieves a list of Users matching a search query.","operationId":"searchUsers","parameters":[{"name":"query","in":"query","description":"A name or @username (1-50 chars): letters and digits in any language, spaces, and _ ' . - @ & \"","required":true,"schema":{"type":"string","maxLength":50,"pattern":"^[\\p{L}\\p{M}\\p{N}\\p{Zs}_'’.@&\"-]+$"},"style":"form"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32","default":100},"style":"form"},{"name":"next_token","in":"query","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchUsersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}":{"get":{"tags":["Users"],"summary":"Get User by ID","description":"Retrieves details of a specific User by their ID.","operationId":"getUsersById","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersByIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/affiliates":{"get":{"tags":["Users"],"summary":"Get Affiliates","description":"Retrieves a list of Users who are affiliated with a specific organization User by their ID.","operationId":"getUsersAffiliates","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"A 64-bit signed integer.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersAffiliatesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/blocking":{"get":{"tags":["Users"],"summary":"Get Blocked Users","description":"Returns the Users that the given User is blocking.","operationId":"getUsersBlocking","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersBlockingResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Users"],"summary":"Block User","description":"Causes the source User to block the target User. A block also removes any follow between the two Users, in both directions, and unblocking does not restore it. Each call blocks one account: block only accounts the authenticated User named or approved, because finding or reviewing accounts is not approval to block them.","operationId":"usersIdBlock","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersIdBlockRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersIdBlockResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/bookmarks":{"get":{"tags":["Users"],"summary":"Get Bookmarks","description":"Retrieves a list of Posts bookmarked by the authenticated user.","operationId":"getUsersBookmarks","parameters":[{"name":"id","in":"path","description":"The authenticated user's numeric ID, not `me`: the `id` from Get My User (`GET /2/users/me`).","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersBookmarksResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Users"],"summary":"Create Bookmark","description":"Adds one or more Posts to the authenticated user's Bookmarks. Supply `tweet_id` for a single Post, or `tweet_ids` (at most 25) to bookmark several in one request. Optional `folder_id` applies to every Post in the request. Billing and rate limits still apply per HTTP request.","operationId":"createUsersBookmark","parameters":[{"name":"id","in":"path","description":"The authenticated user's numeric ID, not `me`: the `id` from Get My User (`GET /2/users/me`).","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUsersBookmarkRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUsersBookmarkResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/bookmarks/folders":{"get":{"tags":["Users"],"summary":"Get Bookmark Folders","description":"Retrieves a list of Bookmark folders created by the authenticated user.","operationId":"getUsersBookmarkFolders","parameters":[{"name":"id","in":"path","description":"The authenticated user's numeric ID, not `me`: the `id` from Get My User (`GET /2/users/me`).","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersBookmarkFoldersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Users"],"summary":"Create Bookmark Folder","description":"Creates a new Bookmark folder for the authenticated user.","operationId":"createUsersBookmarkFolder","parameters":[{"name":"id","in":"path","description":"The authenticated user's numeric ID, not `me`: the `id` from Get My User (`GET /2/users/me`).","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUsersBookmarkFolderRequest"}}},"required":true},"responses":{"201":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUsersBookmarkFolderResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/bookmarks/folders/{folder_id}":{"get":{"tags":["Users"],"summary":"Get Bookmarks by Folder ID","description":"Retrieves Posts in a specific Bookmark folder by its ID for the authenticated user.","operationId":"getUsersBookmarksByFolderId","parameters":[{"name":"id","in":"path","description":"The authenticated user's numeric ID, not `me`: the `id` from Get My User (`GET /2/users/me`).","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersBookmarksByFolderIdResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/bookmarks/{tweet_id}":{"delete":{"tags":["Users"],"summary":"Delete Bookmark","description":"Removes a Post from the authenticated user's Bookmarks by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/tweets/bookmarks/api-reference/delete-users-id-bookmarks-tweet_id"},"operationId":"deleteUsersBookmark","parameters":[{"name":"id","in":"path","description":"The authenticated user's numeric ID, not `me`: the `id` from Get My User (`GET /2/users/me`).","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"tweet_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUsersBookmarkResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/broadcasts":{"get":{"tags":["Broadcasts"],"summary":"List a User's Broadcasts","description":"Returns the authenticated user's broadcasts, 100 per page. `id` must be the authenticated user. Deprecated: use GET /2/broadcasts.","operationId":"listUserBroadcasts","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"pagination_token","in":"query","description":"`next_token.offset` from the previous page. Empty reads the first page.","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserBroadcastsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Broadcasts"],"summary":"Create a Broadcast on a User's Source","description":"Creates a broadcast on one of the authenticated user's sources. `id` must be the authenticated user. The broadcast is `NOT_STARTED` and posts nothing until it is published with PUT /2/users/:id/broadcasts/:broadcast_id/state; one that is never published is deleted after 7 days. When the source already has a running broadcast, that broadcast is returned.","operationId":"createUserBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserBroadcastRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/broadcasts/{broadcast_id}":{"delete":{"tags":["Broadcasts"],"summary":"Delete a User's Broadcast","description":"Deletes one of the authenticated user's broadcasts. `id` must be the authenticated user. Deprecated: use DELETE /2/broadcasts/:id.","operationId":"deleteUserBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"broadcast_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUserBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Broadcasts"],"summary":"Get a User's Broadcast","description":"Returns one of the authenticated user's broadcasts. `id` must be the authenticated user. Deprecated: use GET /2/broadcasts/:id.","operationId":"getUserBroadcast","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"broadcast_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserBroadcastResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/broadcasts/{broadcast_id}/state":{"put":{"tags":["Broadcasts"],"summary":"Publish or End a User's Broadcast","description":"Publishes or ends one of the authenticated user's broadcasts. `id` must be the authenticated user. `PUBLISH` takes a broadcast created with POST /2/users/:id/broadcasts live once its source is receiving video, and posts it unless `should_not_tweet` is true. `END` ends the broadcast. Deprecated: use PUT /2/broadcasts/:id/state to end a broadcast.","operationId":"updateUserBroadcastState","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"broadcast_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,24}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserBroadcastStateRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserBroadcastStateResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/dm/block":{"post":{"tags":["Users"],"summary":"Block DMs","description":"Blocks direct messages to or from a specific User by their ID for the authenticated user.","operationId":"blockUsersDms","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockUsersDmsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/dm/unblock":{"post":{"tags":["Users"],"summary":"Unblock DMs","description":"Unblocks direct messages to or from a specific User by their ID for the authenticated user.","operationId":"unblockUsersDms","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnblockUsersDmsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/followed_lists":{"get":{"tags":["Users"],"summary":"Get Followed Lists","description":"Retrieves a list of Lists followed by a specific User by their ID.","operationId":"getUsersFollowedLists","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A 64-bit signed integer.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/ListFieldsParameter"},{"$ref":"#/components/parameters/ListExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersFollowedListsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Users"],"summary":"Follow List","description":"Causes the authenticated user to follow a specific List by its ID.","operationId":"followList","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowListRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowListResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/followed_lists/{list_id}":{"delete":{"tags":["Users"],"summary":"Unfollow List","description":"Causes the authenticated user to unfollow a List by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/lists/list-follows/api-reference/delete-users-id-followed-lists-list_id"},"operationId":"unfollowList","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"list_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfollowListResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/followers":{"get":{"tags":["Users"],"summary":"Get Followers","description":"Retrieves a list of Users who follow a specific User by their ID.","operationId":"getUsersFollowers","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","description":"The maximum number of users to return.","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"The next_token or previous_token from a previous response, to fetch that page. A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersFollowersResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/following":{"get":{"tags":["Users"],"summary":"Get Following","description":"Retrieves a list of Users followed by a specific User by their ID.","operationId":"getUsersFollowing","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","description":"The maximum number of users to return.","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"The next_token or previous_token from a previous response, to fetch that page. A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":16},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersFollowingResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Users"],"summary":"Follow User","description":"Causes the authenticated user to follow a specific User by their ID.","operationId":"followUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowUserRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowUserResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/liked_tweets":{"get":{"tags":["Users"],"summary":"Get Liked Posts","description":"Retrieves a list of Posts liked by a specific User by their ID.","operationId":"getUsersLikedPosts","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":5,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersLikedPostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/likes":{"post":{"tags":["Users"],"summary":"Like Post","description":"Causes the authenticated user to like a specific Post by its ID.","operationId":"likePost","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LikePostRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LikePostResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/likes/{tweet_id}":{"delete":{"tags":["Users"],"summary":"Unlike Post","description":"Causes the authenticated user to unlike a specific Post by its ID.","operationId":"unlikePost","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"tweet_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PostId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnlikePostResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/list_memberships":{"get":{"tags":["Users"],"summary":"Get List Memberships","description":"Retrieves a list of Lists that a specific User is a member of by their ID.","operationId":"getUsersListMemberships","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/ListFieldsParameter"},{"$ref":"#/components/parameters/ListExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersListMembershipsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/mentions":{"get":{"tags":["Users"],"summary":"Get Mentions","description":"Retrieves a list of Posts that mention a specific User by their ID.\n\nWhen both are provided, `start_time` must be earlier than `end_time`. When both are provided, `since_id` must be less than `until_id`.","operationId":"getUsersMentions","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":5,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"start_time","in":"query","description":"Must be on or after 2010-11-06.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"Must be on or after 2010-11-06.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"since_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"until_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersMentionsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/muting":{"get":{"tags":["Users"],"summary":"Get Muting","description":"Retrieves a list of Users muted by the authenticated user.","operationId":"getUsersMuting","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/UserExpansionsParameter"},{"$ref":"#/components/parameters/PostFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersMutingResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Users"],"summary":"Mute User","description":"Causes the authenticated user to mute a specific User by their ID.","operationId":"muteUser","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteUserRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteUserResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/owned_lists":{"get":{"tags":["Users"],"summary":"Get Owned Lists","description":"Retrieves a list of Lists owned by a specific User by their ID.","operationId":"getUsersOwnedLists","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32","default":100},"style":"form"},{"name":"pagination_token","in":"query","description":"A 64-bit signed integer.","required":false,"schema":{"type":"string"},"style":"form"},{"$ref":"#/components/parameters/ListFieldsParameter"},{"$ref":"#/components/parameters/ListExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersOwnedListsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/pinned_lists":{"get":{"tags":["Users"],"summary":"Get Pinned Lists","description":"Retrieves a list of Lists pinned by the authenticated user.","operationId":"getUsersPinnedLists","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"$ref":"#/components/parameters/ListFieldsParameter"},{"$ref":"#/components/parameters/ListExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersPinnedListsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Users"],"summary":"Pin List","description":"Causes the authenticated user to pin a specific List by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/lists/pinned-lists/api-reference/post-users-id-pinned-lists"},"operationId":"pinList","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PinListRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PinListResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/pinned_lists/{list_id}":{"delete":{"tags":["Users"],"summary":"Unpin List","description":"Causes the authenticated user to unpin a List by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/lists/pinned-lists/api-reference/delete-users-id-pinned-lists-list_id"},"operationId":"unpinList","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"list_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ListId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnpinListResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/public_keys":{"get":{"tags":["Users"],"summary":"Get User Public Keys","description":"Returns a user's registered public keys for X Chat encryption.\n\nEvery key field is returned by default, so public_key.fields can be left out. It takes public_key, signing_public_key, identity_public_key_signature, public_key_version and juicebox_config.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"getUsersPublicKey","parameters":[{"name":"id","in":"path","description":"Numeric user ID, not `me`. For your own keys, use the `id` from Get My User (`GET /2/users/me`).","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"$ref":"#/components/parameters/PublicKeyFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersPublicKeyResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Chat"],"summary":"Add Public Key","description":"Registers a user's public key for X Chat encryption.","externalDocs":{"url":"https://developer.x.com/"},"operationId":"addUserPublicKey","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddUserPublicKeyRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddUserPublicKeyResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/retweets":{"post":{"tags":["Users"],"summary":"Repost Post","description":"Causes the authenticated user to repost a specific Post by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/tweets/retweets/api-reference/post-users-id-retweets"},"operationId":"repostPost","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepostPostRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepostPostResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/retweets/{source_tweet_id}":{"delete":{"tags":["Users"],"summary":"Unrepost Post","description":"Causes the authenticated user to unrepost a specific Post by its ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/tweets/retweets/api-reference/delete-users-id-retweets-tweet_id"},"operationId":"unrepostPost","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"source_tweet_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnrepostPostResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/sources":{"get":{"tags":["Broadcasts"],"summary":"List a User's Stream Sources","description":"Returns the authenticated user's RTMP/RTMPS stream sources (empty array if none). `id` must be the authenticated user.","operationId":"listUserSources","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUserSourcesResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Broadcasts"],"summary":"Create a Stream Source for a User","description":"Creates a persistent RTMP/RTMPS ingest point for the authenticated user. `id` must be the authenticated user.","operationId":"createUserSource","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserSourceRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserSourceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/sources/{source_id}":{"delete":{"tags":["Broadcasts"],"summary":"Delete a User's Stream Source","description":"Deletes one of the authenticated user's stream sources. `id` must be the authenticated user. Success is an empty object.","operationId":"deleteUserSource","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"source_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,32}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUserSourceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"get":{"tags":["Broadcasts"],"summary":"Get a User's Stream Source","description":"Returns one of the authenticated user's stream sources. `id` must be the authenticated user.","operationId":"getUserSource","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"source_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,32}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserSourceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Broadcasts"],"summary":"Rename a User's Stream Source","description":"Renames one of the authenticated user's stream sources. `id` must be the authenticated user.","operationId":"updateUserSource","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"source_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,32}$"},"style":"simple"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserSourceRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserSourceResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/timelines/reverse_chronological":{"get":{"tags":["Users"],"summary":"Get Timeline","description":"Retrieves a reverse chronological list of Posts in the authenticated user's Timeline.\n\nWhen both are provided, `start_time` must be earlier than `end_time`. When both are provided, `since_id` must be less than `until_id`.","operationId":"getUsersTimeline","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"start_time","in":"query","description":"Must be on or after 2010-11-06.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"Must be on or after 2010-11-06.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"since_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"until_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"exclude","in":"query","required":false,"schema":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["replies","retweets"]}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersTimelineResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{id}/tweets":{"get":{"tags":["Users"],"summary":"Get Posts","description":"Retrieves a list of Posts authored by a specific User by their ID.\n\nWhen both are provided, `start_time` must be earlier than `end_time`. When both are provided, `since_id` must be less than `until_id`.","operationId":"getUsersPosts","parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","minimum":5,"maximum":100,"format":"int32"},"style":"form"},{"name":"pagination_token","in":"query","description":"A base32hex-encoded pagination token.","required":false,"schema":{"type":"string","minLength":1},"style":"form"},{"name":"start_time","in":"query","description":"Must be on or after 2010-11-06.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"end_time","in":"query","description":"Must be on or after 2010-11-06.","required":false,"schema":{"type":"string","format":"date-time"},"style":"form"},{"name":"since_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"until_id","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"form"},{"name":"exclude","in":"query","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["replies","retweets"]}},"explode":false,"style":"form"},{"$ref":"#/components/parameters/PostFieldsParameter"},{"$ref":"#/components/parameters/PostExpansionsParameter"},{"$ref":"#/components/parameters/UserFieldsParameter"},{"$ref":"#/components/parameters/MediaFieldsParameter"},{"$ref":"#/components/parameters/PollFieldsParameter"},{"$ref":"#/components/parameters/PlaceFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUsersPostsResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{source_user_id}/blocking/{target_user_id}":{"delete":{"tags":["Users"],"summary":"Unblock User","description":"Causes the source User to unblock the target User. Unblocking does not restore any follow the block removed, so blocking and then unblocking a follower removes them as a follower: do that only for followers the authenticated User approved removing.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/users/blocks/api-reference/delete-users-user_id-blocking"},"operationId":"usersIdUnblock","parameters":[{"name":"source_user_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"target_user_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersIdUnblockResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{source_user_id}/following/{target_user_id}":{"delete":{"tags":["Users"],"summary":"Unfollow User","description":"Causes the authenticated user to unfollow a specific user by their ID.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/users/follows/api-reference/delete-users-source_id-following"},"operationId":"unfollowUser","parameters":[{"name":"source_user_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"target_user_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfollowUserResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/users/{source_user_id}/muting/{target_user_id}":{"delete":{"tags":["Users"],"summary":"Unmute User","description":"Causes the authenticated user to unmute the target user.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/users/mutes/api-reference/delete-users-user_id-muting"},"operationId":"unmuteUser","parameters":[{"name":"source_user_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"},{"name":"target_user_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/UserId"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnmuteUserResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/webhooks":{"get":{"tags":["Webhooks"],"summary":"Get Webhook","description":"Get a list of webhook configs associated with a client app.","externalDocs":{"url":"https://docs.x.com/x-api/webhooks/introduction"},"operationId":"getWebhooks","parameters":[{"$ref":"#/components/parameters/WebhookConfigFieldsParameter"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetWebhooksResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"post":{"tags":["Webhooks"],"summary":"Create Webhook","description":"Creates a new webhook configuration.","externalDocs":{"url":"https://docs.x.com/x-api/webhooks/introduction"},"operationId":"createWebhooks","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhooksRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhooksResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/webhooks/replay":{"post":{"tags":["Webhooks"],"summary":"Create Replay Job for Webhook","description":"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.","externalDocs":{"url":"https://docs.x.com/x-api/webhooks/introduction"},"operationId":"createWebhookReplayJob","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookReplayJobRequest"}}},"required":true},"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookReplayJobResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}},"/api/2/webhooks/{webhook_id}":{"delete":{"tags":["Webhooks"],"summary":"Delete Webhook","description":"Deletes an existing webhook configuration.","externalDocs":{"url":"https://docs.x.com/x-api/webhooks/introduction"},"operationId":"deleteWebhooks","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteWebhooksResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"},"put":{"tags":["Webhooks"],"summary":"Validate Webhook","description":"Triggers a CRC check for a given webhook.","externalDocs":{"url":"https://docs.x.com/x-api/webhooks/introduction"},"operationId":"validateWebhooks","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,19}$"},"style":"simple"}],"responses":{"200":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateWebhooksResponse"}}}},"402":{"description":"Payment Required. Authorize x402 payment up to the advertised cap and retry the same request."},"default":{"description":"The request has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"x-payment-info":{"price":{"mode":"upto","currency":"USD","maxAmount":"10.00","settlement":"Successful responses settle using X's public non-owned read/write unit prices. Non-2xx upstream responses are not settled."},"protocols":[{"x402":{"scheme":"upto"}}]},"x-simple-x-api-pricing":{"reads":{"analytics":0.005,"community":0.005,"dmEvent":0.01,"list":0.005,"media":0.005,"note":0.005,"post":0.005,"space":0.005,"trend":0.01,"user":0.01},"actions":{"bookmark":0.005,"contentCreate":0.015,"contentCreateWithUrl":0.2,"contentManage":0.005,"countsAll":0.01,"countsRecent":0.005,"dmInteractionCreate":0.015,"interactionDelete":0.01,"listCreate":0.01,"listManage":0.005,"mediaMetadata":0.005,"muteDelete":0.005,"privacyUpdate":0.01,"userInteractionCreate":0.015},"minSuccessPrice":"0.005"},"x-simple-x-api-upstream-auth":"server-bearer-token"}}},"servers":[{"url":"https://simple-x-api.com","description":"simple-x-api paid proxy for X API v2"}],"tags":[{"name":"Account","description":"Endpoints for managing the authenticated user's X Developer Platform account","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/introduction"}},{"name":"Account Activity","description":"Endpoints relating to retrieving, managing Account Activity subscriptions","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/enterprise-gnip-2.0/fundamentals/account-activity"}},{"name":"Activity","description":"Endpoints relating to retrieving, managing activity subscriptions","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/enterprise-gnip-2.0/fundamentals/account-activity"}},{"name":"Articles","description":"Endpoints related to retrieving, creating & modifying Articles","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/articles/introduction"}},{"name":"Bots","description":"Endpoints related to creating and managing bot accounts and their tokens","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/introduction"}},{"name":"Broadcasts","description":"Endpoints related to live broadcasts and their chat","externalDocs":{"description":"Find out more","url":"https://developer.x.com/"}},{"name":"Calls","description":"Endpoints related to starting, scheduling, and joining X calls","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/introduction"}},{"name":"Chat","description":"Endpoints related to Chat encrypted messaging","externalDocs":{"description":"Find out more","url":"https://developer.x.com/"}},{"name":"Communities","description":"Endpoints related to retrieving and managing Communities","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/communities/introduction"}},{"name":"Community Notes","description":"Endpoints related to retrieving, searching, and modifying Community Notes","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/community-notes/introduction"}},{"name":"Compliance","description":"Endpoints related to keeping X data in your systems compliant","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/compliance/batch-compliance/introduction"}},{"name":"Connections","description":"Endpoints related to streaming connections","externalDocs":{"description":"Find out more","url":"https://developer.x.com/en/docs/x-api/connections"}},{"name":"Direct Messages","description":"Endpoints related to retrieving, managing Direct Messages","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/direct-messages/introduction"}},{"name":"General","description":"Miscellaneous endpoints for general API functionality","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/introduction"}},{"name":"Lists","description":"Endpoints related to retrieving, managing Lists","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/lists/introduction"}},{"name":"Media","description":"Endpoints related to retrieving and uploading Media","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/media/introduction"}},{"name":"News","description":"Endpoint for retrieving news stories","externalDocs":{"description":"Find out more","url":"https://developer.x.com/"}},{"name":"Posts","description":"Endpoints related to retrieving, searching, and modifying Posts","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/posts/introduction"}},{"name":"Spaces","description":"Endpoints related to retrieving, managing Spaces","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/spaces/introduction"}},{"name":"Stream","description":"Endpoints related to streaming","externalDocs":{"description":"Find out more","url":"https://developer.x.com/"}},{"name":"Trends","description":"Endpoint for retrieving trends","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/trends/introduction"}},{"name":"Usage","description":"Endpoints related to retrieving usage","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/usage/introduction"}},{"name":"Users","description":"Endpoints related to retrieving, managing relationships of Users","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/users/introduction"}},{"name":"Webhooks","description":"Endpoints relating to retrieving, managing webhooks and webhook configs","externalDocs":{"description":"Find out more","url":"https://docs.x.com/x-api/enterprise-gnip-2.0/fundamentals/account-activity"}}],"components":{"schemas":{"AcceptChatMessageRequestResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AcceptChatMessageRequestResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AcceptChatMessageRequestResponseData":{"type":"object","required":["accepted"],"properties":{"accepted":{"type":"boolean","description":"Whether the message request was accepted."}}},"ActivityEventId":{"type":"string","description":"The unique identifier of an Activity event.","pattern":"^[0-9]{1,19}$","example":"1146654567674912769"},"ActivityStreamResponse":{"type":"object","description":"An activity event or error that can be returned by the x activity streaming API.","properties":{"data":{"type":"object","properties":{"created_at":{"type":"string","description":"The time the activity occurred, not when it was delivered.","format":"date-time","example":"2026-10-06T22:20:14.123Z"},"event_type":{"type":"string"},"event_uuid":{"$ref":"#/components/schemas/ActivityEventId"},"filter":{"$ref":"#/components/schemas/ActivitySubscriptionFilter"},"includes":{"$ref":"#/components/schemas/Expansions"},"payload":{"$ref":"#/components/schemas/ActivityStreamingResponsePayload"},"tag":{"type":"string"}}},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}}}},"ActivityStreamingResponsePayload":{"oneOf":[{"$ref":"#/components/schemas/ProfileUpdateActivityResponsePayload"},{"$ref":"#/components/schemas/NewsActivityResponsePayload"},{"$ref":"#/components/schemas/FollowActivityResponsePayload"},{"$ref":"#/components/schemas/Post"},{"$ref":"#/components/schemas/PostDeleteActivityResponsePayload"},{"$ref":"#/components/schemas/LikeWithPostAuthor"}],"discriminator":{"propertyName":"../event_type","mapping":{"follow.follow":"#/components/schemas/FollowActivityResponsePayload","follow.unfollow":"#/components/schemas/FollowActivityResponsePayload","like.create":"#/components/schemas/LikeWithPostAuthor","news.new":"#/components/schemas/NewsActivityResponsePayload","post.create":"#/components/schemas/Post","post.delete":"#/components/schemas/PostDeleteActivityResponsePayload","post.mention.create":"#/components/schemas/Post","post.quote.create":"#/components/schemas/Post","post.reply.create":"#/components/schemas/Post","post.repost.create":"#/components/schemas/Post","profile.update.affiliate_badge":"#/components/schemas/ProfileUpdateActivityResponsePayload","profile.update.banner_picture":"#/components/schemas/ProfileUpdateActivityResponsePayload","profile.update.bio":"#/components/schemas/ProfileUpdateActivityResponsePayload","profile.update.geo":"#/components/schemas/ProfileUpdateActivityResponsePayload","profile.update.handle":"#/components/schemas/ProfileUpdateActivityResponsePayload","profile.update.profile_picture":"#/components/schemas/ProfileUpdateActivityResponsePayload","profile.update.screenname":"#/components/schemas/ProfileUpdateActivityResponsePayload","profile.update.url":"#/components/schemas/ProfileUpdateActivityResponsePayload","profile.update.verified_badge":"#/components/schemas/ProfileUpdateActivityResponsePayload","subscriptions.subscribe":"#/components/schemas/FollowActivityResponsePayload","subscriptions.unsubscribe":"#/components/schemas/FollowActivityResponsePayload"}}},"ActivitySubscriptionFilter":{"type":"object","description":"An XAA subscription filter.","properties":{"direction":{"type":"string","description":"Optional direction filter for directional events.","enum":["inbound","outbound"]},"keyword":{"$ref":"#/components/schemas/Keyword"},"user_id":{"$ref":"#/components/schemas/UserId"}},"additionalProperties":false},"AddChatGroupAdminsActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/AddChatGroupAdminsActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"AddChatGroupAdminsActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/AddChatGroupAdminsActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"AddChatGroupAdminsActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"AddChatGroupAdminsRequest":{"type":"object","required":["user_ids"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/AddChatGroupAdminsActionSignatures"}},"user_ids":{"type":"array","description":"List of member user IDs to make admins.","minItems":1,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}}},"additionalProperties":false},"AddChatGroupAdminsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AddChatGroupAdminsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AddChatGroupAdminsResponseData":{"type":"object","required":["added"],"properties":{"added":{"type":"boolean","description":"Whether the admins were added."}}},"AddChatGroupMembersActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/AddChatGroupMembersActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"AddChatGroupMembersActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/AddChatGroupMembersActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"AddChatGroupMembersActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"AddChatGroupMembersConversationParticipantKeys":{"type":"object","required":["user_id","encrypted_conversation_key","public_key_version"],"properties":{"encrypted_conversation_key":{"type":"string","description":"Conversation key encrypted with this participant's public key."},"public_key_version":{"type":"string","description":"Version of the participant's public key used for encryption."},"user_id":{"type":"string","description":"Participant user ID."}}},"AddChatGroupMembersRequest":{"type":"object","required":["user_ids"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/AddChatGroupMembersActionSignatures"}},"conversation_key_version":{"type":"string","description":"Version of the new rotated conversation key."},"conversation_participant_keys":{"type":"array","description":"Encrypted conversation keys for each participant.","items":{"$ref":"#/components/schemas/AddChatGroupMembersConversationParticipantKeys"}},"encrypted_avatar_url":{"type":"string","description":"Re-encrypted group avatar URL with new conversation key."},"encrypted_title":{"type":"string","description":"Re-encrypted group title with new conversation key."},"user_ids":{"type":"array","description":"List of user IDs to add to the group conversation.","items":{"type":"string"}}}},"AddChatGroupMembersResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AddChatModeratorRequest":{"type":"object","required":["user_id"],"properties":{"user_id":{"type":"string","description":"The user to appoint as a moderator.","pattern":"^[1-9][0-9]{0,18}$"}},"additionalProperties":false},"AddChatModeratorResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AddChatModeratorResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AddChatModeratorResponseData":{"type":"object","required":["moderator_user_ids"],"properties":{"moderator_user_ids":{"type":"array","description":"The user IDs currently appointed as chat moderators.","items":{"type":"string"}}}},"AddConversationKeysActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/AddConversationKeysActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"AddConversationKeysActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/AddConversationKeysActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"AddConversationKeysActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"AddConversationKeysConversationParticipantKeys":{"type":"object","required":["user_id","encrypted_conversation_key","public_key_version"],"properties":{"encrypted_conversation_key":{"type":"string","description":"Conversation key encrypted with this participant's public key."},"public_key_version":{"type":"string","description":"Version of the participant's public key used for encryption."},"user_id":{"type":"string","description":"Participant user ID."}}},"AddConversationKeysRequest":{"type":"object","required":["conversation_key_version","conversation_participant_keys"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/AddConversationKeysActionSignatures"}},"base64_encoded_key_rotation":{"type":"string","description":"Base64-encoded key rotation payload for ratchet tree key management."},"conversation_key_version":{"type":"string","description":"Version of the conversation encryption key (typically a timestamp in milliseconds)."},"conversation_participant_keys":{"type":"array","description":"Encrypted conversation keys for each participant.","items":{"$ref":"#/components/schemas/AddConversationKeysConversationParticipantKeys"}}}},"AddConversationKeysResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AddConversationKeysResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AddConversationKeysResponseData":{"type":"object","properties":{"conversation_id":{"type":"string","description":"Canonical ID of the conversation."},"sequence_id":{"type":"string","description":"Sequence ID of the key change."}}},"AddListsMemberRequest":{"type":"object","required":["user_id"],"properties":{"user_id":{"type":"string","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"AddListsMemberResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AddListsMemberResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AddListsMemberResponseData":{"type":"object","required":["is_member"],"properties":{"is_member":{"type":"boolean","description":"Indicates whether the user is a member of the List."}}},"AddMediaToLibraryMonetization":{"type":"object","properties":{"allowed_countries":{"type":"array","description":"ISO 3166-1 alpha-2 codes of the only countries the video is monetized in. Omit to monetize everywhere.","items":{"type":"string","pattern":"^[A-Za-z]{2}$"}},"blocked_advertiser_category_ids":{"type":"array","description":"Advertiser categories (from the categories endpoint) whose ads may not run against the video.","items":{"type":"integer"}},"blocked_advertiser_ids":{"type":"array","description":"Advertiser account ids whose ads may not run against the video.","items":{"type":"string"}},"enabled":{"type":"boolean","description":"Whether ads may run against the video. Requires the account to be enrolled in video monetization."},"program_id":{"type":"string","description":"Amplify program to monetize the video through, instead of `video_category_ids`."},"video_category_ids":{"type":"array","description":"Video category ids (from the categories endpoint) describing the content; at most one when creating. Required when enabled, unless `program_id` is set.","maxItems":2,"items":{"type":"integer"}}},"additionalProperties":false},"AddMediaToLibraryRequest":{"type":"object","required":["media_key"],"properties":{"description":{"type":"string","description":"Description shown with the video in the player card.","maxLength":200},"label":{"type":"string","description":"Label of the item in the library."},"media_key":{"type":"string","description":"The media key of the uploaded image, GIF or video to add.","pattern":"^[0-9]+_[0-9]+$"},"monetization":{"description":"Monetization settings. Videos only.","$ref":"#/components/schemas/AddMediaToLibraryMonetization"},"name":{"type":"string","description":"Name of the item in the library."},"title":{"type":"string","description":"Title shown with the video in the player card.","maxLength":70}}},"AddMediaToLibraryResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AddMediaToLibraryResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AddMediaToLibraryResponseData":{"type":"object","required":["media_key"],"properties":{"media_key":{"type":"string","description":"The media key of the library item."}}},"AddPostToAmplifyProgramsRequest":{"type":"object","required":["post_id","program_ids"],"properties":{"blocked_advertiser_ids":{"type":"array","description":"Advertiser account ids whose pre-rolls may not run on this post.","items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"post_id":{"type":"string","description":"The post to publish. It must belong to the user.","pattern":"^[0-9]{1,19}$"},"program_ids":{"type":"array","description":"The programs to publish the post into.","minItems":1,"items":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},"promotion_ends_at":{"type":"string","description":"When promotion of the post ends (ISO 8601)."}}},"AddPostToAmplifyProgramsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AddPostToAmplifyProgramsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AddPostToAmplifyProgramsResponseData":{"type":"object","required":["added"],"properties":{"added":{"type":"boolean","description":"Whether the post was published into the programs."}}},"AddUserPublicKeyPublicKey":{"type":"object","properties":{"identity_public_key_signature":{"type":"string","description":"Signature over the identity public key."},"public_key":{"type":"string","description":"Identity public key (base64 encoded)."},"public_key_fingerprint":{"type":"string","description":"Fingerprint of the identity public key."},"registration_method":{"type":"string","description":"Registration method for the public key."},"signing_public_key":{"type":"string","description":"Signing public key (base64 encoded)."},"signing_public_key_signature":{"type":"string","description":"Signature over the signing public key."}}},"AddUserPublicKeyRequest":{"type":"object","required":["public_key"],"properties":{"public_key":{"description":"Public key registration payload.","$ref":"#/components/schemas/AddUserPublicKeyPublicKey"}}},"AddUserPublicKeyResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AddUserPublicKeyResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AddUserPublicKeyResponseData":{"type":"object","properties":{"juicebox_config":{"type":"object","description":"Juicebox recovery-service configuration for this key."},"public_key_version":{"type":"string","description":"Version assigned to the registered public key."}}},"Analytics":{"type":"object","properties":{"app_install_attempts":{"type":"integer"},"app_opens":{"type":"integer"},"bookmarks":{"type":"integer"},"detail_expands":{"type":"integer"},"email_tweet":{"type":"integer"},"engagements":{"type":"integer"},"follows":{"type":"integer"},"hashtag_clicks":{"type":"integer"},"id":{"type":"string"},"impressions":{"type":"integer"},"likes":{"type":"integer"},"media_views":{"type":"integer"},"permalink_clicks":{"type":"integer"},"quote_tweets":{"type":"integer"},"replies":{"type":"integer"},"retweets":{"type":"integer"},"shares":{"type":"integer"},"timestamp":{"type":"string"},"timestamped_metrics":{"$ref":"#/components/schemas/AnalyticsTimestampedMetrics"},"unfollows":{"type":"integer"},"unlikes":{"type":"integer"},"url_clicks":{"type":"integer"},"user_profile_clicks":{"type":"integer"}}},"AnalyticsId":{"type":"string","description":"Unique identifier of a Analytics","pattern":"^[0-9]{1,19}$"},"AnalyticsTimestampedMetrics":{"type":"array","description":"Time-bucketed engagement metrics for the Post, one entry per granularity bucket.","items":{"type":"object","properties":{"metrics":{"type":"object","description":"Engagement metric counts for this bucket.","properties":{"app_install_attempts":{"type":"integer","format":"int64","nullable":true},"app_opens":{"type":"integer","format":"int64","nullable":true},"bookmarks":{"type":"integer","format":"int64","nullable":true},"detail_expands":{"type":"integer","format":"int64","nullable":true},"email_tweet":{"type":"integer","format":"int64","nullable":true},"engagements":{"type":"integer","format":"int64","nullable":true},"follows":{"type":"integer","format":"int64","nullable":true},"hashtag_clicks":{"type":"integer","format":"int64","nullable":true},"impressions":{"type":"integer","format":"int64","nullable":true},"likes":{"type":"integer","format":"int64","nullable":true},"media_views":{"type":"integer","format":"int64","nullable":true},"permalink_clicks":{"type":"integer","format":"int64","nullable":true},"quote_tweets":{"type":"integer","format":"int64","nullable":true},"replies":{"type":"integer","format":"int64","nullable":true},"retweets":{"type":"integer","format":"int64","nullable":true},"shares":{"type":"integer","format":"int64","nullable":true},"unfollows":{"type":"integer","format":"int64","nullable":true},"unlikes":{"type":"integer","format":"int64","nullable":true},"url_clicks":{"type":"integer","format":"int64","nullable":true},"user_profile_clicks":{"type":"integer","format":"int64","nullable":true}},"nullable":true},"timestamp":{"type":"string","description":"Start of the metrics bucket, as an ISO 8601 date-time.","nullable":true}}}},"AppendMediaUploadRequest":{"type":"object","required":["media","segment_index"],"properties":{"media":{"anyOf":[{"type":"string","format":"binary"},{"type":"string","format":"byte"}],"description":"One segment of the file: base64-encoded in JSON bodies, raw bytes in multipart bodies."},"segment_index":{"type":"integer","description":"The segment's position in the file, counting from 0.","minimum":0,"maximum":9999}},"additionalProperties":false},"AppendMediaUploadResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AppendMediaUploadResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"AppendMediaUploadResponseData":{"type":"object","properties":{"expires_at":{"type":"integer","description":"Epoch seconds when the upload session expires."}}},"ApproveChatGroupAdminRequestActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/ApproveChatGroupAdminRequestActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"ApproveChatGroupAdminRequestActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/ApproveChatGroupAdminRequestActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"ApproveChatGroupAdminRequestActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"ApproveChatGroupAdminRequestRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/ApproveChatGroupAdminRequestActionSignatures"}}},"additionalProperties":false},"ApproveChatGroupAdminRequestResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ApproveChatGroupAdminRequestResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ApproveChatGroupAdminRequestResponseData":{"type":"object","required":["approved"],"properties":{"approved":{"type":"boolean","description":"Whether the admin request was approved."}}},"ArchiveChatConversationActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/ArchiveChatConversationActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"ArchiveChatConversationActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/ArchiveChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"ArchiveChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"ArchiveChatConversationRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/ArchiveChatConversationActionSignatures"}}},"additionalProperties":false},"ArchiveChatConversationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ArchiveChatConversationResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ArchiveChatConversationResponseData":{"type":"object","required":["archived"],"properties":{"archived":{"type":"boolean","description":"Whether the conversation is archived for the authenticated user."}}},"ArticleCreateDraftContentState":{"type":"object","required":["blocks","entities"],"properties":{"blocks":{"type":"array","description":"The text blocks that make up the article body.","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateBlocks"}},"entities":{"type":"array","description":"Non-text entities referenced by blocks (links, embedded posts, images, emoji, markdown/code/tables, dividers, LaTeX). Full set matches article storage.","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateEntities"}}},"additionalProperties":false},"ArticleCreateDraftContentStateBlocks":{"type":"object","required":["text","type"],"properties":{"data":{"description":"Block-level metadata for mentions, hashtags, cashtags, and URLs.","$ref":"#/components/schemas/ArticleCreateDraftContentStateBlocksData"},"entity_ranges":{"type":"array","description":"Entity references. Each item has offset, length and key, the entity's key as an integer (0 for \"0\").","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateBlocksEntityRanges"}},"inline_style_ranges":{"type":"array","description":"Inline styles. Each item has offset, length and style: bold, italic or strikethrough, in lowercase.","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateBlocksInlineStyleRanges"}},"key":{"type":"string","description":"Optional block key."},"text":{"type":"string","description":"The text content of this block. For latex entities, this holds the LaTeX source; for divider/markdown/image/post atomic placeholders, typically a single space."},"type":{"type":"string","description":"The block type. Articles have two heading levels, header-one and header-two. Use atomic for non-text embeds (image, post, markdown, divider, latex).","enum":["unstyled","header-one","header-two","unordered-list-item","ordered-list-item","blockquote","atomic"]}},"additionalProperties":false},"ArticleCreateDraftContentStateBlocksData":{"type":"object","properties":{"cashtags":{"type":"array","description":"Cashtag spans in this block.","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateBlocksDataCashtags"}},"hashtags":{"type":"array","description":"Hashtag spans in this block.","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateBlocksDataHashtags"}},"mentions":{"type":"array","description":"Mention spans in this block.","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateBlocksDataMentions"}},"urls":{"type":"array","description":"URL spans in this block.","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateBlocksDataUrls"}}},"additionalProperties":false},"ArticleCreateDraftContentStateBlocksDataCashtags":{"type":"object","required":["from_index","to_index","text"],"properties":{"from_index":{"type":"integer","description":"Start index of the tagged span.","minimum":0},"text":{"type":"string","description":"The tagged text."},"to_index":{"type":"integer","description":"End index of the tagged span.","minimum":0}},"additionalProperties":false},"ArticleCreateDraftContentStateBlocksDataHashtags":{"type":"object","required":["from_index","to_index","text"],"properties":{"from_index":{"type":"integer","description":"Start index of the tagged span.","minimum":0},"text":{"type":"string","description":"The tagged text."},"to_index":{"type":"integer","description":"End index of the tagged span.","minimum":0}},"additionalProperties":false},"ArticleCreateDraftContentStateBlocksDataMentions":{"type":"object","required":["from_index","to_index","text"],"properties":{"from_index":{"type":"integer","description":"Start index of the tagged span.","minimum":0},"text":{"type":"string","description":"The tagged text."},"to_index":{"type":"integer","description":"End index of the tagged span.","minimum":0}},"additionalProperties":false},"ArticleCreateDraftContentStateBlocksDataUrls":{"type":"object","required":["from_index","to_index","text"],"properties":{"from_index":{"type":"integer","description":"Start index of the tagged span.","minimum":0},"text":{"type":"string","description":"The tagged text."},"to_index":{"type":"integer","description":"End index of the tagged span.","minimum":0}},"additionalProperties":false},"ArticleCreateDraftContentStateBlocksEntityRanges":{"type":"object","required":["key","offset","length"],"properties":{"key":{"type":"integer","description":"The key of the referenced entity, as an integer.","minimum":0},"length":{"type":"integer","description":"Length of the entity range.","minimum":0},"offset":{"type":"integer","description":"Start offset in the text.","minimum":0}},"additionalProperties":false},"ArticleCreateDraftContentStateBlocksInlineStyleRanges":{"type":"object","required":["offset","length","style"],"properties":{"length":{"type":"integer","description":"Length of the styled range.","minimum":0},"offset":{"type":"integer","description":"Start offset in the text.","minimum":0},"style":{"type":"string","description":"The inline style.","enum":["bold","italic","strikethrough"]}},"additionalProperties":false},"ArticleCreateDraftContentStateEntities":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","description":"The entity's key, a string such as \"0\". entity_ranges refer to it as an integer."},"value":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateEntitiesValue"}},"additionalProperties":false},"ArticleCreateDraftContentStateEntitiesValue":{"type":"object","required":["type","mutability","data"],"properties":{"data":{"description":"Fields: post_id (post), url (link), media_items (image), markdown (markdown), entity_key (emoji). divider and latex use an empty data object; latex source is the block text, and emoji uses the block text for the character(s). Tables are markdown; article storage has no table entity type.","$ref":"#/components/schemas/ArticleCreateDraftContentStateEntitiesValueData"},"mutability":{"type":"string","description":"Whether the entity can be edited. Recommended: immutable for post, image, divider, latex; mutable for link and markdown (matches the in-app Articles composer).","enum":["immutable","mutable","segmented"]},"type":{"type":"string","description":"The entity type. markdown carries code blocks, GFM tables, and other Markdown; emoji maps to backend TWEMOJI (Twemoji is internal); divider is a horizontal rule; latex renders TeX from the block text. Tables are not a separate enum value — use type markdown with a pipe table in data.markdown.","enum":["post","link","image","emoji","markdown","divider","latex"]}},"additionalProperties":false},"ArticleCreateDraftContentStateEntitiesValueData":{"type":"object","properties":{"caption":{"type":"string","description":"Caption text."},"entity_key":{"type":"string","description":"Opaque entity key. Used with type emoji (and reserved for other keyed embeds) to match in-app Articles composer payloads."},"markdown":{"type":"string","description":"Markdown body for type markdown. Use fenced code blocks (```lang ... ```) for code. Max weighted length is enforced by the Articles backend (10,000 per article)."},"media_items":{"type":"array","description":"Media keys. Used with type image.","items":{"$ref":"#/components/schemas/ArticleCreateDraftContentStateEntitiesValueDataMediaItems"}},"post_id":{"type":"string","description":"The ID of the post to embed. Used with type post."},"url":{"type":"string","description":"The URL. Used with type link."}},"additionalProperties":false},"ArticleCreateDraftContentStateEntitiesValueDataMediaItems":{"type":"object","required":["media_category","media_id"],"properties":{"media_category":{"type":"string"},"media_id":{"type":"string"}},"additionalProperties":false},"ArticleCreateDraftCoverMedia":{"type":"object","required":["media_category","media_id"],"properties":{"media_category":{"type":"string","description":"The media category (e.g. tweet_image)."},"media_id":{"type":"string","description":"The media ID from the media upload endpoint."}},"additionalProperties":false},"ArticleCreateDraftRequest":{"type":"object","description":"Create a draft Article.","required":["title","content_state"],"properties":{"content_state":{"description":"DraftJS content state representing the article body. Special formatting (markdown/code/tables, dividers, LaTeX, emoji, images, embedded posts) uses atomic blocks with entity_ranges pointing into entities.","$ref":"#/components/schemas/ArticleCreateDraftContentState"},"cover_media":{"description":"Optional cover media for the Article.","$ref":"#/components/schemas/ArticleCreateDraftCoverMedia"},"title":{"type":"string","description":"The title of the Article.","minLength":1}},"additionalProperties":false},"ArticleCreateDraftResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ArticleCreateDraftResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ArticleCreateDraftResponseData":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","description":"Unique identifier of the created draft Article.","pattern":"^[0-9]{1,19}$"},"title":{"type":"string","description":"The title of the draft Article."}}},"ArticlePublishResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ArticlePublishResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ArticlePublishResponseData":{"type":"object","required":["post_id"],"properties":{"post_id":{"type":"string","description":"The ID of the post created for the published Article."}}},"BlockUsersDmsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BlockUsersDmsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"BlockUsersDmsResponseData":{"type":"object","required":["blocked"],"properties":{"blocked":{"type":"boolean","description":"Indicates whether the target user is DM-blocked."}}},"Broadcast":{"type":"object","properties":{"available_for_replay":{"type":"boolean"},"broadcast_id":{"type":"string"},"chat_option":{"type":"integer","description":"Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4 accounts the host follows, 5 the host's subscribers, 6 accounts followed by an account the host follows."},"created_at_ms":{"type":"string"},"end_ms":{"type":"string"},"height":{"type":"integer"},"id":{"type":"string"},"image_url":{"type":"string"},"image_url_medium":{"type":"string"},"image_url_small":{"type":"string"},"is_high_latency":{"type":"boolean"},"language":{"type":"string"},"live_category_id":{"type":"string","description":"Id of the live category the host picked for the broadcast, as listed by GET /2/broadcasts/categories. Omitted when the broadcast has none."},"media_key":{"type":"string"},"scheduled_end_ms":{"type":"string"},"scheduled_start_ms":{"type":"string"},"share_url":{"type":"string"},"source_id":{"type":"string","description":"Id of the source the broadcast streams from, as returned by GET /2/sources."},"start_ms":{"type":"string"},"state":{"type":"string"},"title":{"type":"string"},"total_watched":{"type":"string"},"total_watching":{"type":"string"},"tweet_id":{"type":"string"},"twitter_user_id":{"type":"string"},"updated_at_ms":{"type":"string"},"width":{"type":"integer"}}},"BroadcastChatMessage":{"type":"object","properties":{"author_id":{"type":"string"},"author_name":{"type":"string"},"author_username":{"type":"string"},"broadcast_id":{"type":"string"},"created_at_ms":{"type":"string"},"id":{"type":"string"},"reply_to":{"type":"string"},"text":{"type":"string"}}},"BroadcastChatMute":{"type":"object","properties":{"end_at_ms":{"type":"string","description":"The Unix timestamp in milliseconds when the mute expires. Absent for indefinite mutes."},"user_id":{"type":"string","description":"The muted user's ID."}}},"Call":{"type":"object","properties":{"conversation_id":{"type":"string","description":"XChat conversation the call belongs to, if any."},"created_at":{"type":"string","description":"Creation time (RFC 3339)."},"host_id":{"type":"string","description":"X user id of the call's host."},"id":{"type":"string","description":"Unique identifier of the call; also its join secret."},"join_policy":{"type":"string","description":"Who may join: open (anyone with the link), closed (the host admits people), or trusted (the host's Verified Organization)."},"join_url":{"type":"string","description":"Link people open to join the call on X."},"participant_count":{"type":"integer","description":"People in the call right now."},"title":{"type":"string","description":"Title of the call."},"viewer_may_join":{"type":"boolean","description":"Whether the authenticated user may join without asking the host."}}},"CancelScheduledCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CancelScheduledCallResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CancelScheduledCallResponseData":{"type":"object","properties":{"cancelled":{"type":"boolean","description":"Whether the occurrences are cancelled."}},"additionalProperties":false},"ChatConversation":{"type":"object","properties":{"admin_ids":{"type":"array","items":{"type":"string"}},"admin_settings":{"$ref":"#/components/schemas/ChatConversationAdminSettings"},"created_at":{"type":"string","format":"date-time"},"group_avatar_url":{"type":"string"},"group_description":{"type":"string","description":"The group description, encrypted with the conversation key like group_name."},"group_description_key_version":{"type":"string","description":"The conversation key version that group_description is encrypted with."},"group_name":{"type":"string"},"id":{"type":"string"},"invite":{"$ref":"#/components/schemas/ChatConversationInvite"},"is_archived":{"type":"boolean","description":"Whether the authenticated user archived this conversation."},"is_muted":{"type":"boolean"},"last_read_event_id":{"type":"string","description":"The event ID you have read up to: the seen_until_sequence_id of your latest read receipt. Absent when you have no read receipt."},"member_ids":{"type":"array","items":{"type":"string"}},"message_ttl_ms":{"type":"integer"},"newest_event_id":{"type":"string","description":"The ID of the latest notifying message in the conversation."},"participant_ids":{"type":"array","items":{"type":"string"}},"pending_member_ids":{"$ref":"#/components/schemas/ChatConversationPendingMemberIds"},"screen_capture_blocking_enabled":{"type":"boolean"},"screen_capture_detection_enabled":{"type":"boolean"},"type":{"type":"string"},"unread":{"type":"boolean","description":"Whether the conversation is unread for you: its latest notifying message was sent by someone else after last_read_event_id, or you have no read receipt. Marking the conversation unread does not set it."},"updated_at":{"type":"string","format":"date-time"}}},"ChatConversationAdminSettings":{"type":"object","description":"Group actions restricted to admins. true means only admins can perform the action.","properties":{"add_member":{"type":"boolean","description":"Whether only admins may add members.","nullable":true},"block_screen_capture":{"type":"boolean","description":"Whether only admins may block screen capture. Through the API, only admins can change\nscreen capture in a group, whatever this setting says.","nullable":true},"edit_group_info":{"type":"boolean","description":"Whether only admins may edit group info.","nullable":true},"edit_message_ttl":{"type":"boolean","description":"Whether only admins may edit the message TTL.","nullable":true},"send_message":{"type":"boolean","description":"Whether only admins may send messages.","nullable":true},"start_call":{"type":"boolean","description":"Whether only admins may start a call.","nullable":true}}},"ChatConversationInvite":{"type":"object","description":"An active invite link for a group Chat conversation.","required":["invite_url"],"properties":{"admin_user_id":{"type":"string","description":"Unique identifier of the admin who turned on the invite link.","nullable":true},"expires_at":{"type":"string","description":"When the invite link stops working.","nullable":true},"invite_url":{"type":"string","description":"The shareable invite link."},"token":{"type":"string","description":"Token identifying this invite link.","nullable":true},"welcome_message":{"type":"string","description":"Message shown to Users who join through the invite link.","nullable":true}}},"ChatConversationPendingMemberIds":{"type":"array","description":"Unique identifiers of Users who asked to join this group and are awaiting approval. Returned only to callers who can add members.","items":{"type":"string"}},"ChatGroupInvite":{"type":"object","properties":{"conversation_id":{"type":"string","description":"ID of the group conversation the link joins."},"expires_at":{"type":"string","description":"When the link expires (ISO 8601). Absent when the link does not expire."},"group_avatar_url":{"type":"string","description":"Group avatar URL shown on the invite preview, stored unencrypted. Absent when the backend flags the avatar as NSFW."},"group_name":{"type":"string","description":"Group name shown on the invite preview, stored unencrypted."},"invite_url":{"type":"string","description":"Shareable invite link."},"join_state":{"type":"string","description":"The authenticated user's relationship to the group: `member`, `not_member`, `removed`, or `requested`."},"member_count":{"type":"integer","description":"Number of members in the group."},"token":{"type":"string","description":"Invite token. Together with the conversation ID it identifies the link."},"welcome_message":{"type":"string","description":"Message shown to people who open the link."}}},"ChatMediaUploadAppendRequest":{"type":"object","required":["media","segment_index","conversation_id","media_hash_key"],"properties":{"conversation_id":{"type":"string","description":"The XChat conversation the upload belongs to."},"media":{"anyOf":[{"type":"string","format":"binary"},{"type":"string","format":"byte"}],"description":"The media segment bytes: base64-encoded in JSON bodies, raw bytes in multipart bodies."},"media_hash_key":{"type":"string","description":"The media hash key returned by the initialize step."},"segment_index":{"type":"integer","description":"The index of this segment in the upload sequence.","minimum":0,"maximum":999}},"additionalProperties":false},"ChatMediaUploadAppendResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChatMediaUploadAppendResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ChatMediaUploadAppendResponseData":{"type":"object","properties":{"expires_at":{"type":"integer","description":"Epoch seconds when the upload session expires."}}},"ChatMediaUploadFinalizeRequest":{"type":"object","required":["conversation_id","media_hash_key","num_parts"],"properties":{"conversation_id":{"type":"string","description":"The XChat conversation the upload belongs to."},"media_hash_key":{"type":"string","description":"The media hash key returned by the initialize step."},"message_id":{"type":"string","description":"Optional message identifier associated with the upload."},"num_parts":{"type":"string","description":"Total number of uploaded parts, as a numeric string."},"ttl_msec":{"type":"string","description":"Optional TTL for the media in milliseconds, as a numeric string."}},"additionalProperties":false},"ChatMediaUploadFinalizeResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChatMediaUploadFinalizeResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ChatMediaUploadFinalizeResponseData":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Whether the upload was finalized."}}},"ChatMediaUploadInitializeRequest":{"type":"object","required":["conversation_id","total_bytes"],"properties":{"conversation_id":{"type":"string","description":"The XChat conversation the upload belongs to."},"total_bytes":{"type":"integer","description":"Total size of the media upload in bytes.","minimum":0}},"additionalProperties":false},"ChatMediaUploadInitializeResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChatMediaUploadInitializeResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ChatMediaUploadInitializeResponseData":{"type":"object","required":["session_id","media_hash_key","conversation_id"],"properties":{"conversation_id":{"type":"string","description":"Canonical ID of the conversation."},"media_hash_key":{"type":"string","description":"Hash key addressing the uploaded media."},"session_id":{"type":"string","description":"Upload session ID."}}},"ChatMessageEvent":{"type":"object","properties":{"conversation_id":{"type":"string"},"conversation_key_version":{"type":"string","description":"The version of the conversation key that encrypts the event's contents. Absent when the event is not encrypted, such as a message sent before the conversation was encrypted."},"conversation_token":{"type":"string","description":"Usually present on encrypted events; unencrypted events have none."},"created_at":{"type":"string","format":"date-time"},"encoded_event":{"type":"string"},"id":{"type":"string"},"is_trusted":{"type":"boolean"},"message_event_signature":{"type":"object","description":"Usually present on encrypted events; unencrypted events have none. Treat an encrypted event without one as unverified."},"previous_id":{"type":"string"},"sender_id":{"type":"string"}}},"ChatMessageRequest":{"type":"object","properties":{"conversation_id":{"type":"string","description":"The 1:1 conversation ID: both user IDs joined by a hyphen."},"conversation_key_events":{"$ref":"#/components/schemas/ChatMessageRequestConversationKeyEvents"},"encoded_message_create_event":{"type":"string","description":"The message that previews the request, as an encoded message event. Its contents are end-to-end encrypted unless the conversation is unencrypted."},"has_more_events":{"type":"boolean","description":"Whether the conversation has older message events than `message_events`."},"message_events":{"$ref":"#/components/schemas/ChatMessageRequestMessageEvents"},"sender_id":{"type":"string","description":"The user ID of the user who sent the request."},"sender_recently_modified_profile":{"type":"boolean","description":"Whether the sender recently changed their name or avatar, a possible sign of impersonation."},"social_proof_user_ids":{"$ref":"#/components/schemas/ChatMessageRequestSocialProofUserIds"}}},"ChatMessageRequestConversationKeyEvents":{"type":"array","description":"The conversation key change events needed to decrypt `message_events`.","items":{"type":"string"}},"ChatMessageRequestDetail":{"type":"object","properties":{"conversation_id":{"type":"string","description":"The 1:1 conversation ID: both user IDs joined by a hyphen."},"conversation_key_events":{"$ref":"#/components/schemas/ChatMessageRequestDetailConversationKeyEvents"},"has_more_events":{"type":"boolean","description":"Whether older message events may exist. Always `true` when `message_events` isn't empty."},"message_events":{"$ref":"#/components/schemas/ChatMessageRequestDetailMessageEvents"},"message_request_state":{"type":"string","description":"`received` while the other user's request is pending, `sent` while the authenticated user's request is pending, `none` otherwise."},"participant_id":{"type":"string","description":"The other user in the conversation: the sender when `message_request_state` is `received`."}}},"ChatMessageRequestDetailConversationKeyEvents":{"type":"array","description":"The conversation key change events needed to decrypt `message_events`.","items":{"type":"string"}},"ChatMessageRequestDetailMessageEvents":{"type":"array","description":"The newest message events, newest first, as encoded message events. Their contents are end-to-end encrypted unless the conversation is unencrypted.","items":{"type":"string"}},"ChatMessageRequestMessageEvents":{"type":"array","description":"The conversation's latest message events, newest first, as encoded message events. Their contents are end-to-end encrypted unless the conversation is unencrypted.","items":{"type":"string"}},"ChatMessageRequestSocialProofUserIds":{"type":"array","description":"IDs of users the authenticated user follows who also follow the sender.","items":{"type":"string"}},"ChatPermissionsUnavailableProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/chat-permissions-unavailable"]}}},"ChatPinnedMessage":{"type":"object","properties":{"encoded_event":{"type":"string","description":"Base64-encoded Thrift pin event with end-to-end encrypted contents."}}},"ChatSettings":{"type":"object","properties":{"allow_dms_from":{"type":"string","description":"Who can send the user messages: `all` (anyone), `verified` (verified accounts only), or `following` (accounts the user follows)."},"always_allow_dms_from_subscribers":{"type":"boolean","description":"Whether the user's subscribers can always message them regardless of allow_dms_from."},"av_settings":{"$ref":"#/components/schemas/ChatSettingsAvSettings"},"dm_quality_filter":{"type":"string","description":"Low-quality message request filter: `enabled` (low-quality requests go to a separate folder) or `disabled` (all requests stay in the main inbox)."},"dm_receipt_settings":{"type":"string","description":"Read receipts: `all_enabled` (send and receive read receipts) or `all_disabled` (neither)."}}},"ChatSettingsAvSettings":{"type":"object","description":"Audio and video call settings.","properties":{"av_call_permissions":{"type":"object","description":"Who may place audio or video calls to the user.","properties":{"accept_calls_from_addressbook":{"type":"boolean","description":"Whether the user accepts calls from address-book contacts.","nullable":true},"accept_calls_from_everyone":{"type":"boolean","description":"Whether the user accepts calls from anyone.","nullable":true},"accept_calls_from_following":{"type":"boolean","description":"Whether the user accepts calls from accounts they follow.","nullable":true},"accept_calls_from_verified":{"type":"boolean","description":"Whether the user accepts calls from verified accounts.","nullable":true}},"nullable":true},"has_av_calls_enabled":{"type":"boolean","description":"Whether audio and video calls are enabled.","nullable":true},"has_enhanced_call_privacy_enabled":{"type":"boolean","description":"Whether enhanced call privacy is enabled.","nullable":true}}},"Community":{"type":"object","properties":{"access":{"type":"string"},"created_at":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"join_policy":{"type":"string"},"member_count":{"type":"integer"},"name":{"type":"string"}}},"CommunityId":{"type":"string","description":"Unique identifier of a Community","pattern":"^[0-9]{1,19}$"},"ComplianceJob":{"type":"object","properties":{"created_at":{"type":"string"},"download_expires_at":{"type":"string"},"download_url":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"resumable":{"type":"boolean"},"status":{"type":"string"},"type":{"type":"string"},"upload_expires_at":{"type":"string"},"upload_url":{"type":"string"}}},"Connection":{"type":"object","properties":{"client_ip":{"type":"string"},"connected_at":{"type":"string","format":"date-time"},"disconnect_reason":{"type":"string"},"disconnected_at":{"type":"string","format":"date-time"},"endpoint_name":{"type":"string"},"id":{"type":"string"}}},"CountryCode":{"type":"string","description":"A two-letter ISO 3166-1 alpha-2 country code.","pattern":"^[A-Z]{2}$","example":"US"},"CreateAccountActivitySubscriptionRequest":{"type":"object","properties":{}},"CreateAccountActivitySubscriptionResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateAccountActivitySubscriptionResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateAccountActivitySubscriptionResponseData":{"type":"object","required":["subscribed"],"properties":{"subscribed":{"type":"boolean","description":"Whether the subscription is active."}}},"CreateActivitySubscriptionFilter":{"type":"object","properties":{"direction":{"type":"string","description":"Optional direction filter for directional events. Not supported for mute.* or block.* events.","enum":["inbound","outbound"]},"keyword":{"type":"string","description":"Optional keyword filter."},"qualifiers":{"type":"object","description":"Optional event-specific string predicates."},"user_id":{"type":"string","description":"User the subscription is scoped to. For mute.* and block.* events, this must be the authenticated source user."}},"additionalProperties":false},"CreateActivitySubscriptionRequest":{"type":"object","required":["event_type","filter"],"properties":{"event_type":{"type":"string","description":"Activity event type in dot notation. `chat.conversation_join` is a deprecated alias of `chat.conversation.join`; responses always use the canonical name.","enum":["profile.update.bio","profile.update.profile_picture","profile.update.banner_picture","profile.update.screenname","profile.update.geo","profile.update.url","profile.update.verified_badge","profile.update.affiliate_badge","profile.update.handle","news.new","follow.follow","follow.unfollow","subscriptions.subscribe","subscriptions.unsubscribe","spaces.start","spaces.end","broadcast.start","broadcast.end","broadcast.chat","broadcast.chat.remove","chat.received","chat.sent","chat.conversation.join","chat.conversation_join","chat.conversation.member_added","chat.conversation.member_removed","chat.conversation.admin_added","chat.conversation.admin_removed","chat.update.group_name","chat.update.restrictions","dm.sent","dm.received","dm.indicate_typing","dm.read","post.create","post.delete","post.mention.create","post.reply.create","post.quote.create","post.repost.create","like.create","mute.mute","mute.unmute","block.block","block.unblock"]},"expires_at":{"type":"string","description":"Optional RFC 3339 expiration time. Re-creating the same subscription refreshes this value; omitting it makes the subscription permanent."},"filter":{"description":"Subscription filter.","$ref":"#/components/schemas/CreateActivitySubscriptionFilter"},"tag":{"type":"string","description":"Optional caller-defined tag.","minLength":1,"maxLength":200},"webhook_id":{"type":"string","description":"Webhook to deliver the subscription events to.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"CreateActivitySubscriptionResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateActivitySubscriptionResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateActivitySubscriptionResponseData":{"type":"object","properties":{"subscription":{"$ref":"#/components/schemas/CreateActivitySubscriptionResponseDataSubscription"}}},"CreateActivitySubscriptionResponseDataSubscription":{"type":"object","properties":{"created_at":{"type":"string","description":"Subscription creation time."},"event_type":{"type":"string","description":"Activity event type in dot notation."},"expires_at":{"type":"string","description":"Subscription expiration time."},"filter":{"description":"Subscription filter.","$ref":"#/components/schemas/CreateActivitySubscriptionResponseDataSubscriptionFilter"},"subscription_id":{"type":"string","description":"Unique identifier of the subscription."},"tag":{"type":"string","description":"Optional caller-defined tag."},"updated_at":{"type":"string","description":"Subscription last-update time."},"webhook_id":{"type":"string","description":"Webhook receiving the subscription events."}},"additionalProperties":false},"CreateActivitySubscriptionResponseDataSubscriptionFilter":{"type":"object","properties":{"direction":{"type":"string","description":"Optional direction filter for directional events. Not present for mute.* or block.* events."},"keyword":{"type":"string","description":"Optional keyword filter."},"qualifiers":{"type":"object","description":"Event-specific string predicates applied to the subscription."},"user_id":{"type":"string","description":"User the subscription is scoped to."}},"additionalProperties":false},"CreateBotRequest":{"type":"object","required":["handle"],"properties":{"display_name":{"type":"string","description":"The bot's display name; defaults to the handle.","minLength":1,"maxLength":50},"handle":{"type":"string","description":"The bot's handle (X screen name): 5-15 characters, letters, numbers, or underscores.","minLength":5,"maxLength":15,"pattern":"^[A-Za-z0-9_]{5,15}$"},"org_only":{"type":"boolean","description":"Whether only members of the bot's developer account can add it to group chats. An org-only bot has no public profile and doesn't appear in public search. Everyone in its developer account should be able to message it, so leave its Direct Messages open to everyone rather than premium senders only. Defaults to false. Applies only when the request creates the bot: a handle that already names one of the project's bots keeps that bot's setting, which the response's org_only reports."},"scopes":{"type":"array","description":"Scopes for the bot's bearer token. Broadcast moderation additionally supports broadcast.read and broadcast.write. Defaults to the XChat scope set (dm.read, dm.write, tweet.read, users.read, media.write).","items":{"type":"string"}}},"additionalProperties":false},"CreateBotResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateBotResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateBotResponseData":{"type":"object","required":["id","token"],"properties":{"id":{"type":"string","description":"Unique identifier of the bot's User account.","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","description":"The bot's display name."},"org_only":{"type":"boolean","description":"Whether the bot is org only. For a handle that already names one of the project's bots, this is that bot's current setting. Absent when X couldn't read the setting back."},"scopes":{"type":"array","description":"Scopes granted to the bot's bearer token.","items":{"type":"string"}},"token":{"type":"string","description":"The bot's bearer token. Returned exactly once; store it securely."},"token_expires_at_ms":{"type":"integer","description":"Expiry of the bot's bearer token, in epoch milliseconds."},"username":{"type":"string","description":"The bot's X handle (screen name)."}}},"CreateBroadcastRequest":{"type":"object","required":["source_id"],"properties":{"additional_source_ids":{"type":"array","description":"Ids of further sources to go live on together with `source_id`, one per video format, at most 2, each a source's `id` from GET /2/sources. `source_id` comes first; duplicates are ignored.","minItems":1,"maxItems":2,"items":{"type":"string"}},"chat_option":{"type":"integer","description":"Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4 accounts the host follows, 5 the host's subscribers, 6 accounts followed by an account the host follows.","minimum":0,"maximum":6},"live_category_id":{"type":"string","description":"The live category the host picked, e.g. `gaming`. Ids come from GET /2/broadcasts/categories; an unknown id is a 400. Ignored when the source already has a live broadcast.","maxLength":64},"locale":{"type":"string","description":"Broadcast language, e.g. `en`."},"should_not_tweet":{"type":"boolean","description":"Skip the Post announcing the broadcast. Defaults to false."},"source_id":{"type":"string","description":"Id of the source to go live on: a source's `id` (19 digits) from GET /2/sources."},"title":{"type":"string","description":"Broadcast title. Defaults to the user's display name."}},"additionalProperties":false},"CreateBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateBroadcastResponseData":{"type":"object","required":["id","broadcast_id","state","share_url"],"properties":{"broadcast_id":{"type":"string","description":"Broadcast id; the same as `id`."},"chat_option":{"type":"integer","description":"Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4 accounts the host follows, 5 the host's subscribers, 6 accounts followed by an account the host follows."},"id":{"type":"string","description":"Broadcast id."},"language":{"type":"string","description":"Broadcast language."},"live_category_id":{"type":"string","description":"The broadcast's live category. Missing when it has none."},"media_key":{"type":"string","description":"Media key of the broadcast."},"share_url":{"type":"string","description":"The broadcast's watch page."},"start_ms":{"type":"string","description":"Start time, milliseconds since Unix epoch (decimal string)."},"state":{"type":"string","description":"Broadcast state, `RUNNING` once live."},"title":{"type":"string","description":"Broadcast title."},"tweet_id":{"type":"string","description":"Id of the Post announcing the broadcast. Missing when the Post hasn't been created yet, was suppressed with `should_not_tweet`, or could not be created."}}},"CreateCallRequest":{"type":"object","properties":{"audio_only":{"type":"boolean","description":"Start the call without video."},"conversation_id":{"type":"string","description":"XChat conversation to start the call in.","maxLength":128,"pattern":"^[A-Za-z0-9:_-]+$"},"join_policy":{"type":"string","description":"open (default): anyone with the link joins; closed: the host admits each person; trusted: members of the host's Verified Organization join, others ask.","enum":["open","closed","trusted"]},"title":{"type":"string","description":"Title shown to participants.","maxLength":100}},"additionalProperties":false},"CreateCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateCallResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateCallResponseData":{"type":"object","required":["id"],"properties":{"conversation_id":{"type":"string","description":"XChat conversation the call belongs to, if any."},"created_at":{"type":"string","description":"Creation time (RFC 3339)."},"host_id":{"type":"string","description":"X user id of the call's host."},"id":{"type":"string","description":"Unique identifier of the call; also its join secret."},"join_policy":{"type":"string","description":"Who may join: open (anyone with the link), closed (the host admits people), or trusted (the host's Verified Organization)."},"join_url":{"type":"string","description":"Link people open to join the call on X."},"participant_count":{"type":"integer","description":"People in the call right now."},"title":{"type":"string","description":"Title of the call."},"viewer_may_join":{"type":"boolean","description":"Whether the authenticated user may join without asking the host."}},"additionalProperties":false},"CreateChatConversationActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/CreateChatConversationActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"CreateChatConversationActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/CreateChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"CreateChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"CreateChatConversationConversationParticipantKeys":{"type":"object","required":["user_id","encrypted_conversation_key","public_key_version"],"properties":{"encrypted_conversation_key":{"type":"string","description":"Conversation key encrypted with this participant's public key."},"public_key_version":{"type":"string","description":"Version of the participant's public key used for encryption."},"user_id":{"type":"string","description":"Participant user ID."}}},"CreateChatConversationRequest":{"type":"object","required":["conversation_id","conversation_key_version","conversation_participant_keys","group_members"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/CreateChatConversationActionSignatures"}},"base64_encoded_key_rotation":{"type":"string","description":"Base64-encoded key rotation payload."},"conversation_id":{"type":"string","description":"Client-generated conversation ID."},"conversation_key_version":{"type":"string","description":"Version of the conversation encryption key."},"conversation_participant_keys":{"type":"array","description":"Encrypted conversation keys for each participant.","items":{"$ref":"#/components/schemas/CreateChatConversationConversationParticipantKeys"}},"group_admins":{"type":"array","description":"User IDs of group admins. Defaults to the creator if omitted.","items":{"type":"string"}},"group_avatar_url":{"type":"string","description":"URL of the avatar image for the group conversation."},"group_description":{"type":"string","description":"Description for the group conversation."},"group_members":{"type":"array","description":"User IDs of group members to include in the conversation.","items":{"type":"string"}},"group_name":{"type":"string","description":"Display name for the group conversation."},"ttl_msec":{"type":"string","description":"Message time-to-live in milliseconds. Messages expire after this duration."}}},"CreateChatConversationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateChatConversationResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateChatConversationResponseData":{"type":"object","required":["conversation_id"],"properties":{"conversation_id":{"type":"string","description":"Canonical ID of the created conversation."},"conversation_key_change_sequence_id":{"type":"string","description":"Sequence ID of the conversation key change."}}},"CreateChatGroupAdminRequestActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/CreateChatGroupAdminRequestActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"CreateChatGroupAdminRequestActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/CreateChatGroupAdminRequestActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"CreateChatGroupAdminRequestActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"CreateChatGroupAdminRequestRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/CreateChatGroupAdminRequestActionSignatures"}}},"additionalProperties":false},"CreateChatGroupAdminRequestResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateChatGroupAdminRequestResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateChatGroupAdminRequestResponseData":{"type":"object","required":["requested"],"properties":{"requested":{"type":"boolean","description":"Whether the admin request was created."}}},"CreateChatGroupJoinRequestActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/CreateChatGroupJoinRequestActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"CreateChatGroupJoinRequestActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/CreateChatGroupJoinRequestActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"CreateChatGroupJoinRequestActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"CreateChatGroupJoinRequestRequest":{"type":"object","required":["token"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/CreateChatGroupJoinRequestActionSignatures"}},"token":{"type":"string","description":"The 10-character invite token from the group's invite link.","pattern":"^[A-Za-z0-9_-]{10}$"}},"additionalProperties":false},"CreateChatGroupJoinRequestResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateChatGroupJoinRequestResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateChatGroupJoinRequestResponseData":{"type":"object","required":["requested"],"properties":{"requested":{"type":"boolean","description":"Whether the join request was created."}}},"CreateCommunityNotesInfo":{"type":"object","required":["text","classification","misleading_tags","trustworthy_sources"],"properties":{"classification":{"type":"string","description":"Community Note classification.","enum":["misinformed_or_potentially_misleading","not_misleading"]},"is_media_note":{"type":"boolean","description":"Whether the note is a media note."},"misleading_tags":{"type":"array","description":"Tags describing why the Post is misleading.","items":{"type":"string","enum":["disputed_claim_as_fact","factual_error","manipulated_media","misinterpreted_satire","missing_important_context","other","outdated_information"]}},"text":{"type":"string","description":"The text summary of the Community Note (must contain a URL).","pattern":"^(?=[\\s\\S]*https?://\\S+)[\\s\\S]+$"},"trustworthy_sources":{"type":"boolean","description":"Whether the note cites trustworthy sources."}},"additionalProperties":false},"CreateCommunityNotesRequest":{"type":"object","required":["test_mode","post_id","info"],"properties":{"info":{"description":"The Community Note contents.","$ref":"#/components/schemas/CreateCommunityNotesInfo"},"post_id":{"type":"string","description":"ID of the Post the note is about.","pattern":"^[0-9]{1,19}$"},"test_mode":{"type":"boolean","description":"If true, the note is only for testing and is not publicly visible."}},"additionalProperties":false},"CreateCommunityNotesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateCommunityNotesResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateCommunityNotesResponseData":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier of the created Community Note."}}},"CreateComplianceJobsRequest":{"type":"object","required":["type"],"properties":{"name":{"type":"string","description":"A user-provided name for this job.","maxLength":64},"resumable":{"type":"boolean","description":"Whether to enable the upload URL with support for resumable uploads."},"type":{"type":"string","description":"Type of compliance job to list.","enum":["tweets","users"]}},"additionalProperties":false},"CreateComplianceJobsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ComplianceJob"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateDirectMessagesByConversationIdAttachments":{"type":"object","required":["media_id"],"properties":{"media_id":{"type":"string","description":"A media id to attach to the message.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"CreateDirectMessagesByConversationIdRequest":{"anyOf":[{"required":["text"]},{"required":["attachments"]}],"type":"object","description":"At least one of `text`, `attachments` is required.","properties":{"attachments":{"type":"array","description":"Attachments to include with the message.","items":{"$ref":"#/components/schemas/CreateDirectMessagesByConversationIdAttachments"}},"text":{"type":"string","description":"Text of the Direct Message.","minLength":1}},"additionalProperties":false},"CreateDirectMessagesByConversationIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateDirectMessagesByConversationIdResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateDirectMessagesByConversationIdResponseData":{"type":"object","required":["dm_conversation_id","dm_event_id"],"properties":{"dm_conversation_id":{"type":"string","description":"The conversation the message was sent to."},"dm_event_id":{"type":"string","description":"The id of the created DM event."}}},"CreateDirectMessagesByParticipantIdAttachments":{"type":"object","required":["media_id"],"properties":{"media_id":{"type":"string","description":"A media id to attach to the message.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"CreateDirectMessagesByParticipantIdRequest":{"anyOf":[{"required":["text"]},{"required":["attachments"]}],"type":"object","description":"At least one of `text`, `attachments` is required.","properties":{"attachments":{"type":"array","description":"Attachments to include with the message.","items":{"$ref":"#/components/schemas/CreateDirectMessagesByParticipantIdAttachments"}},"text":{"type":"string","description":"Text of the Direct Message.","minLength":1}},"additionalProperties":false},"CreateDirectMessagesByParticipantIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateDirectMessagesByParticipantIdResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateDirectMessagesByParticipantIdResponseData":{"type":"object","required":["dm_conversation_id","dm_event_id"],"properties":{"dm_conversation_id":{"type":"string","description":"The conversation the message was sent to."},"dm_event_id":{"type":"string","description":"The id of the created DM event."}}},"CreateDirectMessagesConversationMessage":{"type":"object","properties":{"attachments":{"type":"array","description":"Attachments to include with the message.","items":{"$ref":"#/components/schemas/CreateDirectMessagesConversationMessageAttachments"}},"text":{"type":"string","description":"Text of the Direct Message.","minLength":1}},"additionalProperties":false},"CreateDirectMessagesConversationMessageAttachments":{"type":"object","required":["media_id"],"properties":{"media_id":{"type":"string","description":"A media id to attach to the message.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"CreateDirectMessagesConversationRequest":{"type":"object","required":["conversation_type","participant_ids","message"],"properties":{"conversation_type":{"type":"string","description":"The conversation type to create. Supports `Group` only.","enum":["Group"]},"message":{"description":"The initial Direct Message to send to the conversation.","$ref":"#/components/schemas/CreateDirectMessagesConversationMessage"},"participant_ids":{"type":"array","description":"Participants for the conversation.","minItems":2,"maxItems":49,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}}},"additionalProperties":false},"CreateDirectMessagesConversationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateDirectMessagesConversationResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateDirectMessagesConversationResponseData":{"type":"object","required":["dm_conversation_id","dm_event_id"],"properties":{"dm_conversation_id":{"type":"string","description":"The id of the created conversation."},"dm_event_id":{"type":"string","description":"The id of the created DM event."}}},"CreateListsRequest":{"type":"object","required":["name"],"properties":{"description":{"type":"string","description":"Description of the List (up to 100 characters).","maxLength":100},"name":{"type":"string","description":"Name of the List (1-25 characters).","minLength":1,"maxLength":25},"private":{"type":"boolean","description":"Whether the List is private."}},"additionalProperties":false},"CreateListsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateListsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateListsResponseData":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique identifier of the created List."},"name":{"type":"string","description":"The name of the created List."}}},"CreateMediaMetadataMetadata":{"type":"object","properties":{"allow_download_status":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataAllowDownloadStatus"},"alt_text":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataAltText"},"audience_policy":{"type":"object"},"content_expiration":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataContentExpiration"},"domain_restrictions":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataDomainRestrictions"},"found_media_origin":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataFoundMediaOrigin"},"geo_restrictions":{"type":"object"},"management_info":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataManagementInfo"},"preview_image":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataPreviewImage"},"sensitive_media_warning":{"type":"object"},"shared_info":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataSharedInfo"},"sticker_info":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataStickerInfo"},"upload_source":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataUploadSource"}}},"CreateMediaMetadataMetadataAllowDownloadStatus":{"type":"object","properties":{"allow_download":{"type":"boolean"}}},"CreateMediaMetadataMetadataAltText":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":1000}}},"CreateMediaMetadataMetadataContentExpiration":{"type":"object","required":["timestamp_sec"],"properties":{"timestamp_sec":{"type":"number"}}},"CreateMediaMetadataMetadataDomainRestrictions":{"type":"object","required":["whitelist"],"properties":{"whitelist":{"type":"array","items":{"type":"string"}}}},"CreateMediaMetadataMetadataFoundMediaOrigin":{"type":"object","required":["provider","id"],"properties":{"id":{"type":"string"},"provider":{"type":"string"}}},"CreateMediaMetadataMetadataManagementInfo":{"type":"object","required":["managed"],"properties":{"managed":{"type":"boolean"}}},"CreateMediaMetadataMetadataPreviewImage":{"type":"object","required":["media_key"],"properties":{"media_key":{"type":"object"}}},"CreateMediaMetadataMetadataSharedInfo":{"type":"object","required":["shared"],"properties":{"shared":{"type":"boolean"}}},"CreateMediaMetadataMetadataStickerInfo":{"type":"object","required":["stickers"],"properties":{"stickers":{"type":"array","items":{"$ref":"#/components/schemas/CreateMediaMetadataMetadataStickerInfoStickers"}}}},"CreateMediaMetadataMetadataStickerInfoStickers":{"type":"object","properties":{}},"CreateMediaMetadataMetadataUploadSource":{"type":"object","required":["upload_source"],"properties":{"upload_source":{"type":"string"}}},"CreateMediaMetadataRequest":{"type":"object","required":["id","metadata"],"properties":{"id":{"type":"string","description":"The media id the metadata is attached to.","pattern":"^[0-9]{1,19}$"},"metadata":{"description":"User-defined metadata to associate with the media.","$ref":"#/components/schemas/CreateMediaMetadataMetadata"}}},"CreateMediaMetadataResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateMediaMetadataResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateMediaMetadataResponseData":{"type":"object","required":["id"],"properties":{"associated_metadata":{"type":"object","description":"The metadata now associated with the media."},"id":{"type":"string","description":"The media id the metadata was attached to."}}},"CreateMediaSubtitlesRequest":{"type":"object","required":["id","media_category","subtitles"],"properties":{"id":{"type":"string","description":"The media id of the video the subtitles belong to.","pattern":"^[0-9]{1,19}$"},"media_category":{"type":"string","description":"The media category of the target media.","enum":["AmplifyVideo","TweetVideo"]},"subtitles":{"description":"The subtitle tracks to associate with the media.","$ref":"#/components/schemas/CreateMediaSubtitlesSubtitles"}}},"CreateMediaSubtitlesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateMediaSubtitlesResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateMediaSubtitlesResponseData":{"type":"object","properties":{"associated_subtitles":{"type":"object","description":"The subtitles now associated with the media."},"id":{"type":"string","description":"The media id."},"media_category":{"type":"string","description":"The media category."}}},"CreateMediaSubtitlesSubtitles":{"type":"object","properties":{"display_name":{"type":"string","description":"Language name in a human readable form."},"id":{"type":"string","description":"The media id of the subtitle track.","pattern":"^[0-9]{1,19}$"},"language_code":{"type":"string","description":"BCP47 language code of the subtitle track.","pattern":"^[A-Z]{2}$"}}},"CreatePostsClip":{"type":"object","required":["post_id","start_seconds","end_seconds"],"properties":{"end_seconds":{"type":"integer","description":"Second of the video at which the clip ends. A clip is 5 to 60 seconds long and at most 30% of the video.","minimum":1},"post_id":{"type":"string","description":"The ID of the Post whose video is clipped. The Post must have exactly one video, longer than 2 minutes.","pattern":"^[0-9]{1,19}$"},"start_seconds":{"type":"integer","description":"Second of the video at which the clip starts.","minimum":0}},"additionalProperties":false},"CreatePostsEditOptions":{"type":"object","required":["previous_post_id"],"properties":{"previous_post_id":{"type":"string","description":"The ID of the Post being edited.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"CreatePostsGeo":{"type":"object","required":["place_id"],"properties":{"place_id":{"type":"string","description":"Place ID for geo tagging."}},"additionalProperties":false},"CreatePostsMedia":{"type":"object","required":["media_ids"],"properties":{"call_to_actions":{"description":"Call-to-action button rendered on the media entity.","$ref":"#/components/schemas/CreatePostsMediaCallToActions"},"description":{"type":"string","description":"Description for the media, rendered on the Post card for video and Amplify content."},"embeddable":{"type":"boolean","description":"When true, the media's asset URLs do not expire and external syndicated playback is allowed."},"media_ids":{"type":"array","description":"Media IDs to attach to the Post, in the order given.","minItems":1,"maxItems":20,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"preview_media_id":{"type":"string","description":"Media id whose asset is used as the preview image.","pattern":"^[0-9]{1,19}$"},"tagged_user_ids":{"type":"array","description":"User IDs tagged in the media.","maxItems":10,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"title":{"type":"string","description":"Title for the media, rendered on the Post card for video and Amplify content."}},"additionalProperties":false},"CreatePostsMediaCallToActions":{"type":"object","properties":{"app_install":{"description":"App Install CTA. At least one store id should be provided.","$ref":"#/components/schemas/CreatePostsMediaCallToActionsAppInstall"},"visit_site":{"description":"Visit Site CTA.","$ref":"#/components/schemas/CreatePostsMediaCallToActionsVisitSite"},"watch_now":{"description":"Watch Now CTA.","$ref":"#/components/schemas/CreatePostsMediaCallToActionsWatchNow"}},"additionalProperties":false},"CreatePostsMediaCallToActionsAppInstall":{"type":"object","properties":{"app_store_id":{"type":"string","description":"Apple App Store iPhone app id."},"ipad_app_store_id":{"type":"string","description":"Apple App Store iPad app id."},"play_store_id":{"type":"string","description":"Google Play Store app id."}},"additionalProperties":false},"CreatePostsMediaCallToActionsVisitSite":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"HTTPS URL the CTA links to."}},"additionalProperties":false},"CreatePostsMediaCallToActionsWatchNow":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"HTTPS URL the CTA links to."}},"additionalProperties":false},"CreatePostsPoll":{"type":"object","required":["options","duration_minutes"],"properties":{"duration_minutes":{"type":"integer","description":"Duration of the poll in minutes.","minimum":5,"maximum":10080},"options":{"type":"array","description":"Poll options (2-4 choices, 1-25 characters each).","minItems":2,"maxItems":4,"items":{"type":"string","minLength":1,"maxLength":25}},"reply_settings":{"type":"string","description":"Who can reply to the poll Tweet. Accepted for compatibility; it carries no backend argument and is dropped before the mutation is issued (see `translate_body`).","enum":["following","mentionedUsers","subscribers","verified"]}},"additionalProperties":false},"CreatePostsReply":{"type":"object","required":["in_reply_to_tweet_id"],"properties":{"auto_populate_reply_metadata":{"type":"boolean","description":"If true, reply metadata is automatically populated. Accepted for compatibility; it carries no backend argument and is dropped before the mutation is issued (see `translate_body`)."},"exclude_reply_user_ids":{"type":"array","description":"User IDs to exclude from the reply thread.","items":{"type":"string"}},"in_reply_to_tweet_id":{"type":"string","description":"The ID of the tweet being replied to.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"CreatePostsRequest":{"type":"object","properties":{"card_uri":{"type":"string","description":"Card URI parameter."},"clip":{"description":"Clip of another Post's video to share. Cannot be combined with media, a poll, a card, a quoted Post or a direct message deep link.","$ref":"#/components/schemas/CreatePostsClip"},"community_id":{"type":"string","description":"Community to post the tweet to.","pattern":"^[0-9]{1,19}$"},"direct_message_deep_link":{"type":"string","description":"Direct message deep link."},"edit_options":{"description":"Edit an existing tweet rather than creating a new one.","$ref":"#/components/schemas/CreatePostsEditOptions"},"for_super_followers_only":{"type":"boolean","description":"Restrict tweet to super followers."},"geo":{"description":"Geo location for the tweet.","$ref":"#/components/schemas/CreatePostsGeo"},"made_with_ai":{"type":"boolean","description":"Disclose that the tweet contains AI-generated media."},"media":{"description":"Media attachments.","$ref":"#/components/schemas/CreatePostsMedia"},"nullcast":{"type":"boolean","description":"If true, the tweet is not shown in the public timeline."},"paid_partnership":{"type":"boolean","description":"Disclose that the tweet is a paid partnership."},"poll":{"description":"Poll configuration.","$ref":"#/components/schemas/CreatePostsPoll"},"quote_tweet_id":{"type":"string","description":"Tweet ID to quote.","pattern":"^[0-9]{1,19}$"},"reply":{"description":"Tweet reply configuration.","$ref":"#/components/schemas/CreatePostsReply"},"reply_settings":{"type":"string","description":"Who can reply to this tweet.","enum":["following","mentionedUsers","subscribers","verified"]},"share_with_followers":{"type":"boolean","description":"Share an exclusive (super-follower) tweet with all followers."},"text":{"type":"string","description":"Text of the Post. Required unless media is provided. At most 280 characters unless the account has X Premium.","default":""}},"additionalProperties":false},"CreatePostsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreatePostsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreatePostsResponseData":{"type":"object","required":["id","text"],"properties":{"edit_history_post_ids":{"type":"array","description":"Post IDs in this Post's edit history chain.","items":{"type":"string"}},"id":{"type":"string","description":"Unique identifier of the created Post.","pattern":"^[0-9]{1,19}$"},"text":{"type":"string","description":"The content of the created Post."}}},"CreateScheduledBroadcastRecurrence":{"type":"object","required":["frequency","repeats"],"properties":{"frequency":{"type":"string","description":"Recurrence frequency.","enum":["Daily","Weekly"]},"repeats":{"type":"string","description":"Number of repeats (numeric string).","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"CreateScheduledBroadcastRequest":{"type":"object","required":["source_id","scheduled_start_ms"],"properties":{"available_for_replay":{"type":"boolean","description":"Enable replay."},"chat_option":{"type":"string","description":"Who can chat (numeric string): `0` default, `1` chat off, `2` everyone, `3` verified accounts, `4` accounts the host follows, `5` the host's subscribers, `6` accounts followed by an account the host follows.","pattern":"^[0-9]{1,19}$"},"description":{"type":"string","description":"Description."},"is_locked":{"type":"boolean","description":"Lock the broadcast."},"locale":{"type":"string","description":"Locale."},"manual_publish":{"type":"boolean","description":"If true, do not auto-publish at start; call POST .../live when ready."},"recurrence":{"description":"Deprecated: recurring schedules are being retired and requests that include `recurrence` will be rejected. Create each occurrence as its own scheduled broadcast.","$ref":"#/components/schemas/CreateScheduledBroadcastRecurrence"},"scheduled_end_ms":{"type":"string","description":"Optional end time, ms since Unix epoch (decimal string). Omit for an open-ended broadcast.","pattern":"^[0-9]{1,19}$"},"scheduled_start_ms":{"type":"string","description":"Start time, ms since Unix epoch (decimal string).","pattern":"^[0-9]{1,19}$"},"source_id":{"type":"string","description":"Source to bind: a source's `id` from GET /2/sources. A stream key is also accepted but deprecated; stream keys stop being accepted when the /2/users/:id/sources and /2/users/:id/broadcasts routes reach end of life on January 1, 2027.","minLength":1},"telecast_id":{"type":"string","description":"Deprecated: telecast associations are being retired and this field will be ignored.","pattern":"^[0-9]{1,19}$"},"thumbnail_media_id":{"type":"string","description":"Pre-live slate media id (numeric string).","pattern":"^[0-9]{1,19}$"},"title":{"type":"string","description":"Title / status text."}},"additionalProperties":false},"CreateScheduledBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateScheduledBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateScheduledBroadcastResponseData":{"type":"object","properties":{"available_for_replay":{"type":"boolean","description":"Whether replay is enabled."},"broadcast_id":{"type":"string","description":"Alphanumeric broadcast id (path `:id` for get/update/delete/live)."},"chat_option":{"type":"string","description":"Who can chat (numeric string): `0` default, `1` chat off, `2` everyone, `3` verified accounts, `4` accounts the host follows, `5` the host's subscribers, `6` accounts followed by an account the host follows."},"description":{"type":"string","description":"Optional description."},"locale":{"type":"string","description":"Optional locale."},"manual_publish":{"type":"boolean","description":"When true, coordinator will not auto-publish; call POST .../live when ready."},"recurring_schedule_id":{"type":"string","description":"Deprecated: always null for new schedules."},"scheduled_broadcast_id":{"type":"string","description":"Numeric scheduler id. Required in the update request body."},"scheduled_end_ms":{"type":"string","description":"Scheduled end, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start, milliseconds since Unix epoch (decimal string)."},"source_id":{"type":"string","description":"Id of the bound source, as returned by GET /2/sources. Omitted when unknown."},"state":{"type":"string","description":"Scheduler state: `Created` or `Scheduled` before start, then `Running`, `Ended`, or `Error`."},"telecast_id":{"type":"string","description":"Deprecated: always null for new schedules."},"thumbnail_media_id":{"type":"string","description":"Optional pre-live slate media id."},"title":{"type":"string","description":"Broadcast title / status text."}}},"CreateSourceRequest":{"type":"object","required":["name","region"],"properties":{"name":{"type":"string","description":"Label for the source.","minLength":1},"region":{"type":"string","description":"Ingest region, as returned by GET /2/region. us-west-1 and us-west-2 ingest in US West; us-east-1, us-east-2, ca-central-1, sa-east-1, eu-west-1, eu-west-2, eu-west-3, eu-central-1, eu-north-1, ap-south-1, ap-northeast-1, ap-northeast-2, ap-southeast-1 and ap-southeast-2 ingest in US East. The response's `region` is the serving location (`us-east-1` or `us-west-2`).","minLength":1}},"additionalProperties":false},"CreateSourceResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateSourceResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateSourceResponseData":{"type":"object","required":["id","stream_key"],"properties":{"created_at_ms":{"type":"string","description":"Creation time, milliseconds since Unix epoch (decimal string)."},"id":{"type":"string","description":"Source id, 19 decimal digits; the `source_id` that POST /2/broadcasts and scheduled broadcasts take. Not a credential: read the stream key with GET /2/sources/:id/stream_key."},"is_stream_active":{"type":"boolean","description":"Whether an encoder is currently sending video to the source."},"name":{"type":"string","description":"Label for the source."},"region":{"type":"string","description":"Region of the ingest location serving the source: `us-east-1` or `us-west-2`. Sources created before October 31, 2026 keep the AWS region they were created in."},"rtmp_url":{"type":"string","description":"Ingest URL."},"rtmps_url":{"type":"string","description":"RTMPS ingest URL (port 443). Configure your encoder with this URL and the source's stream key."},"stream_key":{"type":"string","description":"Stream key. A credential: anyone with it can stream to the source."}}},"CreateUserBroadcastRequest":{"type":"object","required":["source_id"],"properties":{"is_low_latency":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"Ignored."},"region":{"type":"string","description":"Ignored: the source sets the region."},"source_id":{"type":"string","description":"The source's `rtmp_stream_key`.","pattern":"^[a-zA-Z0-9]{1,32}$"}}},"CreateUserBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateUserBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateUserBroadcastResponseData":{"type":"object","required":["broadcast","video_access","share_url"],"properties":{"broadcast":{"$ref":"#/components/schemas/CreateUserBroadcastResponseDataBroadcast"},"share_url":{"type":"string","description":"The broadcast's watch page."},"video_access":{"description":"Always empty.","$ref":"#/components/schemas/CreateUserBroadcastResponseDataVideoAccess"}}},"CreateUserBroadcastResponseDataBroadcast":{"type":"object","required":["id"],"properties":{"available_for_replay":{"type":"boolean","description":"Whether a replay is available."},"broadcast_id":{"type":"string","description":"Broadcast id."},"chat_option":{"type":"integer","description":"Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4 accounts the host follows, 5 the host's subscribers, 6 accounts followed by an account the host follows."},"created_at_ms":{"type":"string","description":"Creation time, milliseconds since Unix epoch (decimal string)."},"end_ms":{"type":"string","description":"End time, milliseconds since Unix epoch (decimal string)."},"height":{"type":"integer","description":"Video height in pixels."},"id":{"type":"string","description":"Broadcast id; equal to `broadcast_id`."},"image_url":{"type":"string","description":"Thumbnail URL."},"image_url_medium":{"type":"string","description":"Medium thumbnail URL."},"image_url_small":{"type":"string","description":"Small thumbnail URL."},"is_high_latency":{"type":"boolean","description":"Whether the broadcast is high latency."},"language":{"type":"string","description":"Broadcast language."},"media_id":{"type":"string","description":"Numeric media id from `media_key`."},"media_key":{"type":"string","description":"Media key of the broadcast's video."},"scheduled_end_ms":{"type":"string","description":"Scheduled end time, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start time, milliseconds since Unix epoch (decimal string)."},"start_ms":{"type":"string","description":"Start time, milliseconds since Unix epoch (decimal string)."},"state":{"type":"string","description":"`NOT_STARTED`, `RUNNING`, `TIMED_OUT`, `ENDED`, `PRE_PUBLISHED` or `CANCELED`."},"status":{"type":"string","description":"Broadcast title."},"total_watched":{"type":"string","description":"Total viewers (decimal string)."},"total_watching":{"type":"string","description":"Current viewers (decimal string)."},"tweet_id":{"type":"string","description":"Id of the Post announcing the broadcast."},"twitter_user_id":{"type":"string","description":"Owner's user id."},"updated_at_ms":{"type":"string","description":"Last update time, milliseconds since Unix epoch (decimal string)."},"width":{"type":"integer","description":"Video width in pixels."}},"additionalProperties":false},"CreateUserBroadcastResponseDataVideoAccess":{"type":"object","properties":{},"additionalProperties":false},"CreateUserSourceRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Label for the source.","minLength":1},"region":{"type":"string","description":"Ingest data center, `atla` or `pdxa` (default). The AWS regions us-west-1 and us-west-2 map to `pdxa`; us-east-1, us-east-2, ca-central-1, sa-east-1, eu-west-1, eu-west-2, eu-west-3, eu-central-1, eu-north-1, ap-south-1, ap-northeast-1, ap-northeast-2, ap-southeast-1 and ap-southeast-2 map to `atla`.","minLength":1}},"additionalProperties":false},"CreateUserSourceResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateUserSourceResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateUserSourceResponseData":{"type":"object","required":["source"],"properties":{"source":{"$ref":"#/components/schemas/CreateUserSourceResponseDataSource"}}},"CreateUserSourceResponseDataSource":{"type":"object","required":["id"],"properties":{"creation_origin":{"description":"Where a source created before the move to on-prem was created, e.g. `{\"value\": 2, \"name\": \"MediaStudio\", \"original_name\": \"MEDIA_STUDIO\"}`; omitted for on-prem sources.","$ref":"#/components/schemas/CreateUserSourceResponseDataSourceCreationOrigin"},"creation_time":{"type":"integer","description":"Creation time, ms since Unix epoch."},"id":{"type":"string","description":"Source id; also the RTMP stream key."},"is360":{"type":"boolean","description":"Whether the source streams 360° video."},"is_stream_active":{"type":"boolean","description":"Whether an encoder is currently sending video to the source."},"name":{"type":"string","description":"Label for the source."},"owner_id":{"type":"integer","description":"Owner's numeric user id. Exceeds the exact integer range of many JSON parsers."},"rtmp_region":{"type":"string","description":"Ingest region as an AWS region name, e.g. `us-east-1` or `us-west-2`. Accepted as `region` when creating a source."},"rtmp_stream_key":{"type":"string","description":"Stream key; equal to `id`."},"rtmp_url":{"type":"string","description":"RTMP ingest URL."},"rtmps_url":{"type":"string","description":"RTMPS ingest URL (port 443)."},"video_service":{"description":"Video service of a source created before the move to on-prem, e.g. `{\"value\": 0, \"name\": \"Vidman\", \"original_name\": \"VIDMAN\"}`; omitted for on-prem sources.","$ref":"#/components/schemas/CreateUserSourceResponseDataSourceVideoService"}},"additionalProperties":false},"CreateUserSourceResponseDataSourceCreationOrigin":{"type":"object","properties":{"name":{"type":"string","description":"Name, e.g. `PublicApi`."},"original_name":{"type":"string","description":"Upper-case name, e.g. `PUBLIC_API`."},"value":{"type":"integer","description":"Numeric value."}},"additionalProperties":false},"CreateUserSourceResponseDataSourceVideoService":{"type":"object","properties":{"name":{"type":"string","description":"Name, e.g. `PublicApi`."},"original_name":{"type":"string","description":"Upper-case name, e.g. `PUBLIC_API`."},"value":{"type":"integer","description":"Numeric value."}},"additionalProperties":false},"CreateUsersBookmarkFolderRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the Bookmark folder (1-25 characters).","minLength":1,"maxLength":25}},"additionalProperties":false},"CreateUsersBookmarkFolderResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateUsersBookmarkFolderResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateUsersBookmarkFolderResponseData":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique identifier of the created Bookmark folder."},"name":{"type":"string","description":"The name of the created Bookmark folder."}}},"CreateUsersBookmarkRequest":{"anyOf":[{"required":["tweet_id"]},{"required":["tweet_ids"]}],"type":"object","description":"At least one of `tweet_id`, `tweet_ids` is required.","properties":{"folder_id":{"type":"string","description":"Optional ID of the Bookmark folder to add the Post(s) to. When omitted, Posts are added to the user's top-level Bookmarks only. A bulk request uses this one folder for every ID.","pattern":"^[0-9]{1,19}$"},"tweet_id":{"type":"string","description":"The ID of the Post to add to the user's Bookmarks. Mutually exclusive with `tweet_ids`.","pattern":"^[0-9]{1,19}$"},"tweet_ids":{"type":"array","description":"Post IDs to add to the user's Bookmarks. At most 25. Mutually exclusive with `tweet_id`.","minItems":1,"maxItems":25,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}}}},"CreateUsersBookmarkResponse":{"oneOf":[{"type":"object","properties":{"data":{"type":"object","required":["bookmarked"],"properties":{"bookmarked":{"type":"boolean","description":"Indicates whether the Post is bookmarked by the user."}}}}},{"type":"object","properties":{"data":{"type":"array","description":"Successfully bookmarked Posts, in request order.","items":{"type":"object","required":["tweet_id","bookmarked"],"properties":{"bookmarked":{"type":"boolean","description":"Indicates whether the Post is bookmarked by the user."},"tweet_id":{"type":"string","description":"The Post ID that was bookmarked."}}}},"errors":{"type":"array","description":"Per-id failures; remaining IDs are still bookmarked.","items":{"type":"object","properties":{"detail":{"type":"string"},"title":{"type":"string"},"tweet_id":{"type":"string","description":"Post ID the failure applies to."}}}}}}]},"CreateWebhookReplayJobRequest":{"type":"object","required":["webhook_id","from_date","to_date"],"properties":{"from_date":{"type":"string","description":"The oldest (inclusive) UTC timestamp from which events are replayed, in yyyymmddhhmm format.","pattern":"^[0-9]{12}$"},"to_date":{"type":"string","description":"The newest (inclusive) UTC timestamp up to which events are replayed, in yyyymmddhhmm format.","pattern":"^[0-9]{12}$"},"webhook_id":{"type":"string","description":"The ID of the webhook to replay events to.","pattern":"^[0-9]{1,19}$"}}},"CreateWebhookReplayJobResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateWebhookReplayJobResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateWebhookReplayJobResponseData":{"type":"object","required":["job_id","created_at"],"properties":{"created_at":{"type":"string","description":"The UTC timestamp when the replay job was created."},"job_id":{"type":"string","description":"The unique identifier for the initiated replay job."}}},"CreateWebhooksRequest":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The URL the webhook delivers events to.","minLength":1,"maxLength":200}}},"CreateWebhooksResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateWebhooksResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateWebhooksResponseData":{"type":"object","required":["id","url","valid","created_at"],"properties":{"created_at":{"type":"string","description":"Creation time of the webhook configuration."},"id":{"type":"string","description":"Unique identifier of the webhook configuration."},"url":{"type":"string","description":"The URL the webhook delivers events to."},"valid":{"type":"boolean","description":"Indicates whether the webhook URL passed validation."}}},"CreateWebhooksStreamLinkResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateWebhooksStreamLinkResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"CreateWebhooksStreamLinkResponseData":{"type":"object","required":["provisioned"],"properties":{"provisioned":{"type":"boolean","description":"Indicates whether the stream link was provisioned."}}},"DeleteAccountActivitySubscriptionResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteAccountActivitySubscriptionResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteAccountActivitySubscriptionResponseData":{"type":"object","required":["subscribed"],"properties":{"subscribed":{"type":"boolean","description":"Whether the user has an active subscription."}}},"DeleteActivitySubscriptionResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteActivitySubscriptionResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteActivitySubscriptionResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the subscription was deleted."}}},"DeleteActivitySubscriptionsByIdsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean","description":"Whether the subscription was deleted."},"subscription_id":{"type":"string","description":"Id of the deleted subscription."}}}},"errors":{"type":"array","description":"Per-id failures; deletion continues for the remaining ids.","items":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable failure detail."},"reason":{"type":"string","description":"Machine-readable failure reason."},"subscription_id":{"type":"string","description":"Id the failure applies to."}}}},"meta":{"type":"object","properties":{"total_subscriptions":{"type":"integer","description":"Subscriptions remaining after deletion.","format":"int32"}}}}},"DeleteAllConnectionsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteAllConnectionsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteAllConnectionsResponseData":{"type":"object","required":["successful_kills","failed_kills"],"properties":{"failed_kills":{"type":"integer","description":"Number of connections that could not be terminated."},"results":{"type":"array","items":{"$ref":"#/components/schemas/DeleteAllConnectionsResponseDataResults"}},"successful_kills":{"type":"integer","description":"Number of connections successfully terminated."}}},"DeleteAllConnectionsResponseDataResults":{"type":"object","required":["uuid","success"],"properties":{"error_message":{"type":"string"},"success":{"type":"boolean"},"uuid":{"type":"string"}},"additionalProperties":false},"DeleteBotResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteBotResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteBotResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the bot was deleted."}}},"DeleteBroadcastChatMessageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteBroadcastChatMessageResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteBroadcastChatMessageResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the chat message was removed."}}},"DeleteBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteBroadcastResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the broadcast was deleted."}}},"DeleteChatConversationActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/DeleteChatConversationActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"DeleteChatConversationActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/DeleteChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"DeleteChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"DeleteChatConversationMessageTtlActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/DeleteChatConversationMessageTtlActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"DeleteChatConversationMessageTtlActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/DeleteChatConversationMessageTtlActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"DeleteChatConversationMessageTtlActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"DeleteChatConversationMessageTtlRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/DeleteChatConversationMessageTtlActionSignatures"}}},"additionalProperties":false},"DeleteChatConversationMessageTtlResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteChatConversationMessageTtlResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteChatConversationMessageTtlResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the message lifetime was removed."}}},"DeleteChatConversationRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/DeleteChatConversationActionSignatures"}}},"additionalProperties":false},"DeleteChatConversationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteChatConversationResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteChatConversationResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the conversation was deleted."}}},"DeleteChatMessagesActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/DeleteChatMessagesActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"DeleteChatMessagesActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/DeleteChatMessagesActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"DeleteChatMessagesActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"DeleteChatMessagesRequest":{"type":"object","required":["sequence_ids","delete_message_action","action_signatures"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/DeleteChatMessagesActionSignatures"}},"delete_message_action":{"type":"string","description":"delete_for_all removes the messages for every participant; delete_for_self removes them only from the authenticated user's view.","enum":["delete_for_all","delete_for_self"]},"media_hash_keys":{"type":"array","description":"Hash keys of encrypted media blobs to delete alongside the messages (delete_for_all only).","items":{"type":"string"}},"sequence_ids":{"type":"array","description":"Sequence IDs of the messages to delete.","minItems":1,"items":{"type":"string"}}}},"DeleteChatMessagesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteChatMessagesResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteChatMessagesResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the messages were deleted."}}},"DeleteCommunityNotesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteCommunityNotesResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteCommunityNotesResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Indicates whether the Community Note was deleted."}}},"DeleteComplianceJobsByIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ComplianceJob"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteConnectionsByEndpointResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteConnectionsByEndpointResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteConnectionsByEndpointResponseData":{"type":"object","required":["successful_kills","failed_kills"],"properties":{"failed_kills":{"type":"integer","description":"Number of connections that could not be terminated."},"results":{"type":"array","items":{"$ref":"#/components/schemas/DeleteConnectionsByEndpointResponseDataResults"}},"successful_kills":{"type":"integer","description":"Number of connections successfully terminated."}}},"DeleteConnectionsByEndpointResponseDataResults":{"type":"object","required":["uuid","success"],"properties":{"error_message":{"type":"string"},"success":{"type":"boolean"},"uuid":{"type":"string"}},"additionalProperties":false},"DeleteConnectionsByUuidsRequest":{"type":"object","required":["uuids"],"properties":{"uuids":{"type":"array","description":"Connection UUIDs to terminate (1-100).","minItems":1,"maxItems":100,"items":{"type":"string"}}},"additionalProperties":false},"DeleteConnectionsByUuidsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteConnectionsByUuidsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteConnectionsByUuidsResponseData":{"type":"object","required":["successful_kills","failed_kills"],"properties":{"failed_kills":{"type":"integer","description":"Number of connections that could not be terminated."},"results":{"type":"array","items":{"$ref":"#/components/schemas/DeleteConnectionsByUuidsResponseDataResults"}},"successful_kills":{"type":"integer","description":"Number of connections successfully terminated."}}},"DeleteConnectionsByUuidsResponseDataResults":{"type":"object","required":["uuid","success"],"properties":{"error_message":{"type":"string"},"success":{"type":"boolean"},"uuid":{"type":"string"}},"additionalProperties":false},"DeleteDirectMessagesEventsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteDirectMessagesEventsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteDirectMessagesEventsResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the event was deleted."}}},"DeleteListsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteListsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteListsResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Indicates whether the List was deleted."}}},"DeleteMediaSubtitlesRequest":{"type":"object","required":["id","media_category","language_code"],"properties":{"id":{"type":"string","description":"The media id of the video the subtitles belong to."},"language_code":{"type":"string","description":"The language code of the subtitles to delete."},"media_category":{"type":"string","description":"The media category of the target media."}}},"DeleteMediaSubtitlesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteMediaSubtitlesResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteMediaSubtitlesResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Indicates whether the subtitles were deleted."}}},"DeletePostsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeletePostsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeletePostsResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the Post was deleted."}}},"DeleteScheduledBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteScheduledBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteScheduledBroadcastResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the scheduled broadcast was deleted."}}},"DeleteSourceResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteSourceResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteSourceResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the source was deleted."}}},"DeleteUserBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteUserBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteUserBroadcastResponseData":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Always `true` on success."}}},"DeleteUserSourceResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteUserSourceResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteUserSourceResponseData":{"type":"object","properties":{}},"DeleteUsersBookmarkResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteUsersBookmarkResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteUsersBookmarkResponseData":{"type":"object","required":["bookmarked"],"properties":{"bookmarked":{"type":"boolean","description":"Whether the Post is bookmarked."}}},"DeleteWebhooksResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteWebhooksResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteWebhooksResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Indicates whether the webhook configuration was deleted."}}},"DeleteWebhooksStreamLinkResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteWebhooksStreamLinkResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DeleteWebhooksStreamLinkResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Indicates whether the stream link was deleted."}}},"DisableChatGroupInviteActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/DisableChatGroupInviteActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"DisableChatGroupInviteActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/DisableChatGroupInviteActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"DisableChatGroupInviteActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"DisableChatGroupInviteRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/DisableChatGroupInviteActionSignatures"}}},"additionalProperties":false},"DisableChatGroupInviteResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DisableChatGroupInviteResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"DisableChatGroupInviteResponseData":{"type":"object","required":["disabled"],"properties":{"disabled":{"type":"boolean","description":"Whether the invite link was turned off."}}},"DisallowedResourceProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"resource_id":{"type":"string"},"resource_type":{"type":"string"},"section":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/disallowed-resource"]}}},"DmBadAttachmentProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-attachment"]}}},"DmBadCtaProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-cta"]}}},"DmBadCustomProfileProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-custom-profile"]}}},"DmBadMediaProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-media"]}}},"DmBadQuickReplyProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-quick-reply"]}}},"DmBadUrlProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-bad-url"]}}},"DmConversationNameTooLongProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-conversation-name-too-long"]}}},"DmConversationNotFoundProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-conversation-not-found"]}}},"DmDuplicateProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-duplicate"]}}},"DmEvent":{"type":"object","properties":{"attachments":{"$ref":"#/components/schemas/DmEventAttachments"},"created_at":{"type":"string","format":"date-time"},"dm_conversation_id":{"type":"string"},"entities":{"$ref":"#/components/schemas/DmEventEntities"},"event_type":{"type":"string"},"id":{"type":"string"},"participant_ids":{"type":"array","items":{"type":"string"}},"referenced_posts":{"$ref":"#/components/schemas/DmEventReferencedPosts"},"sender_id":{"type":"string"},"text":{"type":"string"}}},"DmEventAttachments":{"type":"object","description":"Media and card attachments present in this Direct Message event.","properties":{"card_ids":{"type":"array","description":"IDs of cards attached to this Direct Message.","items":{"type":"string"},"nullable":true},"media_keys":{"type":"array","description":"Media keys of media (including audio) attached to this Direct Message.","items":{"type":"string"},"nullable":true}}},"DmEventEntities":{"type":"object","description":"A list of metadata entities (hashtags, cashtags, mentions, URLs) found in the Direct Message text.","properties":{"cashtags":{"type":"array","items":{"type":"object","description":"A hashtag or cashtag entity.","required":["start","end","tag"],"properties":{"end":{"type":"integer","description":"End index in the text (exclusive).","format":"int64"},"start":{"type":"integer","description":"Start index in the text (inclusive).","format":"int64"},"tag":{"type":"string"}}},"nullable":true},"hashtags":{"type":"array","items":{"type":"object","description":"A hashtag or cashtag entity.","required":["start","end","tag"],"properties":{"end":{"type":"integer","description":"End index in the text (exclusive).","format":"int64"},"start":{"type":"integer","description":"Start index in the text (inclusive).","format":"int64"},"tag":{"type":"string"}}},"nullable":true},"mentions":{"type":"array","items":{"type":"object","description":"A user mention entity.","required":["start","end","username"],"properties":{"end":{"type":"integer","format":"int64"},"id":{"type":"string","nullable":true},"start":{"type":"integer","format":"int64"},"username":{"type":"string"}}},"nullable":true},"urls":{"type":"array","items":{"type":"object","description":"A URL entity.","required":["start","end","url"],"properties":{"display_url":{"type":"string","description":"The URL as displayed in the Direct Message text.","nullable":true},"end":{"type":"integer","format":"int64"},"expanded_url":{"type":"string","description":"The fully resolved URL.","nullable":true},"start":{"type":"integer","format":"int64"},"url":{"type":"string","description":"The t.co shortened URL."}}},"nullable":true}}},"DmEventReferencedPosts":{"type":"array","items":{"type":"object","description":"A reference from this event to a Post.","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier of the referenced Post."}}}},"DmInactiveDeviceProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-inactive-device"]}}},"DmNotDeliveredProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-delivered"]}}},"DmNotFoundProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-found"]}}},"DmNotOwnerProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-not-owner"]}}},"DmParticipantNotAddedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-not-added"]}}},"DmParticipantNotFoundProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-not-found"]}}},"DmParticipantRestrictedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-restricted"]}}},"DmParticipantUnavailableProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-participant-unavailable"]}}},"DmRateLimitedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-rate-limited"]}}},"DmRecipientBlocksSenderProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-blocks-sender"]}}},"DmRecipientCannotReceiveProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-cannot-receive"]}}},"DmRecipientEncryptedUnavailableProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-encrypted-unavailable"]}}},"DmRecipientNotAcceptingProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-not-accepting"]}}},"DmRecipientNotFoundProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-not-found"]}}},"DmRecipientRestrictsGroupsProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-restricts-groups"]}}},"DmRecipientUnavailableProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-recipient-unavailable"]}}},"DmRequestInProgressProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-request-in-progress"]}}},"DmSafetyLimitedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-safety-limited"]}}},"DmSafetyRejectedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-safety-rejected"]}}},"DmSenderBlocksRecipientProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-blocks-recipient"]}}},"DmSenderDeclinedDmsProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-declined-dms"]}}},"DmSenderDmsClosedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-dms-closed"]}}},"DmSenderEncryptedUnavailableProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-encrypted-unavailable"]}}},"DmSenderNotInConversationProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-in-conversation"]}}},"DmSenderNotPermittedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-permitted"]}}},"DmSenderNotVerifiedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-not-verified"]}}},"DmSenderPhoneRequiredProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-phone-required"]}}},"DmSenderReadOnlyProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-read-only"]}}},"DmSenderUnavailableProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-sender-unavailable"]}}},"DmTextEmptyProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-text-empty"]}}},"DmTextTooLongProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-text-too-long"]}}},"DmTooFewParticipantsProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-too-few-participants"]}}},"DmTooManyParticipantsProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-too-many-participants"]}}},"DmUnsupportedMessageProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/dm-unsupported-message"]}}},"DuplicateRuleProblem":{"type":"object","required":["type","title","value"],"properties":{"detail":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.twitter.com/2/problems/duplicate-rules"]},"value":{"type":"string"}}},"EnableChatGroupInviteActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/EnableChatGroupInviteActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"EnableChatGroupInviteActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/EnableChatGroupInviteActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"EnableChatGroupInviteActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"EnableChatGroupInviteRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/EnableChatGroupInviteActionSignatures"}},"affiliate_user_id":{"type":"string","description":"ID of the affiliate account to associate with the link.","pattern":"^[0-9]{1,19}$"},"decrypted_avatar_url":{"type":"string","description":"Group avatar URL (https) to show on the invite preview.","maxLength":2048,"pattern":"^https://"},"decrypted_title":{"type":"string","description":"Group name to show on the invite preview.","maxLength":1024},"invite_url":{"type":"string","description":"Invite link built by the client, in the form https://x.com/i/chat/group_join/<conversation_id>/<token>, where the token is exactly 10 letters, digits, '-' or '_'. The conversation segment must match the path ID. It is part of the signed payload, so it is required when action_signatures is sent.","pattern":"^https://x\\.com/i/chat/group_join/g[0-9]{1,19}/[A-Za-z0-9_-]{10}$"},"validity_duration_msec":{"type":"string","description":"How long the link stays valid, in milliseconds, from the time of the request. With action_signatures, send validity_expiry_timestamp_msec instead.","pattern":"^[0-9]{1,19}$"},"validity_expiry_timestamp_msec":{"type":"string","description":"When the link expires, in epoch milliseconds. Must be in the future. If validity_duration_msec is also sent, the two must agree within a minute.","pattern":"^[0-9]{1,19}$"},"welcome_message":{"type":"string","description":"Message shown to people who open the link.","maxLength":1024}},"additionalProperties":false},"EnableChatGroupInviteResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EnableChatGroupInviteResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"EnableChatGroupInviteResponseData":{"type":"object","properties":{"conversation_id":{"type":"string","description":"ID of the group conversation the link joins."},"expires_at":{"type":"string","description":"When the link expires (ISO 8601). Absent when the link does not expire."},"group_avatar_url":{"type":"string","description":"Group avatar URL shown on the invite preview, stored unencrypted. Absent when the backend flags the avatar as NSFW."},"group_name":{"type":"string","description":"Group name shown on the invite preview, stored unencrypted."},"invite_url":{"type":"string","description":"Shareable invite link."},"token":{"type":"string","description":"Invite token. Together with the conversation ID it identifies the link."},"welcome_message":{"type":"string","description":"Message shown to people who open the link."}}},"EncryptionRequiredProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/encryption-required"]}}},"EnsureAccountRequest":{"type":"object","properties":{"metadata":{"type":"string","description":"Optional provisioning-credit metadata (an opaque string, e.g. a subscription tier) to claim for the account, attributed to the calling app. Omit to just ensure the account.","maxLength":64,"pattern":"^[\\x00-\\x{FFFF}]*$"}}},"EnsureAccountResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EnsureAccountResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"EnsureAccountResponseData":{"type":"object","required":["account_id","created"],"properties":{"account_id":{"type":"string","description":"Unique identifier of the developer account."},"created":{"type":"boolean","description":"Whether this request created the account."}}},"Error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"}}},"EvaluateCommunityNotesRequest":{"type":"object","required":["post_id","note_text"],"properties":{"note_text":{"type":"string","description":"Text of the community note to evaluate."},"post_id":{"type":"string","description":"ID of the Post the note evaluates.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"EvaluateCommunityNotesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EvaluateCommunityNotesResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"EvaluateCommunityNotesResponseData":{"type":"object","properties":{"claim_opinion_score":{"type":"number","description":"The evaluated claim-opinion score for the note."}}},"Expansions":{"type":"object","properties":{"calls":{"type":"array","items":{"$ref":"#/components/schemas/Call"}},"media":{"type":"array","items":{"$ref":"#/components/schemas/Media"}},"places":{"type":"array","items":{"$ref":"#/components/schemas/Place"}},"polls":{"type":"array","items":{"$ref":"#/components/schemas/Poll"}},"posts":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"topics":{"type":"array","items":{"$ref":"#/components/schemas/Topic"}},"users":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}},"FieldHydrationFailureProblem":{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string"},"field":{"type":"string"},"resource_type":{"type":"string"},"section":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/field-hydration-failure"]}}},"FieldUnauthorizedProblem":{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string"},"field":{"type":"string"},"resource_type":{"type":"string"},"section":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/field-unauthorized"]}}},"FinalizeMediaUploadResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FinalizeMediaUploadResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"FinalizeMediaUploadResponseData":{"type":"object","required":["id"],"properties":{"expires_after_secs":{"type":"integer","description":"Seconds until the upload session expires."},"id":{"type":"string","description":"Unique identifier of the media."},"image":{"$ref":"#/components/schemas/FinalizeMediaUploadResponseDataImage"},"media_key":{"type":"string","description":"The media key for the uploaded media."},"processing_info":{"$ref":"#/components/schemas/FinalizeMediaUploadResponseDataProcessingInfo"},"size":{"type":"integer","description":"Total size of the media in bytes."},"video":{"$ref":"#/components/schemas/FinalizeMediaUploadResponseDataVideo"}}},"FinalizeMediaUploadResponseDataImage":{"type":"object","properties":{"h":{"type":"integer","description":"Height in pixels."},"image_type":{"type":"string","description":"MIME type of the uploaded image."},"w":{"type":"integer","description":"Width in pixels."}},"additionalProperties":false},"FinalizeMediaUploadResponseDataProcessingInfo":{"type":"object","properties":{"check_after_secs":{"type":"integer","description":"Seconds to wait before polling status again."},"progress_percent":{"type":"integer","description":"Processing completion percentage."},"state":{"type":"string","description":"Processing state (pending, in_progress, failed, succeeded)."}},"additionalProperties":false},"FinalizeMediaUploadResponseDataVideo":{"type":"object","properties":{"video_type":{"type":"string","description":"MIME type of the processed video."}},"additionalProperties":false},"FollowActivityResponsePayload":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/User"},"target":{"$ref":"#/components/schemas/User"}},"additionalProperties":false},"FollowListRequest":{"type":"object","required":["list_id"],"properties":{"list_id":{"type":"string","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"FollowListResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FollowListResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"FollowListResponseData":{"type":"object","required":["following"],"properties":{"following":{"type":"boolean","description":"Whether the user is following the List."}}},"FollowUserRequest":{"type":"object","required":["target_user_id"],"properties":{"target_user_id":{"type":"string","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"FollowUserResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FollowUserResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"FollowUserResponseData":{"type":"object","required":["following","pending_follow"],"properties":{"following":{"type":"boolean","description":"Whether the source User is following the target User."},"pending_follow":{"type":"boolean","description":"Whether the follow request is pending the target User's approval."}}},"GetAccountActivitySubscriptionCountResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetAccountActivitySubscriptionCountResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetAccountActivitySubscriptionCountResponseData":{"type":"object","properties":{"account_name":{"type":"string","description":"Name of the subscribing account."},"provisioned_count":{"type":"string","description":"Number of subscriptions provisioned for the app."},"subscriptions_count_all":{"type":"string","description":"Number of active subscriptions across all event types."},"subscriptions_count_direct_messages":{"type":"string","description":"Number of active Direct Message subscriptions."}}},"GetAccountActivitySubscriptionsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetAccountActivitySubscriptionsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetAccountActivitySubscriptionsResponseData":{"type":"object","properties":{"application_id":{"type":"string","description":"App the subscriptions belong to."},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/GetAccountActivitySubscriptionsResponseDataSubscriptions"}},"webhook_id":{"type":"string","description":"Webhook receiving the subscription events."},"webhook_url":{"type":"string","description":"URL the webhook delivers events to."}}},"GetAccountActivitySubscriptionsResponseDataSubscriptions":{"type":"object","properties":{"user_id":{"type":"string","description":"Subscribed user."}},"additionalProperties":false},"GetActivitySubscriptionsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetActivitySubscriptionsResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetActivitySubscriptionsResponseData":{"type":"object","properties":{"created_at":{"type":"string","description":"Subscription creation time."},"event_type":{"type":"string","description":"Activity event type in dot notation."},"expires_at":{"type":"string","description":"Subscription expiration time."},"filter":{"$ref":"#/components/schemas/GetActivitySubscriptionsResponseDataFilter"},"subscription_id":{"type":"string","description":"Unique identifier of the subscription."},"tag":{"type":"string","description":"Optional caller-defined tag."},"updated_at":{"type":"string","description":"Subscription last-update time."},"webhook_id":{"type":"string","description":"Webhook receiving the subscription events."}}},"GetActivitySubscriptionsResponseDataFilter":{"type":"object","properties":{"direction":{"type":"string","description":"Optional direction filter for directional events. Not present for mute.* or block.* events."},"keyword":{"type":"string","description":"Optional keyword filter."},"qualifiers":{"type":"object","description":"Event-specific string predicates applied to the subscription."},"user_id":{"type":"string","description":"User the subscription is scoped to."}},"additionalProperties":false},"GetAmplifyProgramPostsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetAmplifyProgramPostsResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetAmplifyProgramPostsResponseData":{"type":"object","required":["post_id","added_at"],"properties":{"added_at":{"type":"string","description":"When the post was published into the program (ISO 8601)."},"post_id":{"type":"string","description":"Identifier of the post."},"promotion_ends_at":{"type":"string","description":"When promotion of the post ends (ISO 8601), when one was set."}}},"GetAmplifyProgramResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetAmplifyProgramResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetAmplifyProgramResponseData":{"type":"object","required":["id","name","state","advertiser_ids","publisher_ids"],"properties":{"advertiser_ids":{"type":"array","description":"Advertiser account ids sponsoring the program.","items":{"type":"string"}},"id":{"type":"string","description":"Identifier of the program."},"name":{"type":"string","description":"Display name of the program."},"publisher_ids":{"type":"array","description":"User ids of the publishers enrolled in the program.","items":{"type":"string"}},"state":{"type":"string","description":"Lifecycle state of the program. Only `active` programs accept posts.","enum":["active","inactive","deleted"]}}},"GetAmplifyProgramsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetAmplifyProgramsResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetAmplifyProgramsResponseData":{"type":"object","required":["id","name","state","advertiser_ids","publisher_ids"],"properties":{"advertiser_ids":{"type":"array","description":"Advertiser account ids sponsoring the program.","items":{"type":"string"}},"id":{"type":"string","description":"Identifier of the program."},"name":{"type":"string","description":"Display name of the program."},"publisher_ids":{"type":"array","description":"User ids of the publishers enrolled in the program.","items":{"type":"string"}},"state":{"type":"string","description":"Lifecycle state of the program. Only `active` programs accept posts.","enum":["active","inactive","deleted"]}}},"GetBotsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"max_bots":{"type":"integer"},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetBroadcastChatResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastChatMessage"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Broadcast"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Call"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetChatConversationEventsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessageEvent"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"conversation_key_events":{"type":"array","items":{"type":"string"}},"has_more":{"type":"boolean"},"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetChatConversationPinnedMessagesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChatPinnedMessage"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetChatConversationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChatConversation"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetChatConversationsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChatConversation"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"has_message_requests":{"type":"boolean"},"has_more":{"type":"boolean"},"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetChatGroupAdminRequestsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"},"total_count":{"type":"integer"}}}}},"GetChatGroupInviteResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChatGroupInvite"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetChatMessageRequestResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChatMessageRequestDetail"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetChatMessageRequestsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessageRequest"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"},"total_count":{"type":"integer"}}}}},"GetChatModeratorsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetChatMutedUsersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastChatMute"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetChatSettingsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChatSettings"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetCommunitiesByIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Community"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetComplianceJobsByIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ComplianceJob"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetComplianceJobsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ComplianceJob"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetConnectionHistoryResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Connection"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetDeveloperAccountResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetDeveloperAccountResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetDeveloperAccountResponseData":{"type":"object","required":["account_id","name","created_at"],"properties":{"account_id":{"type":"string","description":"Unique identifier of the developer account."},"created_at":{"type":"string","description":"Creation time of the account (ISO 8601)."},"name":{"type":"string","description":"Display name of the developer account."}}},"GetDirectMessagesEventsByConversationIdResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DmEvent"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetDirectMessagesEventsByIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DmEvent"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetDirectMessagesEventsByParticipantIdResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DmEvent"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetDirectMessagesEventsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DmEvent"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetListsByIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/List"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetListsFollowersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetListsMembersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetListsPostsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetMediaAnalyticsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MediaAnalytics"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetMediaByMediaKeyResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Media"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetMediaByMediaKeysResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Media"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetMediaLibraryCategoriesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetMediaLibraryCategoriesResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetMediaLibraryCategoriesResponseData":{"type":"object","required":["video_categories","advertiser_categories"],"properties":{"advertiser_categories":{"type":"array","description":"Advertiser categories that can be blocked.","items":{"$ref":"#/components/schemas/GetMediaLibraryCategoriesResponseDataAdvertiserCategories"}},"video_categories":{"type":"array","description":"Video categories a library item can be assigned.","items":{"$ref":"#/components/schemas/GetMediaLibraryCategoriesResponseDataVideoCategories"}}}},"GetMediaLibraryCategoriesResponseDataAdvertiserCategories":{"type":"object","required":["id","description"],"properties":{"description":{"type":"string","description":"Human readable name, localized to `lang` when a translation exists."},"id":{"type":"integer","description":"Identifier used in `monetization.video_category_ids` / `monetization.blocked_advertiser_category_ids`."}},"additionalProperties":false},"GetMediaLibraryCategoriesResponseDataVideoCategories":{"type":"object","required":["id","description"],"properties":{"description":{"type":"string","description":"Human readable name, localized to `lang` when a translation exists."},"id":{"type":"integer","description":"Identifier used in `monetization.video_category_ids` / `monetization.blocked_advertiser_category_ids`."}},"additionalProperties":false},"GetMediaUploadStatusResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetMediaUploadStatusResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetMediaUploadStatusResponseData":{"type":"object","required":["id"],"properties":{"expires_after_secs":{"type":"integer","description":"Seconds until the upload session expires."},"id":{"type":"string","description":"Unique identifier of the media."},"image":{"$ref":"#/components/schemas/GetMediaUploadStatusResponseDataImage"},"media_key":{"type":"string","description":"The media key for the uploaded media."},"processing_info":{"$ref":"#/components/schemas/GetMediaUploadStatusResponseDataProcessingInfo"},"size":{"type":"integer","description":"Total size of the media in bytes."},"video":{"$ref":"#/components/schemas/GetMediaUploadStatusResponseDataVideo"}}},"GetMediaUploadStatusResponseDataImage":{"type":"object","properties":{"h":{"type":"integer","description":"Height in pixels."},"image_type":{"type":"string","description":"MIME type of the uploaded image."},"w":{"type":"integer","description":"Width in pixels."}},"additionalProperties":false},"GetMediaUploadStatusResponseDataProcessingInfo":{"type":"object","properties":{"check_after_secs":{"type":"integer","description":"Seconds to wait before polling status again."},"progress_percent":{"type":"integer","description":"Processing completion percentage."},"state":{"type":"string","description":"Processing state (pending, in_progress, failed, succeeded)."}},"additionalProperties":false},"GetMediaUploadStatusResponseDataVideo":{"type":"object","properties":{"video_type":{"type":"string","description":"MIME type of the processed video."}},"additionalProperties":false},"GetNewsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/News"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetPostsAnalyticsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Analytics"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetPostsByIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetPostsByIdsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetPostsCountsAllResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetPostsCountsAllResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"total_post_count":{"type":"integer","format":"int64"}}}}},"GetPostsCountsAllResponseData":{"type":"object","required":["start","end","post_count"],"properties":{"end":{"type":"string","description":"End of the count bucket (exclusive), RFC 3339."},"post_count":{"type":"integer","description":"Number of Posts in the bucket."},"start":{"type":"string","description":"Start of the count bucket (inclusive), RFC 3339."}}},"GetPostsCountsRecentResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetPostsCountsRecentResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"total_post_count":{"type":"integer","format":"int64"}}}}},"GetPostsCountsRecentResponseData":{"type":"object","required":["start","end","post_count"],"properties":{"end":{"type":"string","description":"End of the count bucket (exclusive), RFC 3339."},"post_count":{"type":"integer","description":"Number of Posts in the bucket."},"start":{"type":"string","description":"Start of the count bucket (inclusive), RFC 3339."}}},"GetPostsLikingUsersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetPostsQuotedPostsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetPostsRepostedByResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetPostsRepostsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetRegionResponse":{"type":"object","required":["region"],"properties":{"region":{"type":"string","description":"Ingest region. Pass it as `region` when creating a stream source.","enum":["us-east-1","us-west-2"]}}},"GetRuleCountsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetRuleCountsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetRuleCountsResponseData":{"type":"object","required":["cap_per_client_app","cap_per_project","project_rules_count","client_app_rules_count"],"properties":{"all_project_client_apps":{"type":"array","description":"Per-client-app rule counts across the project.","items":{"$ref":"#/components/schemas/GetRuleCountsResponseDataAllProjectClientApps"}},"cap_per_client_app":{"type":"string","description":"Maximum number of rules allowed per client application."},"cap_per_project":{"type":"string","description":"Maximum number of rules allowed across the project."},"client_app_rules_count":{"description":"The calling client application's own rule count.","$ref":"#/components/schemas/GetRuleCountsResponseDataClientAppRulesCount"},"project_rules_count":{"type":"string","description":"Number of rules across every client application in the project."}}},"GetRuleCountsResponseDataAllProjectClientApps":{"type":"object","required":["rule_count"],"properties":{"client_app_id":{"type":"string","description":"Unique identifier of the client application."},"rule_count":{"type":"integer","description":"Number of rules configured for the client application."}},"additionalProperties":false},"GetRuleCountsResponseDataClientAppRulesCount":{"type":"object","required":["rule_count"],"properties":{"client_app_id":{"type":"string","description":"Unique identifier of the client application."},"rule_count":{"type":"integer","description":"Number of rules configured for the client application."}},"additionalProperties":false},"GetRulesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetRulesResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetRulesResponseData":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the rule."},"tag":{"type":"string","description":"Optional caller-defined label for the rule."},"value":{"type":"string","description":"The rule's filter expression."}}},"GetScheduledBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetScheduledBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetScheduledBroadcastResponseData":{"type":"object","properties":{"available_for_replay":{"type":"boolean","description":"Whether replay is enabled."},"broadcast_id":{"type":"string","description":"Alphanumeric broadcast id (path `:id` for get/update/delete/live)."},"chat_option":{"type":"string","description":"Who can chat (numeric string): `0` default, `1` chat off, `2` everyone, `3` verified accounts, `4` accounts the host follows, `5` the host's subscribers, `6` accounts followed by an account the host follows."},"description":{"type":"string","description":"Optional description."},"locale":{"type":"string","description":"Optional locale."},"manual_publish":{"type":"boolean","description":"When true, coordinator will not auto-publish; call POST .../live when ready."},"recurring_schedule_id":{"type":"string","description":"Deprecated: always null for new schedules."},"scheduled_broadcast_id":{"type":"string","description":"Numeric scheduler id. Required in the update request body."},"scheduled_end_ms":{"type":"string","description":"Scheduled end, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start, milliseconds since Unix epoch (decimal string)."},"source_id":{"type":"string","description":"Id of the bound source, as returned by GET /2/sources. Omitted when unknown."},"state":{"type":"string","description":"Scheduler state: `Created` or `Scheduled` before start, then `Running`, `Ended`, or `Error`."},"telecast_id":{"type":"string","description":"Deprecated: always null for new schedules."},"thumbnail_media_id":{"type":"string","description":"Optional pre-live slate media id."},"title":{"type":"string","description":"Broadcast title / status text."}}},"GetScheduledCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ScheduledCall"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetSourceResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetSourceResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetSourceResponseData":{"type":"object","required":["id"],"properties":{"created_at_ms":{"type":"string","description":"Creation time, milliseconds since Unix epoch (decimal string)."},"id":{"type":"string","description":"Source id, 19 decimal digits; the `source_id` that POST /2/broadcasts and scheduled broadcasts take. Not a credential: read the stream key with GET /2/sources/:id/stream_key."},"is_stream_active":{"type":"boolean","description":"Whether an encoder is currently sending video to the source."},"name":{"type":"string","description":"Label for the source."},"region":{"type":"string","description":"Region of the ingest location serving the source: `us-east-1` or `us-west-2`. Sources created before October 31, 2026 keep the AWS region they were created in."},"rtmp_url":{"type":"string","description":"Ingest URL."},"rtmps_url":{"type":"string","description":"RTMPS ingest URL (port 443). Configure your encoder with this URL and the source's stream key."}}},"GetSourceStreamKeyResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetSourceStreamKeyResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetSourceStreamKeyResponseData":{"type":"object","required":["id","stream_key"],"properties":{"id":{"type":"string","description":"Source id."},"stream_key":{"type":"string","description":"Stream key. A credential: anyone with it can stream to the source."}}},"GetSpacesBuyersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetSpacesByCreatorIdsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Space"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetSpacesByIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Space"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetSpacesByIdsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Space"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetSpacesPostsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetTrendsByWoeidResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Trend"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetTrendsPersonalizedTrendsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PersonalizedTrend"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUsageCreditsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetUsageCreditsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUsageCreditsResponseData":{"type":"object","required":["total_balance","prepaid_balance","free_balance","free_grants"],"properties":{"free_balance":{"type":"number","description":"USD remaining across unexpired free grants."},"free_grants":{"type":"array","description":"Unexpired free grants, soonest expiry first.","items":{"$ref":"#/components/schemas/GetUsageCreditsResponseDataFreeGrants"}},"prepaid_balance":{"type":"number","description":"Purchased (prepaid) USD balance. May be negative when paid usage has overdrawn this bucket."},"total_balance":{"type":"number","description":"Spendable USD remaining, clamped at 0.00: total_balance = max(0, prepaid_balance + free_balance)."}}},"GetUsageCreditsResponseDataFreeGrants":{"type":"object","required":["amount"],"properties":{"amount":{"type":"number","description":"USD remaining in this free grant."},"expires_at":{"type":"string","description":"When this grant expires (RFC 3339). Omitted if the grant never expires or the expiry is unknown."}},"additionalProperties":false},"GetUsageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Usage"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUserBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetUserBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUserBroadcastResponseData":{"type":"object","required":["broadcast"],"properties":{"broadcast":{"$ref":"#/components/schemas/GetUserBroadcastResponseDataBroadcast"}}},"GetUserBroadcastResponseDataBroadcast":{"type":"object","required":["id"],"properties":{"available_for_replay":{"type":"boolean","description":"Whether a replay is available."},"broadcast_id":{"type":"string","description":"Broadcast id."},"chat_option":{"type":"integer","description":"Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4 accounts the host follows, 5 the host's subscribers, 6 accounts followed by an account the host follows."},"created_at_ms":{"type":"string","description":"Creation time, milliseconds since Unix epoch (decimal string)."},"end_ms":{"type":"string","description":"End time, milliseconds since Unix epoch (decimal string)."},"height":{"type":"integer","description":"Video height in pixels."},"id":{"type":"string","description":"Broadcast id; equal to `broadcast_id`."},"image_url":{"type":"string","description":"Thumbnail URL."},"image_url_medium":{"type":"string","description":"Medium thumbnail URL."},"image_url_small":{"type":"string","description":"Small thumbnail URL."},"is_high_latency":{"type":"boolean","description":"Whether the broadcast is high latency."},"language":{"type":"string","description":"Broadcast language."},"media_id":{"type":"string","description":"Numeric media id from `media_key`."},"media_key":{"type":"string","description":"Media key of the broadcast's video."},"scheduled_end_ms":{"type":"string","description":"Scheduled end time, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start time, milliseconds since Unix epoch (decimal string)."},"start_ms":{"type":"string","description":"Start time, milliseconds since Unix epoch (decimal string)."},"state":{"type":"string","description":"`NOT_STARTED`, `RUNNING`, `TIMED_OUT`, `ENDED`, `PRE_PUBLISHED` or `CANCELED`."},"status":{"type":"string","description":"Broadcast title."},"total_watched":{"type":"string","description":"Total viewers (decimal string)."},"total_watching":{"type":"string","description":"Current viewers (decimal string)."},"tweet_id":{"type":"string","description":"Id of the Post announcing the broadcast."},"twitter_user_id":{"type":"string","description":"Owner's user id."},"updated_at_ms":{"type":"string","description":"Last update time, milliseconds since Unix epoch (decimal string)."},"width":{"type":"integer","description":"Video width in pixels."}},"additionalProperties":false},"GetUserSourceResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetUserSourceResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUserSourceResponseData":{"type":"object","required":["source"],"properties":{"source":{"$ref":"#/components/schemas/GetUserSourceResponseDataSource"}}},"GetUserSourceResponseDataSource":{"type":"object","required":["id"],"properties":{"creation_origin":{"description":"Where a source created before the move to on-prem was created, e.g. `{\"value\": 2, \"name\": \"MediaStudio\", \"original_name\": \"MEDIA_STUDIO\"}`; omitted for on-prem sources.","$ref":"#/components/schemas/GetUserSourceResponseDataSourceCreationOrigin"},"creation_time":{"type":"integer","description":"Creation time, ms since Unix epoch."},"id":{"type":"string","description":"Source id; also the RTMP stream key."},"is360":{"type":"boolean","description":"Whether the source streams 360° video."},"is_stream_active":{"type":"boolean","description":"Whether an encoder is currently sending video to the source."},"name":{"type":"string","description":"Label for the source."},"owner_id":{"type":"integer","description":"Owner's numeric user id. Exceeds the exact integer range of many JSON parsers."},"rtmp_region":{"type":"string","description":"Ingest region as an AWS region name, e.g. `us-east-1` or `us-west-2`. Accepted as `region` when creating a source."},"rtmp_stream_key":{"type":"string","description":"Stream key; equal to `id`."},"rtmp_url":{"type":"string","description":"RTMP ingest URL."},"rtmps_url":{"type":"string","description":"RTMPS ingest URL (port 443)."},"video_service":{"description":"Video service of a source created before the move to on-prem, e.g. `{\"value\": 0, \"name\": \"Vidman\", \"original_name\": \"VIDMAN\"}`; omitted for on-prem sources.","$ref":"#/components/schemas/GetUserSourceResponseDataSourceVideoService"}},"additionalProperties":false},"GetUserSourceResponseDataSourceCreationOrigin":{"type":"object","properties":{"name":{"type":"string","description":"Name, e.g. `PublicApi`."},"original_name":{"type":"string","description":"Upper-case name, e.g. `PUBLIC_API`."},"value":{"type":"integer","description":"Numeric value."}},"additionalProperties":false},"GetUserSourceResponseDataSourceVideoService":{"type":"object","properties":{"name":{"type":"string","description":"Name, e.g. `PublicApi`."},"original_name":{"type":"string","description":"Upper-case name, e.g. `PUBLIC_API`."},"value":{"type":"integer","description":"Numeric value."}},"additionalProperties":false},"GetUsersAffiliatesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersBlockingResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersBookmarkFoldersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetUsersBookmarkFoldersResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUsersBookmarkFoldersResponseData":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique identifier of the bookmark folder."},"name":{"type":"string","description":"Display name of the bookmark folder."}}},"GetUsersBookmarksByFolderIdResponse":{"type":"object","properties":{"data":{"type":"array","description":"The Posts in this bookmark folder, by ID.","items":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/PostId"}}}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUsersBookmarksResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersByIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/User"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetUsersByIdsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetUsersByUsernameResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/User"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetUsersByUsernamesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetUsersFollowedListsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/List"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersFollowersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersFollowingResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersLikedPostsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersListMembershipsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/List"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersMeFollowersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersMeFollowingResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersMeResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/User"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"GetUsersMentionsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"newest_id":{"type":"string","description":"Most recent ID in the data array."},"next_token":{"type":"string","description":"Pagination token for the next page of results."},"oldest_id":{"type":"string","description":"Oldest ID in the data array."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersMutingResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersOwnedListsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/List"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersPinnedListsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/List"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersPostsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"newest_id":{"type":"string","description":"Most recent ID in the data array."},"next_token":{"type":"string","description":"Pagination token for the next page of results."},"oldest_id":{"type":"string","description":"Oldest ID in the data array."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersPublicKeyResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicKey"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUsersPublicKeysResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicKey"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetUsersRepostsOfMeResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetUsersTimelineResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"newest_id":{"type":"string","description":"Most recent ID in the data array."},"next_token":{"type":"string","description":"Pagination token for the next page of results."},"oldest_id":{"type":"string","description":"Oldest ID in the data array."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetWebhooksResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookConfig"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"GetWebhooksStreamLinksResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetWebhooksStreamLinksResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GetWebhooksStreamLinksResponseData":{"type":"object","properties":{"application_id":{"type":"string","description":"The application ID"},"business_user_id":{"type":"string","description":"The user ID"},"created_at":{"type":"string","description":"The datetime the webhook was linked to the stream"},"fields":{"type":"array","description":"Requested fields to be rendered","items":{"type":"string"}},"instance_id":{"type":"string","description":"The stream ID associated with the FilteredStream instance"},"webhook_id":{"type":"string","description":"The unique identifier for the webhook"}}},"GoLiveScheduledBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GoLiveScheduledBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"GoLiveScheduledBroadcastResponseData":{"type":"object","properties":{"available_for_replay":{"type":"boolean","description":"Whether replay is enabled."},"broadcast_id":{"type":"string","description":"Alphanumeric broadcast id (path `:id` for get/update/delete/live)."},"chat_option":{"type":"string","description":"Who can chat (numeric string): `0` default, `1` chat off, `2` everyone, `3` verified accounts, `4` accounts the host follows, `5` the host's subscribers, `6` accounts followed by an account the host follows."},"description":{"type":"string","description":"Optional description."},"locale":{"type":"string","description":"Optional locale."},"manual_publish":{"type":"boolean","description":"When true, coordinator will not auto-publish; call POST .../live when ready."},"recurring_schedule_id":{"type":"string","description":"Deprecated: always null for new schedules."},"scheduled_broadcast_id":{"type":"string","description":"Numeric scheduler id. Required in the update request body."},"scheduled_end_ms":{"type":"string","description":"Scheduled end, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start, milliseconds since Unix epoch (decimal string)."},"source_id":{"type":"string","description":"Id of the bound source, as returned by GET /2/sources. Omitted when unknown."},"state":{"type":"string","description":"Scheduler state: `Created` or `Scheduled` before start, then `Running`, `Ended`, or `Error`."},"telecast_id":{"type":"string","description":"Deprecated: always null for new schedules."},"thumbnail_media_id":{"type":"string","description":"Optional pre-live slate media id."},"title":{"type":"string","description":"Broadcast title / status text."}}},"HidePostsReplyRequest":{"type":"object","required":["hidden"],"properties":{"hidden":{"type":"boolean","description":"Whether the reply should be hidden."}},"additionalProperties":false},"HidePostsReplyResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/HidePostsReplyResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"HidePostsReplyResponseData":{"type":"object","properties":{"hidden":{"type":"boolean","description":"Whether the reply is hidden."}}},"InitializeChatGroupResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/InitializeChatGroupResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"InitializeChatGroupResponseData":{"type":"object","required":["conversation_id"],"properties":{"conversation_id":{"type":"string","description":"Unique ID for the new group conversation."}}},"InitializeMediaUploadRequest":{"type":"object","properties":{"additional_owners":{"type":"array","description":"User ids granted access to the uploaded media.","items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"media_category":{"type":"string","description":"The media category of the upload.","enum":["amplify_video","tweet_gif","tweet_image","tweet_video","dm_gif","dm_image","dm_video","subtitles"]},"media_type":{"type":"string","description":"The type of media.","enum":["video/mp4","video/webm","video/mp2t","video/quicktime","text/srt","text/vtt","image/jpeg","image/gif","image/bmp","image/png","image/webp","image/pjpeg","image/tiff","model/gltf-binary","model/vnd.usdz+zip"]},"shared":{"type":"boolean","description":"Whether this media is shared or not."},"total_bytes":{"type":"integer","description":"The total size of the media upload in bytes.","minimum":0,"maximum":17179869184}},"additionalProperties":false},"InitializeMediaUploadResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/InitializeMediaUploadResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"InitializeMediaUploadResponseData":{"type":"object","required":["id"],"properties":{"expires_after_secs":{"type":"integer","description":"Seconds until the upload session expires."},"id":{"type":"string","description":"Unique identifier of the upload session."},"media_key":{"type":"string","description":"The media key for the uploaded media."}}},"InternalErrorProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/internal-error"]}}},"InvalidRequestProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"parameter":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/invalid-request"]},"value":{"type":"string"}}},"InvalidRuleProblem":{"type":"object","required":["type","title","details"],"properties":{"detail":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.twitter.com/2/problems/invalid-rules"]},"value":{"type":"string"}}},"JoinCallMedia":{"type":"object","properties":{"audio":{"description":"The audio format your agent sends and receives.","$ref":"#/components/schemas/JoinCallMediaAudio"},"type":{"type":"string","description":"websocket (default): your agent over the media WebSocket.","enum":["websocket"]}},"additionalProperties":false},"JoinCallMediaAudio":{"type":"object","properties":{"encoding":{"type":"string","description":"Audio encoding on the media WebSocket (PCM16 little-endian mono).","enum":["pcm16"]},"sample_rate":{"type":"integer","description":"8000, 16000, 24000 (default) or 48000."}},"additionalProperties":false},"JoinCallRequest":{"type":"object","properties":{"media":{"description":"The media session to start.","$ref":"#/components/schemas/JoinCallMedia"}},"additionalProperties":false},"JoinCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/JoinCallResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"JoinCallResponseData":{"type":"object","required":["session_id"],"properties":{"admission":{"type":"string","description":"immediate, or requires_approval when the host must admit the session."},"call":{"description":"The call.","$ref":"#/components/schemas/JoinCallResponseDataCall"},"expires_at":{"type":"string","description":"When media_token expires (RFC 3339)."},"media_token":{"type":"string","description":"Bearer token for media_url; single use, short-lived."},"media_type":{"type":"string","description":"websocket."},"media_url":{"type":"string","description":"Where to open the media WebSocket."},"session_id":{"type":"string","description":"Media session id."}},"additionalProperties":false},"JoinCallResponseDataCall":{"type":"object","required":["id"],"properties":{"conversation_id":{"type":"string","description":"XChat conversation the call belongs to, if any."},"created_at":{"type":"string","description":"Creation time (RFC 3339)."},"host_id":{"type":"string","description":"X user id of the call's host."},"id":{"type":"string","description":"Unique identifier of the call; also its join secret."},"join_policy":{"type":"string","description":"Who may join: open (anyone with the link), closed (the host admits people), or trusted (the host's Verified Organization)."},"join_url":{"type":"string","description":"Link people open to join the call on X."},"participant_count":{"type":"integer","description":"People in the call right now."},"title":{"type":"string","description":"Title of the call."},"viewer_may_join":{"type":"boolean","description":"Whether the authenticated user may join without asking the host."}},"additionalProperties":false},"Keyword":{"type":"string","description":"A keyword to filter on.","minLength":1,"maxLength":150,"example":"The President"},"LeaveCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LeaveCallResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"LeaveCallResponseData":{"type":"object","properties":{"left":{"type":"boolean","description":"Whether the user left the call."}},"additionalProperties":false},"LikeComplianceSchema":{"type":"object","required":["delete"],"properties":{"delete":{"$ref":"#/components/schemas/UnlikeComplianceSchema"}}},"LikeId":{"type":"string","description":"The unique identifier of this Like.","pattern":"^[A-Za-z0-9_]{1,40}$","example":"8ba4f34e6235d905a46bac021d98e923"},"LikePostRequest":{"type":"object","required":["tweet_id"],"properties":{"tweet_id":{"type":"string","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"LikePostResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LikePostResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"LikePostResponseData":{"type":"object","required":["liked"],"properties":{"liked":{"type":"boolean","description":"Whether the User likes the Post."}}},"LikeWithPostAuthor":{"type":"object","description":"A Like event, with the tweet author user and the tweet being liked","properties":{"created_at":{"type":"string","description":"Creation time of the Tweet.","format":"date-time","example":"2021-01-06T18:40:40.000Z"},"id":{"$ref":"#/components/schemas/LikeId"},"liked_tweet_id":{"$ref":"#/components/schemas/PostId"},"timestamp_ms":{"type":"integer","description":"Timestamp in milliseconds of creation.","format":"int32"},"tweet_author_id":{"$ref":"#/components/schemas/UserId"}}},"List":{"type":"object","properties":{"created_at":{"type":"string"},"description":{"type":"string"},"follower_count":{"$ref":"#/components/schemas/ListFollowerCount"},"id":{"type":"string"},"member_count":{"$ref":"#/components/schemas/ListMemberCount"},"name":{"type":"string"},"owner_id":{"type":"string"},"private":{"type":"boolean"}}},"ListBroadcastsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Broadcast"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"ListFollowerCount":{"type":"integer","description":"The number of users who follow this List.","format":"int64"},"ListId":{"type":"string","description":"Unique identifier of a List","pattern":"^[0-9]{1,19}$","example":"1146654567674912769"},"ListLiveCategoriesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ListLiveCategoriesResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"ListLiveCategoriesResponseData":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","description":"Category id, e.g. `gaming`. Permanent. Pass it as `live_category_id` on POST /2/broadcasts."},"name":{"type":"string","description":"Display name, e.g. `Gaming`. Can change."}}},"ListMemberCount":{"type":"integer","description":"The number of members in this List.","format":"int64"},"ListScheduledBroadcastsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ListScheduledBroadcastsResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ListScheduledBroadcastsResponseData":{"type":"object","properties":{"available_for_replay":{"type":"boolean","description":"Whether replay is enabled."},"broadcast_id":{"type":"string","description":"Alphanumeric broadcast id (path `:id` for get/update/delete/live)."},"chat_option":{"type":"string","description":"Who can chat (numeric string): `0` default, `1` chat off, `2` everyone, `3` verified accounts, `4` accounts the host follows, `5` the host's subscribers, `6` accounts followed by an account the host follows."},"description":{"type":"string","description":"Optional description."},"locale":{"type":"string","description":"Optional locale."},"manual_publish":{"type":"boolean","description":"When true, coordinator will not auto-publish; call POST .../live when ready."},"recurring_schedule_id":{"type":"string","description":"Deprecated: always null for new schedules."},"scheduled_broadcast_id":{"type":"string","description":"Numeric scheduler id. Required in the update request body."},"scheduled_end_ms":{"type":"string","description":"Scheduled end, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start, milliseconds since Unix epoch (decimal string)."},"source_id":{"type":"string","description":"Id of the bound source, as returned by GET /2/sources. Omitted when unknown."},"state":{"type":"string","description":"Scheduler state: `Created` or `Scheduled` before start, then `Running`, `Ended`, or `Error`."},"telecast_id":{"type":"string","description":"Deprecated: always null for new schedules."},"thumbnail_media_id":{"type":"string","description":"Optional pre-live slate media id."},"title":{"type":"string","description":"Broadcast title / status text."}}},"ListScheduledCallsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ScheduledCall"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"ListSourcesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ListSourcesResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"ListSourcesResponseData":{"type":"object","required":["id"],"properties":{"created_at_ms":{"type":"string","description":"Creation time, milliseconds since Unix epoch (decimal string)."},"id":{"type":"string","description":"Source id, 19 decimal digits; the `source_id` that POST /2/broadcasts and scheduled broadcasts take. Not a credential: read the stream key with GET /2/sources/:id/stream_key."},"is_stream_active":{"type":"boolean","description":"Whether an encoder is currently sending video to the source."},"name":{"type":"string","description":"Label for the source."},"region":{"type":"string","description":"Region of the ingest location serving the source: `us-east-1` or `us-west-2`. Sources created before October 31, 2026 keep the AWS region they were created in."},"rtmp_url":{"type":"string","description":"Ingest URL."},"rtmps_url":{"type":"string","description":"RTMPS ingest URL (port 443). Configure your encoder with this URL and the source's stream key."}}},"ListUserBroadcastsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ListUserBroadcastsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ListUserBroadcastsResponseData":{"type":"object","required":["broadcasts"],"properties":{"broadcasts":{"type":"array","items":{"$ref":"#/components/schemas/ListUserBroadcastsResponseDataBroadcasts"}},"next_token":{"$ref":"#/components/schemas/ListUserBroadcastsResponseDataNextToken"}}},"ListUserBroadcastsResponseDataBroadcasts":{"type":"object","required":["id"],"properties":{"available_for_replay":{"type":"boolean","description":"Whether a replay is available."},"broadcast_id":{"type":"string","description":"Broadcast id."},"chat_option":{"type":"integer","description":"Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4 accounts the host follows, 5 the host's subscribers, 6 accounts followed by an account the host follows."},"created_at_ms":{"type":"string","description":"Creation time, milliseconds since Unix epoch (decimal string)."},"end_ms":{"type":"string","description":"End time, milliseconds since Unix epoch (decimal string)."},"height":{"type":"integer","description":"Video height in pixels."},"id":{"type":"string","description":"Broadcast id; equal to `broadcast_id`."},"image_url":{"type":"string","description":"Thumbnail URL."},"image_url_medium":{"type":"string","description":"Medium thumbnail URL."},"image_url_small":{"type":"string","description":"Small thumbnail URL."},"is_high_latency":{"type":"boolean","description":"Whether the broadcast is high latency."},"language":{"type":"string","description":"Broadcast language."},"media_id":{"type":"string","description":"Numeric media id from `media_key`."},"media_key":{"type":"string","description":"Media key of the broadcast's video."},"scheduled_end_ms":{"type":"string","description":"Scheduled end time, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start time, milliseconds since Unix epoch (decimal string)."},"start_ms":{"type":"string","description":"Start time, milliseconds since Unix epoch (decimal string)."},"state":{"type":"string","description":"`NOT_STARTED`, `RUNNING`, `TIMED_OUT`, `ENDED`, `PRE_PUBLISHED` or `CANCELED`."},"status":{"type":"string","description":"Broadcast title."},"total_watched":{"type":"string","description":"Total viewers (decimal string)."},"total_watching":{"type":"string","description":"Current viewers (decimal string)."},"tweet_id":{"type":"string","description":"Id of the Post announcing the broadcast."},"twitter_user_id":{"type":"string","description":"Owner's user id."},"updated_at_ms":{"type":"string","description":"Last update time, milliseconds since Unix epoch (decimal string)."},"width":{"type":"integer","description":"Video width in pixels."}},"additionalProperties":false},"ListUserBroadcastsResponseDataNextToken":{"type":"object","required":["offset"],"properties":{"offset":{"type":"string","description":"Pass as `pagination_token` to read the next page."}},"additionalProperties":false},"ListUserSourcesResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ListUserSourcesResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ListUserSourcesResponseData":{"type":"object","required":["sources"],"properties":{"sources":{"type":"array","items":{"$ref":"#/components/schemas/ListUserSourcesResponseDataSources"}}}},"ListUserSourcesResponseDataSources":{"type":"object","required":["id"],"properties":{"creation_origin":{"description":"Where a source created before the move to on-prem was created, e.g. `{\"value\": 2, \"name\": \"MediaStudio\", \"original_name\": \"MEDIA_STUDIO\"}`; omitted for on-prem sources.","$ref":"#/components/schemas/ListUserSourcesResponseDataSourcesCreationOrigin"},"creation_time":{"type":"integer","description":"Creation time, ms since Unix epoch."},"id":{"type":"string","description":"Source id; also the RTMP stream key."},"is360":{"type":"boolean","description":"Whether the source streams 360° video."},"is_stream_active":{"type":"boolean","description":"Whether an encoder is currently sending video to the source."},"name":{"type":"string","description":"Label for the source."},"owner_id":{"type":"integer","description":"Owner's numeric user id. Exceeds the exact integer range of many JSON parsers."},"rtmp_region":{"type":"string","description":"Ingest region as an AWS region name, e.g. `us-east-1` or `us-west-2`. Accepted as `region` when creating a source."},"rtmp_stream_key":{"type":"string","description":"Stream key; equal to `id`."},"rtmp_url":{"type":"string","description":"RTMP ingest URL."},"rtmps_url":{"type":"string","description":"RTMPS ingest URL (port 443)."},"video_service":{"description":"Video service of a source created before the move to on-prem, e.g. `{\"value\": 0, \"name\": \"Vidman\", \"original_name\": \"VIDMAN\"}`; omitted for on-prem sources.","$ref":"#/components/schemas/ListUserSourcesResponseDataSourcesVideoService"}},"additionalProperties":false},"ListUserSourcesResponseDataSourcesCreationOrigin":{"type":"object","properties":{"name":{"type":"string","description":"Name, e.g. `PublicApi`."},"original_name":{"type":"string","description":"Upper-case name, e.g. `PUBLIC_API`."},"value":{"type":"integer","description":"Numeric value."}},"additionalProperties":false},"ListUserSourcesResponseDataSourcesVideoService":{"type":"object","properties":{"name":{"type":"string","description":"Name, e.g. `PublicApi`."},"original_name":{"type":"string","description":"Upper-case name, e.g. `PUBLIC_API`."},"value":{"type":"integer","description":"Numeric value."}},"additionalProperties":false},"MarkChatConversationReadActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/MarkChatConversationReadActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"MarkChatConversationReadActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/MarkChatConversationReadActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"MarkChatConversationReadActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"MarkChatConversationReadRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signature over the read receipt (a MarkConversationReadEvent). Omit to send it unsigned.","items":{"$ref":"#/components/schemas/MarkChatConversationReadActionSignatures"}}}},"MarkChatConversationReadResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MarkChatConversationReadResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"MarkChatConversationReadResponseData":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Whether the conversation was marked read."}}},"MarkChatConversationUnreadResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MarkChatConversationUnreadResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"MarkChatConversationUnreadResponseData":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Whether the conversation was marked unread."}}},"Media":{"type":"object","properties":{"alt_text":{"type":"string"},"duration_ms":{"type":"integer"},"height":{"type":"integer"},"media_key":{"type":"string"},"non_public_metrics":{"$ref":"#/components/schemas/MediaNonPublicMetrics"},"organic_metrics":{"$ref":"#/components/schemas/MediaOrganicMetrics"},"preview_image_url":{"type":"string"},"promoted_metrics":{"$ref":"#/components/schemas/MediaPromotedMetrics"},"public_metrics":{"$ref":"#/components/schemas/MediaPublicMetrics"},"revenue":{"$ref":"#/components/schemas/MediaRevenue"},"type":{"type":"string"},"url":{"type":"string"},"variants":{"$ref":"#/components/schemas/MediaVariants"},"width":{"type":"integer"}}},"MediaAnalytics":{"type":"object","properties":{"cta_url_clicks":{"type":"integer"},"cta_watch_clicks":{"type":"integer"},"media_key":{"type":"string"},"play_from_tap":{"type":"integer"},"playback25":{"type":"integer"},"playback50":{"type":"integer"},"playback75":{"type":"integer"},"playback_complete":{"type":"integer"},"playback_start":{"type":"integer"},"timestamp":{"type":"string"},"timestamped_metrics":{"$ref":"#/components/schemas/MediaAnalyticsTimestampedMetrics"},"video_views":{"type":"integer"},"watch_time_ms":{"type":"integer"}}},"MediaAnalyticsTimestampedMetrics":{"type":"array","description":"Time-bucketed video metrics for the media, one entry per granularity bucket.","items":{"type":"object","properties":{"metrics":{"type":"object","description":"Video metric counts for this bucket. Counters are integers when the backend value parses as a number, otherwise the original string is preserved.","properties":{"cta_url_clicks":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"cta_watch_clicks":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"play_from_tap":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"playback25":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"playback50":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"playback75":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"playback_complete":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"playback_start":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"video_views":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true},"watch_time_ms":{"description":"A video metric counter: an integer when the backend value parses as a number, otherwise the original string.","oneOf":[{"type":"integer","format":"int64"},{"type":"string"}],"nullable":true}},"nullable":true},"timestamp":{"type":"string","description":"Start of the metrics bucket, as an ISO 8601 date-time.","nullable":true}}}},"MediaId":{"type":"string","description":"Unique identifier of a Media","pattern":"^[0-9]{1,19}$"},"MediaNonPublicMetrics":{"type":"object","description":"Nonpublic engagement metrics for the media at the time of the request.","properties":{"playback_0_count":{"type":"integer","description":"Number of users who started playback (0% quartile) of this video.","format":"int64","nullable":true},"playback_100_count":{"type":"integer","description":"Number of users who completed playback (100% quartile) of this video.","format":"int64","nullable":true},"playback_25_count":{"type":"integer","description":"Number of users who watched at least 25% of this video.","format":"int64","nullable":true},"playback_50_count":{"type":"integer","description":"Number of users who watched at least 50% of this video.","format":"int64","nullable":true},"playback_75_count":{"type":"integer","description":"Number of users who watched at least 75% of this video.","format":"int64","nullable":true}}},"MediaOrganicMetrics":{"type":"object","description":"Lifetime organic engagement metrics for the media at the time of the request.\nOnly available to the user who uploaded the video.","properties":{"cta_url_click_count":{"type":"integer","description":"Number of clicks on the video's call-to-action URL.","format":"int64","nullable":true},"cta_watch_click_count":{"type":"integer","description":"Number of clicks on the video's \"watch\" call to action.","format":"int64","nullable":true},"playback_0_count":{"type":"integer","description":"Number of users who started playback (0% quartile) of this video.","format":"int64","nullable":true},"playback_100_count":{"type":"integer","description":"Number of users who completed playback (100% quartile) of this video.","format":"int64","nullable":true},"playback_25_count":{"type":"integer","description":"Number of users who watched at least 25% of this video.","format":"int64","nullable":true},"playback_50_count":{"type":"integer","description":"Number of users who watched at least 50% of this video.","format":"int64","nullable":true},"playback_75_count":{"type":"integer","description":"Number of users who watched at least 75% of this video.","format":"int64","nullable":true},"view_count":{"type":"integer","description":"The number of organic views of this video.","format":"int64","nullable":true},"watch_time_ms":{"type":"integer","description":"Total time this video has been watched, in milliseconds.","format":"int64","nullable":true}}},"MediaPromotedMetrics":{"type":"object","description":"Promoted nonpublic engagement metrics for the media at the time of the request.","properties":{"playback_0_count":{"type":"integer","description":"Number of users who started playback (0% quartile) of this video.","format":"int64","nullable":true},"playback_100_count":{"type":"integer","description":"Number of users who completed playback (100% quartile) of this video.","format":"int64","nullable":true},"playback_25_count":{"type":"integer","description":"Number of users who watched at least 25% of this video.","format":"int64","nullable":true},"playback_50_count":{"type":"integer","description":"Number of users who watched at least 50% of this video.","format":"int64","nullable":true},"playback_75_count":{"type":"integer","description":"Number of users who watched at least 75% of this video.","format":"int64","nullable":true},"view_count":{"type":"integer","description":"The number of promoted views of this video. Null when the backend returns quartile data without a view count.","format":"int64","nullable":true}}},"MediaPublicMetrics":{"type":"object","description":"Public engagement metrics for the media at the time of the request.","required":["view_count"],"properties":{"view_count":{"type":"integer","description":"The number of times this video has been viewed.","format":"int64"}}},"MediaRevenue":{"type":"object","description":"Lifetime revenue earned by the media. Only available to the user who\nuploaded the video, and only to apps holding the `media.library.read` scope.","required":["amount_micros","currency_code"],"properties":{"amount_micros":{"type":"integer","description":"Revenue earned by this video, in micro-units (1/1,000,000) of `currency_code`.","format":"int64"},"currency_code":{"type":"string","description":"ISO 4217 code of the currency `amount_micros` is denominated in."}}},"MediaUploadRequest":{"type":"object","required":["media","media_category"],"properties":{"additional_owners":{"type":"string","description":"Comma-separated list of user IDs who can use this media."},"media":{"anyOf":[{"type":"string","format":"binary"},{"type":"string","format":"byte"}],"description":"The media file to upload: base64-encoded in JSON bodies, raw bytes in multipart bodies."},"media_category":{"type":"string","description":"The category of the media being uploaded.","enum":["tweet_image","tweet_video","tweet_gif","dm_image","dm_video","dm_gif","subtitles"]}},"additionalProperties":false},"MediaUploadResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MediaUploadResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"MediaUploadResponseData":{"type":"object","required":["id"],"properties":{"expires_after_secs":{"type":"integer","description":"Seconds until the upload session expires."},"id":{"type":"string","description":"Unique identifier of the media."},"image":{"$ref":"#/components/schemas/MediaUploadResponseDataImage"},"media_key":{"type":"string","description":"The media key for the uploaded media."},"processing_info":{"$ref":"#/components/schemas/MediaUploadResponseDataProcessingInfo"},"size":{"type":"integer","description":"Total size of the media in bytes."},"video":{"$ref":"#/components/schemas/MediaUploadResponseDataVideo"}}},"MediaUploadResponseDataImage":{"type":"object","properties":{"h":{"type":"integer","description":"Height in pixels."},"image_type":{"type":"string","description":"MIME type of the uploaded image."},"w":{"type":"integer","description":"Width in pixels."}},"additionalProperties":false},"MediaUploadResponseDataProcessingInfo":{"type":"object","properties":{"check_after_secs":{"type":"integer","description":"Seconds to wait before polling status again."},"progress_percent":{"type":"integer","description":"Processing completion percentage."},"state":{"type":"string","description":"Processing state (pending, in_progress, failed, succeeded)."}},"additionalProperties":false},"MediaUploadResponseDataVideo":{"type":"object","properties":{"video_type":{"type":"string","description":"MIME type of the processed video."}},"additionalProperties":false},"MediaVariants":{"type":"array","description":"Each media object may have multiple display or playback variants, with different resolutions or formats.","items":{"type":"object","description":"A single playback or display variant of a media object.","properties":{"bit_rate":{"type":"integer","description":"The bit rate of this variant, in bits per second. Absent for playlist variants.","format":"int64","nullable":true},"content_type":{"type":"string","description":"The MIME type of this variant, for example \"video/mp4\" or \"application/x-mpegURL\".","nullable":true},"url":{"type":"string","description":"The URL to this media variant.","nullable":true}}}},"MessageRequestNotSupportedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/message-request-not-supported"]}}},"MuteBroadcastChatUserRequest":{"type":"object","required":["user_id"],"properties":{"end_at_ms":{"type":"string","description":"The Unix timestamp in milliseconds when the mute expires. Omit this field to mute indefinitely.","pattern":"^[1-9][0-9]{0,18}$"},"message_id":{"type":"string","description":"A chat message to remove while muting the user.","pattern":"^[1-9][0-9]{0,18}$"},"user_id":{"type":"string","description":"The user to mute.","pattern":"^[1-9][0-9]{0,18}$"}},"additionalProperties":false},"MuteBroadcastChatUserResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MuteBroadcastChatUserResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"MuteBroadcastChatUserResponseData":{"type":"object","required":["muted"],"properties":{"muted":{"type":"boolean","description":"Whether the user is muted in this broadcast chat."}}},"MuteChatConversationActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/MuteChatConversationActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"MuteChatConversationActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/MuteChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"MuteChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"MuteChatConversationRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/MuteChatConversationActionSignatures"}}},"additionalProperties":false},"MuteChatConversationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MuteChatConversationResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"MuteChatConversationResponseData":{"type":"object","required":["muted"],"properties":{"muted":{"type":"boolean","description":"Whether the conversation is muted for the authenticated user."}}},"MuteChatUserRequest":{"type":"object","required":["user_id"],"properties":{"broadcast_id":{"type":"string","description":"A broadcast whose host's chats the user is muted in. Required with `message_id`.","pattern":"^[a-zA-Z0-9]{1,24}$"},"end_at_ms":{"type":"string","description":"The Unix timestamp in milliseconds when the mute expires. Omit this field to mute indefinitely.","pattern":"^[1-9][0-9]{0,18}$"},"message_id":{"type":"string","description":"A chat message in `broadcast_id` to remove while muting the user.","pattern":"^[1-9][0-9]{0,18}$"},"user_id":{"type":"string","description":"The user to mute.","pattern":"^[1-9][0-9]{0,18}$"}},"additionalProperties":false},"MuteChatUserResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MuteChatUserResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"MuteChatUserResponseData":{"type":"object","required":["muted"],"properties":{"muted":{"type":"boolean","description":"Whether the user is muted in this broadcast chat."}}},"MuteUserRequest":{"type":"object","required":["target_user_id"],"properties":{"target_user_id":{"type":"string","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"MuteUserResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MuteUserResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"MuteUserResponseData":{"type":"object","required":["muting"],"properties":{"muting":{"type":"boolean","description":"Whether the source User is muting the target User."}}},"News":{"type":"object","properties":{"category":{"type":"string"},"cluster_posts_results":{"$ref":"#/components/schemas/NewsClusterPostsResults"},"contexts":{"type":"object"},"disclaimer":{"type":"string"},"hook":{"type":"string"},"id":{"type":"string"},"keywords":{"type":"object"},"name":{"type":"string"},"summary":{"type":"string"},"updated_at":{"type":"string"}}},"NewsActivityResponsePayload":{"type":"object","properties":{"category":{"type":"string"},"headline":{"type":"string"},"hook":{"type":"string"},"summary":{"type":"string"}},"additionalProperties":false},"NewsClusterPostsResults":{"type":"array","items":{"type":"object","description":"A Post belonging to this news story's cluster.","required":["post_id"],"properties":{"post_id":{"type":"string","description":"Unique identifier of the Post."}}}},"NotAuthorizedForFieldProblem":{"type":"object","required":["type","title","detail","field"],"properties":{"detail":{"type":"string"},"field":{"type":"string"},"parameter":{"type":"string"},"resource_id":{"type":"string"},"resource_type":{"type":"string"},"section":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/not-authorized-for-field"]},"value":{"type":"string"}}},"NotAuthorizedForResourceProblem":{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string"},"parameter":{"type":"string"},"resource_id":{"type":"string"},"resource_type":{"type":"string"},"section":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/not-authorized-for-resource"]},"value":{"type":"string"}}},"Note":{"type":"object","properties":{"id":{"type":"string"},"info":{"$ref":"#/components/schemas/NoteInfo"},"scoring_status":{"$ref":"#/components/schemas/NoteScoringStatus"},"status":{"type":"string"},"test_result":{"$ref":"#/components/schemas/NoteTestResult"}}},"NoteId":{"type":"string","description":"Unique identifier of a Note","pattern":"^[0-9]{1,19}$"},"NoteInfo":{"type":"object","description":"Details about the Community Note's content, classification and source.","properties":{"classification":{"type":"string","description":"How the noted Post was classified (snake_case).","nullable":true},"misleading_tags":{"type":"array","description":"Reasons the noted Post may be misleading (snake_case).","items":{"type":"string"},"nullable":true},"post_id":{"type":"string","description":"Unique identifier of the Post this note is about.","nullable":true},"rating_status":{"type":"string","description":"Current rating status of the note.","nullable":true},"text":{"type":"string","description":"The text of the Community Note.","nullable":true},"trustworthy_sources":{"type":"boolean","description":"Whether the note cites trustworthy sources.","nullable":true}}},"NoteScoringStatus":{"type":"object","description":"Per-model scoring breakdown for the Community Note.","properties":{"has_access":{"type":"boolean","description":"Whether the caller has access to the scoring details.","nullable":true},"rating_counts_per_model":{"type":"array","description":"Rating counts broken down per scoring model.","items":{"type":"object","description":"Rating counts for one scoring model.","properties":{"model_name":{"type":"string","description":"Name of the scoring model.","nullable":true},"value":{"type":"object","description":"Per-factor bucket counts for a scoring model.","properties":{"negative_factor_bucket_counts":{"type":"object","description":"Helpfulness counts for one rating factor bucket.","properties":{"helpful_count":{"type":"integer","format":"int64","nullable":true},"helpful_tag_counts":{"type":"array","items":{"type":"object","description":"A tag and its count.","properties":{"tag_count":{"type":"integer","format":"int64","nullable":true},"tag_name":{"type":"string","nullable":true}}},"nullable":true},"not_helpful_count":{"type":"integer","format":"int64","nullable":true},"not_helpful_tag_counts":{"type":"array","items":{"type":"object","description":"A tag and its count.","properties":{"tag_count":{"type":"integer","format":"int64","nullable":true},"tag_name":{"type":"string","nullable":true}}},"nullable":true},"somewhat_helpful_count":{"type":"integer","format":"int64","nullable":true}},"nullable":true},"neutral_factor_bucket_counts":{"type":"object","description":"Helpfulness counts for one rating factor bucket.","properties":{"helpful_count":{"type":"integer","format":"int64","nullable":true},"helpful_tag_counts":{"type":"array","items":{"type":"object","description":"A tag and its count.","properties":{"tag_count":{"type":"integer","format":"int64","nullable":true},"tag_name":{"type":"string","nullable":true}}},"nullable":true},"not_helpful_count":{"type":"integer","format":"int64","nullable":true},"not_helpful_tag_counts":{"type":"array","items":{"type":"object","description":"A tag and its count.","properties":{"tag_count":{"type":"integer","format":"int64","nullable":true},"tag_name":{"type":"string","nullable":true}}},"nullable":true},"somewhat_helpful_count":{"type":"integer","format":"int64","nullable":true}},"nullable":true},"positive_factor_bucket_counts":{"type":"object","description":"Helpfulness counts for one rating factor bucket.","properties":{"helpful_count":{"type":"integer","format":"int64","nullable":true},"helpful_tag_counts":{"type":"array","items":{"type":"object","description":"A tag and its count.","properties":{"tag_count":{"type":"integer","format":"int64","nullable":true},"tag_name":{"type":"string","nullable":true}}},"nullable":true},"not_helpful_count":{"type":"integer","format":"int64","nullable":true},"not_helpful_tag_counts":{"type":"array","items":{"type":"object","description":"A tag and its count.","properties":{"tag_count":{"type":"integer","format":"int64","nullable":true},"tag_name":{"type":"string","nullable":true}}},"nullable":true},"somewhat_helpful_count":{"type":"integer","format":"int64","nullable":true}},"nullable":true}},"nullable":true}}},"nullable":true}}},"NoteTestResult":{"type":"object","description":"AI evaluation results for the Community Note (returned in test mode).","properties":{"evaluation_outcome":{"type":"array","description":"Per-evaluator outcomes for the note.","items":{"type":"object","description":"A single evaluator's outcome for a Community Note.","required":["evaluator_type","evaluator_score_bucket"],"properties":{"evaluator_score_bucket":{"type":"string","description":"The score bucket the evaluator assigned."},"evaluator_type":{"type":"string","description":"The type of evaluator that produced this outcome."}}},"nullable":true}}},"PersonalizedTrend":{"type":"object","properties":{"category":{"type":"string"},"post_count":{"type":"string"},"trend_name":{"type":"string"},"trending_since":{"type":"string"}}},"PinListRequest":{"type":"object","required":["list_id"],"properties":{"list_id":{"type":"string","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"PinListResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PinListResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"PinListResponseData":{"type":"object","required":["pinned"],"properties":{"pinned":{"type":"boolean","description":"Indicates whether the List is pinned by the authenticated user."}}},"Place":{"type":"object","properties":{"contained_within":{"$ref":"#/components/schemas/PlaceContainedWithin"},"country":{"type":"string"},"country_code":{"type":"string"},"full_name":{"type":"string"},"geo":{"$ref":"#/components/schemas/PlaceGeo"},"id":{"type":"string"},"name":{"type":"string"},"place_type":{"type":"string"}}},"PlaceContainedWithin":{"type":"array","description":"A list of unique identifiers of the Places that contain this place.","items":{"type":"string"}},"PlaceGeo":{"type":"object","description":"The geographic location of this place, expressed as a GeoJSON Feature.","required":["type","bbox","properties"],"properties":{"bbox":{"type":"array","description":"The bounding box as [southwest_longitude, southwest_latitude, northeast_longitude, northeast_latitude].","minItems":4,"maxItems":4,"items":{"type":"number","format":"double"}},"properties":{"type":"object","description":"Additional GeoJSON feature properties."},"type":{"description":"The GeoJSON feature type.","oneOf":[{"type":"string","enum":["Feature"]}]}}},"Poll":{"type":"object","properties":{"duration_minutes":{"type":"integer"},"end_datetime":{"type":"string"},"id":{"type":"string"},"options":{"$ref":"#/components/schemas/PollOptions"},"voting_status":{"type":"string"}}},"PollOptions":{"type":"array","description":"The list of options (choices) available in this poll.","items":{"type":"object","description":"A single option (choice) available in a poll.","required":["position","label","votes"],"properties":{"label":{"type":"string","description":"The text label of this poll option."},"position":{"type":"integer","description":"The 1-based position of this option within the poll.","format":"int64"},"votes":{"type":"integer","description":"The number of votes this option has received.","format":"int64"}}}},"Post":{"type":"object","properties":{"article":{"type":"object"},"article_title":{"type":"object","description":"Metadata about the long-form Article attached to this Post, if any."},"attachments":{"$ref":"#/components/schemas/PostAttachments"},"author_id":{"type":"string","description":"Unique identifier of the author of this Post."},"card_uri":{"type":"string"},"community_id":{"type":"string","description":"The unique identifier of the Community this Post belongs to, if any."},"context_annotations":{"$ref":"#/components/schemas/PostContextAnnotations"},"conversation_id":{"type":"string","description":"The ID of the conversation this Post belongs to (matches the root Post's ID)."},"created_at":{"type":"string","description":"Creation time of the Post.","format":"date-time"},"display_text_range":{"$ref":"#/components/schemas/PostDisplayTextRange"},"edit_controls":{"$ref":"#/components/schemas/PostEditControls"},"edit_history_post_ids":{"type":"array","description":"A list of Post IDs in this Post's edit history chain.","items":{"type":"string"}},"entities":{"$ref":"#/components/schemas/PostEntities"},"geo":{"$ref":"#/components/schemas/PostGeo"},"id":{"type":"string","description":"Unique identifier of this Post."},"in_reply_to_user_id":{"type":"string","description":"Unique identifier of the User this Post is replying to."},"lang":{"type":"string","description":"Language of the Post, if detected by X. Returned as a BCP47 language tag."},"matched_media_notes":{"$ref":"#/components/schemas/PostMatchedMediaNotes"},"media_metadata":{"$ref":"#/components/schemas/PostMediaMetadata"},"non_public_metrics":{"type":"object","description":"Nonpublic engagement metrics for the Post at the time of the request."},"note_post":{"$ref":"#/components/schemas/PostNotePost"},"note_request_suggestions":{"$ref":"#/components/schemas/PostNoteRequestSuggestions"},"organic_metrics":{"type":"object","description":"Organic nonpublic engagement metrics for the Post at the time of the request."},"paid_partnership":{"type":"boolean","description":"Indicates if this Post is a paid partnership, i.e. it has been disclosed by the author as containing paid promotion."},"possibly_sensitive":{"type":"boolean","description":"Indicates if this Post contains URLs marked as sensitive, for example content suitable for mature audiences."},"promoted_metrics":{"type":"object","description":"Promoted nonpublic engagement metrics for the Post at the time of the request."},"public_metrics":{"$ref":"#/components/schemas/PostPublicMetrics"},"referenced_posts":{"$ref":"#/components/schemas/PostReferencedPosts"},"reply_settings":{"type":"string","description":"Shows who can reply to this Post."},"scopes":{"$ref":"#/components/schemas/PostScopes"},"source":{"type":"string","description":"The name of the app the user posted from. This is deprecated."},"suggested_source_links":{"$ref":"#/components/schemas/PostSuggestedSourceLinks"},"suggested_source_links_with_counts":{"$ref":"#/components/schemas/PostSuggestedSourceLinksWithCounts"},"text":{"type":"string","description":"The content of the Post."},"username":{"type":"string"},"withheld":{"$ref":"#/components/schemas/PostWithheld"}}},"PostAttachments":{"type":"object","description":"Specifies the type of attachments (if any) present in this Post.","properties":{"media_keys":{"type":"array","description":"Media keys of media attached to this Post.","items":{"type":"string"},"nullable":true},"media_source_tweet_id":{"type":"array","description":"IDs of the source Posts the attached media originated from.","items":{"type":"string"},"nullable":true},"poll_ids":{"type":"array","description":"IDs of polls attached to this Post.","items":{"type":"string"},"nullable":true}}},"PostComplianceData":{"description":"Tweet compliance data.","oneOf":[{"$ref":"#/components/schemas/PostDeleteComplianceSchema"},{"$ref":"#/components/schemas/PostWithheldComplianceSchema"},{"$ref":"#/components/schemas/PostDropComplianceSchema"},{"$ref":"#/components/schemas/PostUndropComplianceSchema"},{"$ref":"#/components/schemas/PostEditComplianceSchema"}]},"PostComplianceSchema":{"type":"object","required":["tweet","event_at"],"properties":{"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"quote_tweet_id":{"$ref":"#/components/schemas/PostId"},"tweet":{"type":"object","required":["id","author_id"],"properties":{"author_id":{"$ref":"#/components/schemas/UserId"},"id":{"$ref":"#/components/schemas/PostId"}}}}},"PostContextAnnotations":{"type":"array","description":"Annotations inferred about the Post (domain and entity context).","items":{"type":"object","description":"A single inferred annotation about the Post (domain and entity context).","required":["domain","entity"],"properties":{"domain":{"description":"The domain (broad category) this annotation belongs to.","oneOf":[{"type":"object","description":"A domain or entity referenced by a context annotation.","properties":{"description":{"type":"string","nullable":true},"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}}}]},"entity":{"description":"The specific entity recognized within the domain.","oneOf":[{"type":"object","description":"A domain or entity referenced by a context annotation.","properties":{"description":{"type":"string","nullable":true},"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}}}]}}}},"PostDeleteActivityResponsePayload":{"type":"object","description":"The identity of a deleted Post.","required":["id","author_id"],"properties":{"author_id":{"$ref":"#/components/schemas/UserId"},"id":{"$ref":"#/components/schemas/PostId"}},"additionalProperties":false},"PostDeleteComplianceSchema":{"type":"object","required":["delete"],"properties":{"delete":{"$ref":"#/components/schemas/PostComplianceSchema"}}},"PostDisplayTextRange":{"type":"array","description":"The inclusive start and exclusive end indices of the displayable content of the Post.","minItems":2,"maxItems":2,"items":{"type":"integer","format":"int64"}},"PostDropComplianceSchema":{"type":"object","required":["drop"],"properties":{"drop":{"$ref":"#/components/schemas/PostComplianceSchema"}}},"PostEditComplianceObjectSchema":{"type":"object","required":["tweet","event_at","initial_tweet_id","edit_tweet_ids"],"properties":{"edit_tweet_ids":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/PostId"}},"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"initial_tweet_id":{"$ref":"#/components/schemas/PostId"},"tweet":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/PostId"}}}}},"PostEditComplianceSchema":{"type":"object","required":["tweet_edit"],"properties":{"tweet_edit":{"$ref":"#/components/schemas/PostEditComplianceObjectSchema"}}},"PostEditControls":{"type":"object","description":"Indicates how much longer (if at all) this Post can be edited.","properties":{"editable_until":{"type":"string","description":"The time until which this Post can be edited.","nullable":true},"edits_remaining":{"type":"integer","description":"Number of edits still allowed for this Post.","format":"int64","nullable":true},"is_edit_eligible":{"type":"boolean","description":"Indicates whether this Post is eligible to be edited.","nullable":true}}},"PostEntities":{"type":"object","description":"A list of metadata entities (hashtags, mentions, URLs) found in the Post text.","properties":{"cashtags":{"type":"array","items":{"type":"object","description":"A hashtag or cashtag entity.","required":["start","end","tag"],"properties":{"end":{"type":"integer","description":"End index in the text (exclusive).","format":"int64"},"start":{"type":"integer","description":"Start index in the text (inclusive).","format":"int64"},"tag":{"type":"string"}}},"nullable":true},"hashtags":{"type":"array","items":{"type":"object","description":"A hashtag or cashtag entity.","required":["start","end","tag"],"properties":{"end":{"type":"integer","description":"End index in the text (exclusive).","format":"int64"},"start":{"type":"integer","description":"Start index in the text (inclusive).","format":"int64"},"tag":{"type":"string"}}},"nullable":true},"mentions":{"type":"array","items":{"type":"object","description":"A user mention entity.","required":["start","end"],"properties":{"end":{"type":"integer","format":"int64"},"id":{"type":"string","nullable":true},"start":{"type":"integer","format":"int64"},"username":{"type":"string","nullable":true}}},"nullable":true},"urls":{"type":"array","items":{"type":"object","description":"A URL entity found in the Post text, enriched with link metadata.","required":["start","end"],"properties":{"description":{"type":"string","description":"Description of the linked page, when available.","nullable":true},"display_url":{"type":"string","description":"The URL as displayed in the Post text.","nullable":true},"end":{"type":"integer","format":"int64"},"expanded_url":{"type":"string","description":"The fully resolved URL.","nullable":true},"images":{"type":"array","items":{"type":"object","description":"A preview image for a linked page.","properties":{"height":{"type":"integer","format":"int64","nullable":true},"url":{"type":"string","nullable":true},"width":{"type":"integer","format":"int64","nullable":true}}},"nullable":true},"media_key":{"type":"string","nullable":true},"start":{"type":"integer","format":"int64"},"status":{"type":"integer","description":"HTTP status from resolving the URL.","format":"int64","nullable":true},"title":{"type":"string","description":"Title of the linked page, when available.","nullable":true},"unwound_url":{"type":"string","description":"The final destination after following redirects.","nullable":true},"url":{"type":"string","description":"The t.co shortened URL.","nullable":true}}},"nullable":true}}},"PostGeo":{"type":"object","description":"The location tagged on the Post, if the user provided one.","properties":{"coordinates":{"type":"object","description":"A GeoJSON Point geometry.","required":["type","coordinates"],"properties":{"coordinates":{"type":"array","description":"[longitude, latitude].","minItems":2,"maxItems":2,"items":{"type":"number","format":"double"}},"type":{"type":"string","description":"The GeoJSON geometry type.","enum":["Point"]}},"nullable":true},"place_id":{"type":"string","description":"The unique identifier of the tagged place.","nullable":true}}},"PostId":{"type":"string","description":"Unique identifier of a Post","pattern":"^[0-9]{1,19}$","example":"1346889436626259968"},"PostLabelData":{"description":"Tweet label data.","oneOf":[{"$ref":"#/components/schemas/PostNoticeSchema"},{"$ref":"#/components/schemas/PostUnviewableSchema"}]},"PostMatchedMediaNotes":{"type":"array","description":"Community-Notes media matches for this Post.","items":{"type":"object","description":"A Community-Notes media match for this Post.","properties":{"match_status":{"type":"string","description":"The status of the media note match.","nullable":true},"note_id":{"type":"string","description":"The matched note's unique identifier.","nullable":true}}}},"PostMediaMetadata":{"type":"array","description":"Metadata for media attached to this Post.","items":{"type":"object","description":"Metadata for one media item attached to this Post.","properties":{"alt_text":{"type":"string","description":"Alternative text describing the media for accessibility.","nullable":true},"description":{"type":"string","description":"Description of the media.","nullable":true},"media_key":{"type":"string","description":"The unique identifier of the media.","nullable":true},"title":{"type":"string","description":"Title of the media.","nullable":true}}}},"PostNotePost":{"type":"object","description":"The full content of the Post, including text beyond 280 characters.","required":["text"],"properties":{"entities":{"type":"object","description":"Metadata entities (hashtags, cashtags, mentions, URLs) found in the note Post text.","properties":{"cashtags":{"type":"array","items":{"type":"object","description":"A hashtag or cashtag entity.","required":["start","end","tag"],"properties":{"end":{"type":"integer","description":"End index in the text (exclusive).","format":"int64"},"start":{"type":"integer","description":"Start index in the text (inclusive).","format":"int64"},"tag":{"type":"string"}}},"nullable":true},"hashtags":{"type":"array","items":{"type":"object","description":"A hashtag or cashtag entity.","required":["start","end","tag"],"properties":{"end":{"type":"integer","description":"End index in the text (exclusive).","format":"int64"},"start":{"type":"integer","description":"Start index in the text (inclusive).","format":"int64"},"tag":{"type":"string"}}},"nullable":true},"mentions":{"type":"array","items":{"type":"object","description":"A user mention entity.","required":["start","end"],"properties":{"end":{"type":"integer","format":"int64"},"id":{"type":"string","nullable":true},"start":{"type":"integer","format":"int64"},"username":{"type":"string","nullable":true}}},"nullable":true},"urls":{"type":"array","items":{"type":"object","description":"A URL entity found in note Post text.","required":["start","end"],"properties":{"display_url":{"type":"string","nullable":true},"end":{"type":"integer","format":"int64"},"expanded_url":{"type":"string","nullable":true},"start":{"type":"integer","format":"int64"},"url":{"type":"string","nullable":true}}},"nullable":true}},"nullable":true},"text":{"type":"string","description":"The full note text of the Post."}}},"PostNoteRequestSuggestions":{"type":"array","description":"Community-Notes request suggestions for this Post.","items":{"type":"object","description":"A Community-Notes request suggestion for this Post.","properties":{"source_link":{"type":"string","description":"A suggested source link supporting the note request.","nullable":true},"suggestion":{"type":"string","description":"The text of the note request suggestion.","nullable":true},"suggestion_id":{"type":"string","description":"The unique identifier of the note request suggestion.","nullable":true}}}},"PostNotice":{"type":"object","required":["tweet","event_type","event_at","application"],"properties":{"application":{"type":"string","description":"If the label is being applied or removed. Possible values are ‘apply’ or ‘remove’.","example":"apply"},"details":{"type":"string","description":"Information shown on the Tweet label"},"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"event_type":{"type":"string","description":"The type of label on the Tweet","example":"misleading"},"extended_details_url":{"type":"string","description":"Link to more information about this kind of label"},"label_title":{"type":"string","description":"Title/header of the Tweet label"},"tweet":{"type":"object","required":["id","author_id"],"properties":{"author_id":{"$ref":"#/components/schemas/UserId"},"id":{"$ref":"#/components/schemas/PostId"}}}}},"PostNoticeSchema":{"type":"object","required":["public_tweet_notice"],"properties":{"public_tweet_notice":{"$ref":"#/components/schemas/PostNotice"}}},"PostPublicMetrics":{"type":"object","description":"Engagement metrics for the Post at the time of the request.","required":["repost_count","reply_count","like_count","quote_count","bookmark_count","impression_count"],"properties":{"bookmark_count":{"type":"integer","description":"Number of times this Post has been bookmarked.","format":"int64"},"impression_count":{"type":"integer","description":"Number of times this Post has been viewed.","format":"int64"},"like_count":{"type":"integer","description":"Number of likes on this Post.","format":"int64"},"quote_count":{"type":"integer","description":"Number of quote Posts of this Post.","format":"int64"},"reply_count":{"type":"integer","description":"Number of replies to this Post.","format":"int64"},"repost_count":{"type":"integer","description":"Number of times this Post has been reposted.","format":"int64"}}},"PostReferencedPosts":{"type":"array","description":"A list of Posts this Post refers to. If the Post is a Retweet, Quote or Reply, it includes the referenced Post's type and ID.","items":{"type":"object","description":"A reference from this Post to another Post (repost, quote, or reply).","required":["type","id"],"properties":{"id":{"type":"string","description":"Unique identifier of the referenced Post."},"type":{"description":"How this Post references the other Post.","oneOf":[{"type":"string","description":"The kind of Post-to-Post reference.","enum":["retweeted","quoted","replied_to"]}]}}}},"PostScopes":{"type":"object","description":"The scopes for this Post.","required":["followers"],"properties":{"followers":{"type":"boolean","description":"Indicates whether visibility of this Post is limited to the author's followers."}}},"PostSuggestedSourceLinks":{"type":"array","description":"URLs suggested as sources for this Post.","items":{"type":"string"}},"PostSuggestedSourceLinksWithCounts":{"type":"array","description":"Suggested source URLs for this Post, each with the number of times it was suggested.","items":{"type":"object","description":"A suggested source URL for this Post with the number of times it was suggested.","properties":{"count":{"type":"integer","description":"Number of times this source link was suggested.","format":"int64","nullable":true},"url":{"type":"string","description":"The suggested source URL.","nullable":true}}}},"PostTakedownComplianceSchema":{"type":"object","required":["tweet","withheld_in_countries","event_at"],"properties":{"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"quote_tweet_id":{"$ref":"#/components/schemas/PostId"},"tweet":{"type":"object","required":["id","author_id"],"properties":{"author_id":{"$ref":"#/components/schemas/UserId"},"id":{"$ref":"#/components/schemas/PostId"}}},"withheld_in_countries":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/CountryCode"}}}},"PostUndropComplianceSchema":{"type":"object","required":["undrop"],"properties":{"undrop":{"$ref":"#/components/schemas/PostComplianceSchema"}}},"PostUnviewable":{"type":"object","required":["tweet","event_at","application"],"properties":{"application":{"type":"string","description":"If the label is being applied or removed. Possible values are ‘apply’ or ‘remove’.","example":"apply"},"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"tweet":{"type":"object","required":["id","author_id"],"properties":{"author_id":{"$ref":"#/components/schemas/UserId"},"id":{"$ref":"#/components/schemas/PostId"}}}}},"PostUnviewableSchema":{"type":"object","required":["public_tweet_unviewable"],"properties":{"public_tweet_unviewable":{"$ref":"#/components/schemas/PostUnviewable"}}},"PostWithheld":{"type":"object","description":"Withholding details for withheld content.","required":["copyright","country_codes"],"properties":{"copyright":{"type":"boolean","description":"Indicates whether this content is withheld due to a copyright claim."},"country_codes":{"type":"array","description":"Uppercase ISO 3166-1 alpha-2 country codes where this content is withheld.","items":{"type":"string"}},"scope":{"type":"string","description":"Whether the withholding applies to a Post or a User.","enum":["post","user"],"nullable":true}}},"PostWithheldComplianceSchema":{"type":"object","required":["withheld"],"properties":{"withheld":{"$ref":"#/components/schemas/PostTakedownComplianceSchema"}}},"Problem":{"oneOf":[{"$ref":"#/components/schemas/ResourceNotFoundProblem"},{"$ref":"#/components/schemas/InvalidRequestProblem"},{"$ref":"#/components/schemas/NotAuthorizedForResourceProblem"},{"$ref":"#/components/schemas/NotAuthorizedForFieldProblem"},{"$ref":"#/components/schemas/FieldUnauthorizedProblem"},{"$ref":"#/components/schemas/FieldHydrationFailureProblem"},{"$ref":"#/components/schemas/ResourceUnavailableProblem"},{"$ref":"#/components/schemas/DisallowedResourceProblem"},{"$ref":"#/components/schemas/RecipientNotMessageableProblem"},{"$ref":"#/components/schemas/InternalErrorProblem"},{"$ref":"#/components/schemas/ChatPermissionsUnavailableProblem"},{"$ref":"#/components/schemas/EncryptionRequiredProblem"},{"$ref":"#/components/schemas/MessageRequestNotSupportedProblem"},{"$ref":"#/components/schemas/RecipientXchatSetupRequiredProblem"},{"$ref":"#/components/schemas/UnencryptedSendNotAllowedProblem"},{"$ref":"#/components/schemas/XchatSetupRequiredProblem"},{"$ref":"#/components/schemas/DmBadAttachmentProblem"},{"$ref":"#/components/schemas/DmBadCtaProblem"},{"$ref":"#/components/schemas/DmBadCustomProfileProblem"},{"$ref":"#/components/schemas/DmBadMediaProblem"},{"$ref":"#/components/schemas/DmBadQuickReplyProblem"},{"$ref":"#/components/schemas/DmBadUrlProblem"},{"$ref":"#/components/schemas/DmConversationNameTooLongProblem"},{"$ref":"#/components/schemas/DmConversationNotFoundProblem"},{"$ref":"#/components/schemas/DmDuplicateProblem"},{"$ref":"#/components/schemas/DmInactiveDeviceProblem"},{"$ref":"#/components/schemas/DmNotDeliveredProblem"},{"$ref":"#/components/schemas/DmNotFoundProblem"},{"$ref":"#/components/schemas/DmNotOwnerProblem"},{"$ref":"#/components/schemas/DmParticipantNotAddedProblem"},{"$ref":"#/components/schemas/DmParticipantNotFoundProblem"},{"$ref":"#/components/schemas/DmParticipantRestrictedProblem"},{"$ref":"#/components/schemas/DmParticipantUnavailableProblem"},{"$ref":"#/components/schemas/DmRateLimitedProblem"},{"$ref":"#/components/schemas/DmRecipientBlocksSenderProblem"},{"$ref":"#/components/schemas/DmRecipientCannotReceiveProblem"},{"$ref":"#/components/schemas/DmRecipientEncryptedUnavailableProblem"},{"$ref":"#/components/schemas/DmRecipientNotAcceptingProblem"},{"$ref":"#/components/schemas/DmRecipientNotFoundProblem"},{"$ref":"#/components/schemas/DmRecipientRestrictsGroupsProblem"},{"$ref":"#/components/schemas/DmRecipientUnavailableProblem"},{"$ref":"#/components/schemas/DmRequestInProgressProblem"},{"$ref":"#/components/schemas/DmSafetyLimitedProblem"},{"$ref":"#/components/schemas/DmSafetyRejectedProblem"},{"$ref":"#/components/schemas/DmSenderBlocksRecipientProblem"},{"$ref":"#/components/schemas/DmSenderDeclinedDmsProblem"},{"$ref":"#/components/schemas/DmSenderDmsClosedProblem"},{"$ref":"#/components/schemas/DmSenderEncryptedUnavailableProblem"},{"$ref":"#/components/schemas/DmSenderNotInConversationProblem"},{"$ref":"#/components/schemas/DmSenderNotPermittedProblem"},{"$ref":"#/components/schemas/DmSenderNotVerifiedProblem"},{"$ref":"#/components/schemas/DmSenderPhoneRequiredProblem"},{"$ref":"#/components/schemas/DmSenderReadOnlyProblem"},{"$ref":"#/components/schemas/DmSenderUnavailableProblem"},{"$ref":"#/components/schemas/DmTextEmptyProblem"},{"$ref":"#/components/schemas/DmTextTooLongProblem"},{"$ref":"#/components/schemas/DmTooFewParticipantsProblem"},{"$ref":"#/components/schemas/DmTooManyParticipantsProblem"},{"$ref":"#/components/schemas/DmUnsupportedMessageProblem"},{"$ref":"#/components/schemas/DuplicateRuleProblem"},{"$ref":"#/components/schemas/InvalidRuleProblem"}],"discriminator":{"propertyName":"type","mapping":{"https://api.twitter.com/2/problems/duplicate-rules":"#/components/schemas/DuplicateRuleProblem","https://api.twitter.com/2/problems/invalid-rules":"#/components/schemas/InvalidRuleProblem","https://api.x.com/2/problems/chat-permissions-unavailable":"#/components/schemas/ChatPermissionsUnavailableProblem","https://api.x.com/2/problems/disallowed-resource":"#/components/schemas/DisallowedResourceProblem","https://api.x.com/2/problems/dm-bad-attachment":"#/components/schemas/DmBadAttachmentProblem","https://api.x.com/2/problems/dm-bad-cta":"#/components/schemas/DmBadCtaProblem","https://api.x.com/2/problems/dm-bad-custom-profile":"#/components/schemas/DmBadCustomProfileProblem","https://api.x.com/2/problems/dm-bad-media":"#/components/schemas/DmBadMediaProblem","https://api.x.com/2/problems/dm-bad-quick-reply":"#/components/schemas/DmBadQuickReplyProblem","https://api.x.com/2/problems/dm-bad-url":"#/components/schemas/DmBadUrlProblem","https://api.x.com/2/problems/dm-conversation-name-too-long":"#/components/schemas/DmConversationNameTooLongProblem","https://api.x.com/2/problems/dm-conversation-not-found":"#/components/schemas/DmConversationNotFoundProblem","https://api.x.com/2/problems/dm-duplicate":"#/components/schemas/DmDuplicateProblem","https://api.x.com/2/problems/dm-inactive-device":"#/components/schemas/DmInactiveDeviceProblem","https://api.x.com/2/problems/dm-not-delivered":"#/components/schemas/DmNotDeliveredProblem","https://api.x.com/2/problems/dm-not-found":"#/components/schemas/DmNotFoundProblem","https://api.x.com/2/problems/dm-not-owner":"#/components/schemas/DmNotOwnerProblem","https://api.x.com/2/problems/dm-participant-not-added":"#/components/schemas/DmParticipantNotAddedProblem","https://api.x.com/2/problems/dm-participant-not-found":"#/components/schemas/DmParticipantNotFoundProblem","https://api.x.com/2/problems/dm-participant-restricted":"#/components/schemas/DmParticipantRestrictedProblem","https://api.x.com/2/problems/dm-participant-unavailable":"#/components/schemas/DmParticipantUnavailableProblem","https://api.x.com/2/problems/dm-rate-limited":"#/components/schemas/DmRateLimitedProblem","https://api.x.com/2/problems/dm-recipient-blocks-sender":"#/components/schemas/DmRecipientBlocksSenderProblem","https://api.x.com/2/problems/dm-recipient-cannot-receive":"#/components/schemas/DmRecipientCannotReceiveProblem","https://api.x.com/2/problems/dm-recipient-encrypted-unavailable":"#/components/schemas/DmRecipientEncryptedUnavailableProblem","https://api.x.com/2/problems/dm-recipient-not-accepting":"#/components/schemas/DmRecipientNotAcceptingProblem","https://api.x.com/2/problems/dm-recipient-not-found":"#/components/schemas/DmRecipientNotFoundProblem","https://api.x.com/2/problems/dm-recipient-restricts-groups":"#/components/schemas/DmRecipientRestrictsGroupsProblem","https://api.x.com/2/problems/dm-recipient-unavailable":"#/components/schemas/DmRecipientUnavailableProblem","https://api.x.com/2/problems/dm-request-in-progress":"#/components/schemas/DmRequestInProgressProblem","https://api.x.com/2/problems/dm-safety-limited":"#/components/schemas/DmSafetyLimitedProblem","https://api.x.com/2/problems/dm-safety-rejected":"#/components/schemas/DmSafetyRejectedProblem","https://api.x.com/2/problems/dm-sender-blocks-recipient":"#/components/schemas/DmSenderBlocksRecipientProblem","https://api.x.com/2/problems/dm-sender-declined-dms":"#/components/schemas/DmSenderDeclinedDmsProblem","https://api.x.com/2/problems/dm-sender-dms-closed":"#/components/schemas/DmSenderDmsClosedProblem","https://api.x.com/2/problems/dm-sender-encrypted-unavailable":"#/components/schemas/DmSenderEncryptedUnavailableProblem","https://api.x.com/2/problems/dm-sender-not-in-conversation":"#/components/schemas/DmSenderNotInConversationProblem","https://api.x.com/2/problems/dm-sender-not-permitted":"#/components/schemas/DmSenderNotPermittedProblem","https://api.x.com/2/problems/dm-sender-not-verified":"#/components/schemas/DmSenderNotVerifiedProblem","https://api.x.com/2/problems/dm-sender-phone-required":"#/components/schemas/DmSenderPhoneRequiredProblem","https://api.x.com/2/problems/dm-sender-read-only":"#/components/schemas/DmSenderReadOnlyProblem","https://api.x.com/2/problems/dm-sender-unavailable":"#/components/schemas/DmSenderUnavailableProblem","https://api.x.com/2/problems/dm-text-empty":"#/components/schemas/DmTextEmptyProblem","https://api.x.com/2/problems/dm-text-too-long":"#/components/schemas/DmTextTooLongProblem","https://api.x.com/2/problems/dm-too-few-participants":"#/components/schemas/DmTooFewParticipantsProblem","https://api.x.com/2/problems/dm-too-many-participants":"#/components/schemas/DmTooManyParticipantsProblem","https://api.x.com/2/problems/dm-unsupported-message":"#/components/schemas/DmUnsupportedMessageProblem","https://api.x.com/2/problems/encryption-required":"#/components/schemas/EncryptionRequiredProblem","https://api.x.com/2/problems/field-hydration-failure":"#/components/schemas/FieldHydrationFailureProblem","https://api.x.com/2/problems/field-unauthorized":"#/components/schemas/FieldUnauthorizedProblem","https://api.x.com/2/problems/internal-error":"#/components/schemas/InternalErrorProblem","https://api.x.com/2/problems/invalid-request":"#/components/schemas/InvalidRequestProblem","https://api.x.com/2/problems/message-request-not-supported":"#/components/schemas/MessageRequestNotSupportedProblem","https://api.x.com/2/problems/not-authorized-for-field":"#/components/schemas/NotAuthorizedForFieldProblem","https://api.x.com/2/problems/not-authorized-for-resource":"#/components/schemas/NotAuthorizedForResourceProblem","https://api.x.com/2/problems/recipient-not-messageable":"#/components/schemas/RecipientNotMessageableProblem","https://api.x.com/2/problems/recipient-xchat-setup-required":"#/components/schemas/RecipientXchatSetupRequiredProblem","https://api.x.com/2/problems/resource-not-found":"#/components/schemas/ResourceNotFoundProblem","https://api.x.com/2/problems/resource-unavailable":"#/components/schemas/ResourceUnavailableProblem","https://api.x.com/2/problems/unencrypted-send-not-allowed":"#/components/schemas/UnencryptedSendNotAllowedProblem","https://api.x.com/2/problems/xchat-setup-required":"#/components/schemas/XchatSetupRequiredProblem"}}},"ProfileUpdateActivityResponsePayload":{"type":"object","properties":{"after":{"type":"string"},"before":{"type":"string"}},"additionalProperties":false},"PublicKey":{"type":"object","properties":{"identity_public_key_signature":{"type":"string"},"juicebox_config":{"type":"object"},"public_key":{"type":"string"},"public_key_version":{"type":"string"},"signing_public_key":{"type":"string"},"user_id":{"type":"string","description":"ID of the user the key belongs to. Returned by Get Public Keys for Multiple Users."}}},"PublicKeyId":{"type":"string","description":"Unique identifier of a PublicKey","pattern":"^[0-9]{1,19}$"},"RecipientNotMessageableProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/recipient-not-messageable"]}}},"RecipientXchatSetupRequiredProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/recipient-xchat-setup-required"]}}},"RejectChatGroupAdminRequestActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/RejectChatGroupAdminRequestActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"RejectChatGroupAdminRequestActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/RejectChatGroupAdminRequestActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"RejectChatGroupAdminRequestActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"RejectChatGroupAdminRequestRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/RejectChatGroupAdminRequestActionSignatures"}}},"additionalProperties":false},"RejectChatGroupAdminRequestResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RejectChatGroupAdminRequestResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RejectChatGroupAdminRequestResponseData":{"type":"object","required":["rejected"],"properties":{"rejected":{"type":"boolean","description":"Whether the admin request was rejected."}}},"RejectChatGroupJoinRequestsActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/RejectChatGroupJoinRequestsActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"RejectChatGroupJoinRequestsActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/RejectChatGroupJoinRequestsActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"RejectChatGroupJoinRequestsActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"RejectChatGroupJoinRequestsRequest":{"type":"object","required":["user_ids"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/RejectChatGroupJoinRequestsActionSignatures"}},"user_ids":{"type":"array","description":"List of user IDs whose join requests to reject.","minItems":1,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}}},"additionalProperties":false},"RejectChatGroupJoinRequestsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RejectChatGroupJoinRequestsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RejectChatGroupJoinRequestsResponseData":{"type":"object","required":["rejected"],"properties":{"rejected":{"type":"boolean","description":"Whether the join requests were rejected."}}},"RemoveChatGroupAdminsActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/RemoveChatGroupAdminsActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"RemoveChatGroupAdminsActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/RemoveChatGroupAdminsActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"RemoveChatGroupAdminsActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"RemoveChatGroupAdminsRequest":{"type":"object","required":["user_ids"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/RemoveChatGroupAdminsActionSignatures"}},"user_ids":{"type":"array","description":"List of admin user IDs to revoke admin rights from.","minItems":1,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}}},"additionalProperties":false},"RemoveChatGroupAdminsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RemoveChatGroupAdminsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RemoveChatGroupAdminsResponseData":{"type":"object","required":["removed"],"properties":{"removed":{"type":"boolean","description":"Whether the admins were removed."}}},"RemoveChatGroupMembersActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/RemoveChatGroupMembersActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"RemoveChatGroupMembersActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/RemoveChatGroupMembersActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"RemoveChatGroupMembersActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"RemoveChatGroupMembersGroupKeyRotationData":{"type":"object","properties":{"base64_encoded_key_rotation":{"type":"string","description":"Base64-encoded key rotation payload."},"conversation_key_version":{"type":"string","description":"Version of the new rotated conversation key."},"conversation_participant_keys":{"type":"array","description":"Encrypted conversation keys for each participant.","items":{"$ref":"#/components/schemas/RemoveChatGroupMembersGroupKeyRotationDataConversationParticipantKeys"}},"encrypted_avatar":{"type":"string","description":"Re-encrypted group avatar with new conversation key."},"encrypted_description":{"type":"string","description":"Re-encrypted group description with new conversation key."},"encrypted_title":{"type":"string","description":"Re-encrypted group title with new conversation key."},"rotated_pmk_bundle":{"type":"array","description":"Message keys re-encrypted with the rotated conversation key.","items":{"$ref":"#/components/schemas/RemoveChatGroupMembersGroupKeyRotationDataRotatedPmkBundle"}}}},"RemoveChatGroupMembersGroupKeyRotationDataConversationParticipantKeys":{"type":"object","required":["user_id","encrypted_conversation_key","public_key_version"],"properties":{"encrypted_conversation_key":{"type":"string","description":"Conversation key encrypted with this participant's public key."},"public_key_version":{"type":"string","description":"Version of the participant's public key used for encryption."},"user_id":{"type":"string","description":"Participant user ID."}}},"RemoveChatGroupMembersGroupKeyRotationDataRotatedPmkBundle":{"type":"object","required":["base64_encoded_encrypted_pmk","message_sequence_id"],"properties":{"base64_encoded_encrypted_pmk":{"type":"string","description":"Base64-encoded message key, encrypted with the new conversation key."},"message_sequence_id":{"type":"string","description":"Sequence ID of the message the key belongs to."},"pme_sequence_id":{"type":"string","description":"Sequence ID of the key's origin event."}}},"RemoveChatGroupMembersRequest":{"type":"object","required":["user_ids"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/RemoveChatGroupMembersActionSignatures"}},"group_key_rotation_data":{"description":"Conversation key rotated as part of this removal. Omit it when the removal does not change the key.","$ref":"#/components/schemas/RemoveChatGroupMembersGroupKeyRotationData"},"user_ids":{"type":"array","description":"List of user IDs to remove from the group conversation.","minItems":1,"items":{"type":"string"}}}},"RemoveChatGroupMembersResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RemoveChatGroupMembersResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RemoveChatGroupMembersResponseData":{"type":"object","required":["removed"],"properties":{"removed":{"type":"boolean","description":"Whether the members were removed."}}},"RemoveChatModeratorResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RemoveChatModeratorResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RemoveChatModeratorResponseData":{"type":"object","required":["moderator_user_ids"],"properties":{"moderator_user_ids":{"type":"array","description":"The user IDs currently appointed as chat moderators.","items":{"type":"string"}}}},"RemoveListsMemberByUserIdResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RemoveListsMemberByUserIdResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RemoveListsMemberByUserIdResponseData":{"type":"object","required":["is_member"],"properties":{"is_member":{"type":"boolean","description":"Indicates whether the user is a member of the List."}}},"RemoveMediaFromLibraryRequest":{"type":"object","properties":{}},"RemoveMediaFromLibraryResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RemoveMediaFromLibraryResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RemoveMediaFromLibraryResponseData":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","description":"Whether the library item was removed."}}},"RepostPostRequest":{"type":"object","required":["tweet_id"],"properties":{"tweet_id":{"type":"string","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"RepostPostResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RepostPostResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RepostPostResponseData":{"type":"object","required":["retweeted","rest_id"],"properties":{"rest_id":{"type":"string","description":"The ID of the reposted Post."},"retweeted":{"type":"boolean","description":"Indicates whether the user reposted the Post."}}},"ResourceNotFoundProblem":{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string"},"parameter":{"type":"string"},"resource_id":{"type":"string"},"resource_type":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/resource-not-found"]},"value":{"type":"string"}}},"ResourceUnavailableProblem":{"type":"object","required":["type","title","detail","resource_type"],"properties":{"detail":{"type":"string"},"resource_id":{"type":"string"},"resource_type":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/resource-unavailable"]}}},"RespondToScheduledCallRequest":{"type":"object","required":["response"],"properties":{"occurrence_start_time":{"type":"string","description":"Start of the occurrence that scope this or this_and_following refers to (RFC 3339).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])T([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(\\.\\d{1,9})?(Z|[+-]([01]\\d|2[0-3]):[0-5]\\d)$"},"response":{"type":"string","description":"The answer to the invitation.","enum":["accepted","declined","tentative"]},"scope":{"type":"string","description":"Which occurrences of a recurring call: all (the default without occurrence_start_time), this (the default with it), or this_and_following.","enum":["all","this","this_and_following"]}},"additionalProperties":false},"RespondToScheduledCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RespondToScheduledCallResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RespondToScheduledCallResponseData":{"type":"object","properties":{"response":{"type":"string","description":"The answer now on the invitation."}},"additionalProperties":false},"RevokeBotTokenResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RevokeBotTokenResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RevokeBotTokenResponseData":{"type":"object","required":["revoked"],"properties":{"revoked":{"type":"boolean","description":"Whether the bot's token was revoked."}}},"RotateBotTokenRequest":{"type":"object","properties":{"scopes":{"type":"array","description":"Scopes for the new bearer token. Broadcast moderation additionally supports broadcast.read and broadcast.write. Defaults to the XChat scope set (dm.read, dm.write, tweet.read, users.read, media.write).","items":{"type":"string"}}},"additionalProperties":false},"RotateBotTokenResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RotateBotTokenResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"RotateBotTokenResponseData":{"type":"object","required":["id","token"],"properties":{"id":{"type":"string","description":"Unique identifier of the bot's User account.","pattern":"^[0-9]{1,19}$"},"name":{"type":"string","description":"The bot's display name. May be absent for an org-only bot."},"scopes":{"type":"array","description":"Scopes granted to the new bearer token.","items":{"type":"string"}},"token":{"type":"string","description":"The bot's new bearer token. Returned exactly once; store it securely. Every previously issued token for this bot is invalidated."},"token_expires_at_ms":{"type":"integer","description":"Expiry of the new bearer token, in epoch milliseconds."},"username":{"type":"string","description":"The bot's X handle (screen name). May be absent for an org-only bot."}}},"RuleId":{"type":"string","description":"Unique identifier of this rule.","pattern":"^[0-9]{1,19}$","example":"120897978112909812"},"RuleTag":{"type":"string","description":"A tag meant for the labeling of user provided rules.","example":"Non-retweeted coffee Posts"},"RulesCount":{"type":"object","properties":{"all_project_client_apps":{"$ref":"#/components/schemas/RulesCountAllProjectClientApps"},"cap_per_client_app":{"type":"string"},"cap_per_project":{"type":"string"},"client_app_rules_count":{"$ref":"#/components/schemas/RulesCountClientAppRulesCount"},"project_rules_count":{"type":"string"}}},"RulesCountAllProjectClientApps":{"type":"array","items":{"type":"object","description":"A count of filtered-stream rules for a single client application.","required":["rule_count"],"properties":{"client_app_id":{"type":"string","description":"Unique identifier of the client application.","nullable":true},"rule_count":{"type":"integer","description":"Number of rules configured for the client application.","format":"int64"}}}},"RulesCountClientAppRulesCount":{"type":"object","description":"A count of filtered-stream rules for a single client application.","required":["rule_count"],"properties":{"client_app_id":{"type":"string","description":"Unique identifier of the client application.","nullable":true},"rule_count":{"type":"integer","description":"Number of rules configured for the client application.","format":"int64"}}},"ScheduleCallRequest":{"type":"object","required":["start_time"],"properties":{"description":{"type":"string","description":"What the call is about.","maxLength":1000},"duration_minutes":{"type":"integer","description":"How long the call lasts, in minutes. Defaults to 30; at most 31 days.","minimum":1,"maximum":44640},"invitee_ids":{"type":"array","description":"X user ids of the people to invite.","maxItems":25,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"notify_invitees":{"type":"boolean","description":"Whether invitees get an email about the call. Defaults to true."},"recurrence":{"type":"string","description":"RFC 5545 RRULE to repeat the call by, such as FREQ=WEEKLY;BYDAY=MO; the RRULE: prefix is optional.","maxLength":500},"start_time":{"type":"string","description":"When the call starts (RFC 3339); not in the past.","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])T([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(\\.\\d{1,9})?(Z|[+-]([01]\\d|2[0-3]):[0-5]\\d)$"},"time_zone":{"type":"string","description":"IANA time zone the recurrence follows, such as America/Los_Angeles.","maxLength":64},"title":{"type":"string","description":"Title invitees see.","maxLength":100}},"additionalProperties":false},"ScheduleCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ScheduleCallResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ScheduleCallResponseData":{"type":"object","properties":{"calendar":{"type":"string","description":"Where the call lives: x (X Calls), or outlook for a Microsoft Outlook calendar the user linked to X, whose calls are changed there."},"call_id":{"type":"string","description":"The X call people join; also its join secret."},"description":{"type":"string","description":"What the call is about."},"end_time":{"type":"string","description":"End of this occurrence (RFC 3339)."},"id":{"type":"string","description":"Unique identifier of the scheduled call: what PUT, DELETE and rsvp take. Calls on linked calendars have none."},"invitees":{"type":"array","description":"Everyone invited, except the organizer. Not set for linked calendars.","items":{"$ref":"#/components/schemas/ScheduleCallResponseDataInvitees"}},"join_url":{"type":"string","description":"Link people open to join the call on X."},"occurrence_start_time":{"type":"string","description":"For a recurring call, this occurrence's original start (RFC 3339): pass it as occurrence_start_time to change, cancel or answer just this occurrence."},"organizer_id":{"type":"string","description":"X user id of the call's organizer."},"recurrence":{"type":"string","description":"RFC 5545 RRULE the call repeats by, such as FREQ=WEEKLY;BYDAY=MO."},"start_time":{"type":"string","description":"Start of this occurrence (RFC 3339)."},"status":{"type":"string","description":"scheduled, or cancelled for a cancelled occurrence."},"time_zone":{"type":"string","description":"IANA time zone the recurrence follows."},"title":{"type":"string","description":"Title of the call."}},"additionalProperties":false},"ScheduleCallResponseDataInvitees":{"type":"object","properties":{"id":{"type":"string","description":"X user id of the invitee."},"response":{"type":"string","description":"accepted, declined, tentative, or none for no answer yet."}},"additionalProperties":false},"ScheduledCall":{"type":"object","properties":{"calendar":{"type":"string","description":"Where the call lives: x (X Calls), or outlook for a Microsoft Outlook calendar the user linked to X, whose calls are changed there."},"call_id":{"type":"string","description":"The X call people join; also its join secret."},"description":{"type":"string","description":"What the call is about."},"end_time":{"type":"string","description":"End of this occurrence (RFC 3339)."},"id":{"type":"string","description":"Unique identifier of the scheduled call: what PUT, DELETE and rsvp take. Calls on linked calendars have none."},"invitees":{"$ref":"#/components/schemas/ScheduledCallInvitees"},"join_url":{"type":"string","description":"Link people open to join the call on X."},"occurrence_start_time":{"type":"string","description":"For a recurring call, this occurrence's original start (RFC 3339): pass it as occurrence_start_time to change, cancel or answer just this occurrence."},"organizer_id":{"type":"string","description":"X user id of the call's organizer."},"recurrence":{"type":"string","description":"RFC 5545 RRULE the call repeats by, such as FREQ=WEEKLY;BYDAY=MO."},"start_time":{"type":"string","description":"Start of this occurrence (RFC 3339)."},"status":{"type":"string","description":"scheduled, or cancelled for a cancelled occurrence."},"time_zone":{"type":"string","description":"IANA time zone the recurrence follows."},"title":{"type":"string","description":"Title of the call."}}},"ScheduledCallInvitees":{"type":"array","description":"Everyone invited, except the organizer. Not set for linked calendars.","items":{"type":"object","description":"Someone invited to a scheduled call, other than the organizer.","required":["id","response"],"properties":{"id":{"type":"string","description":"X user id of the invitee."},"response":{"type":"string","description":"accepted, declined, tentative, or none for no answer yet."}}}},"SearchCommunitiesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Community"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."}}}}},"SearchCommunityNotesWrittenResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Note"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"SearchEligiblePostsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"SearchNewsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/News"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"SearchPostsAllResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"newest_id":{"type":"string","description":"Most recent ID in the data array."},"next_token":{"type":"string","description":"Pagination token for the next page of results."},"oldest_id":{"type":"string","description":"Oldest ID in the data array."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"SearchPostsRecentResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"newest_id":{"type":"string","description":"Most recent ID in the data array."},"next_token":{"type":"string","description":"Pagination token for the next page of results."},"oldest_id":{"type":"string","description":"Oldest ID in the data array."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."},"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"SearchSpacesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Space"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"result_count":{"type":"integer","description":"Number of items in the data array.","format":"int32"}}}}},"SearchUsersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"meta":{"type":"object","properties":{"next_token":{"type":"string","description":"Pagination token for the next page of results."},"previous_token":{"type":"string","description":"Pagination token for the previous page of results."}}}}},"SendBroadcastChatRequest":{"type":"object","required":["text"],"properties":{"reply_to":{"type":"string","description":"Message id to reply to, returned as timestamp when sent.","pattern":"^[0-9]{1,19}$"},"text":{"type":"string","description":"The chat message text.","minLength":1,"maxLength":140}},"additionalProperties":false},"SendBroadcastChatResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SendBroadcastChatResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"SendBroadcastChatResponseData":{"type":"object","required":["success","timestamp"],"properties":{"success":{"type":"boolean","description":"Whether the chat message was sent."},"timestamp":{"type":"string","description":"Server timestamp of the message, in nanoseconds."}}},"SendChatMessageContent":{"type":"object","properties":{"message":{"description":"A text message.","$ref":"#/components/schemas/SendChatMessageContentMessage"},"reaction_add":{"description":"Adds a reaction to a message.","$ref":"#/components/schemas/SendChatMessageContentReactionAdd"},"reaction_remove":{"description":"Removes a reaction from a message.","$ref":"#/components/schemas/SendChatMessageContentReactionRemove"}},"additionalProperties":false},"SendChatMessageContentMessage":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text of the message.","minLength":1}},"additionalProperties":false},"SendChatMessageContentReactionAdd":{"type":"object","required":["event_id","emoji"],"properties":{"emoji":{"type":"string","description":"Emoji of the reaction.","minLength":1},"event_id":{"type":"string","description":"ID of the message event the reaction is on.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"SendChatMessageContentReactionRemove":{"type":"object","required":["event_id","emoji"],"properties":{"emoji":{"type":"string","description":"Emoji of the reaction.","minLength":1},"event_id":{"type":"string","description":"ID of the message event the reaction is on.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"SendChatMessageRequest":{"anyOf":[{"required":["encoded_message_create_event"]},{"required":["content"]}],"type":"object","description":"At least one of `encoded_message_create_event`, `content` is required.","required":["message_id"],"properties":{"content":{"description":"Unencrypted fallback: use only when the recipient's `receives_your_chat` is `unencrypted`.","$ref":"#/components/schemas/SendChatMessageContent"},"conversation_token":{"type":"string","description":"Optional conversation token."},"encoded_message_create_event":{"type":"string","description":"Default. The end-to-end encrypted message: a base64 Thrift MessageCreateEvent from the Chat XDK."},"encoded_message_event_signature":{"type":"string","description":"Base64-encoded Thrift MessageEventSignature for message verification."},"message_id":{"type":"string","description":"Unique identifier for this message."},"xdk_version":{"type":"string","description":"Version of the Chat XDK that produced the payload."}}},"SendChatMessageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SendChatMessageResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"SendChatMessageResponseData":{"type":"object","required":["encoded_message_event"],"properties":{"encoded_message_event":{"type":"string","description":"Base64-encoded Thrift message event for the sent message."}}},"SendChatTypingIndicatorResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SendChatTypingIndicatorResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"SendChatTypingIndicatorResponseData":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Whether the typing indicator was sent."}}},"Space":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time"},"creator_id":{"type":"string"},"ended_at":{"type":"string","format":"date-time"},"host_ids":{"$ref":"#/components/schemas/SpaceHostIds"},"id":{"type":"string"},"invited_user_ids":{"$ref":"#/components/schemas/SpaceInvitedUserIds"},"is_ticketed":{"type":"boolean"},"lang":{"type":"string"},"participant_count":{"type":"integer"},"scheduled_start":{"type":"string","format":"date-time"},"speaker_ids":{"$ref":"#/components/schemas/SpaceSpeakerIds"},"started_at":{"type":"string","format":"date-time"},"state":{"type":"string"},"subscriber_count":{"type":"integer"},"title":{"type":"string"},"topic_ids":{"$ref":"#/components/schemas/SpaceTopicIds"},"updated_at":{"type":"string","format":"date-time"}}},"SpaceHostIds":{"type":"array","description":"A list of unique identifiers of the Users who host this Space.","items":{"type":"string"}},"SpaceInvitedUserIds":{"type":"array","description":"A list of unique identifiers of the Users invited to this Space.","items":{"type":"string"}},"SpaceSpeakerIds":{"type":"array","description":"A list of unique identifiers of the Users who are speakers in this Space.","items":{"type":"string"}},"SpaceTopicIds":{"type":"array","description":"A list of unique identifiers of the Topics associated with this Space.","items":{"type":"string"}},"StreamLabelsComplianceResponse":{"description":"Tweet label stream events.","oneOf":[{"type":"object","description":"Tweet Label event.","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PostLabelData"}}},{"type":"object","required":["errors"],"properties":{"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}}}}]},"StreamLikesComplianceResponse":{"description":"Likes compliance stream events.","oneOf":[{"type":"object","description":"Compliance event.","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/LikeComplianceSchema"}}},{"type":"object","required":["errors"],"properties":{"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}}}}]},"StreamLikesFirehoseResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LikeWithPostAuthor"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamLikesSample10Response":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LikeWithPostAuthor"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamPostsComplianceResponse":{"description":"Tweet compliance stream events.","oneOf":[{"type":"object","description":"Compliance event.","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/PostComplianceData"}}},{"type":"object","required":["errors"],"properties":{"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}}}}]},"StreamPostsFirehoseEnResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamPostsFirehoseJaResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamPostsFirehoseKoResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamPostsFirehosePtResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamPostsFirehoseResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamPostsResponse":{"type":"object","description":"A Tweet or error that can be returned by the streaming Tweet API. The values returned with a successful streamed Tweet includes the user provided rules that the Tweet matched.","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"},"matching_rules":{"type":"array","description":"The list of rules which matched the Tweet","items":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/RuleId"},"tag":{"$ref":"#/components/schemas/RuleTag"}}}}}},"StreamPostsSample10Response":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamPostsSampleResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"},"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}},"includes":{"$ref":"#/components/schemas/Expansions"}}},"StreamUsersComplianceResponse":{"description":"User compliance stream events.","oneOf":[{"type":"object","description":"User compliance event.","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/UserComplianceData"}}},{"type":"object","required":["errors"],"properties":{"errors":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/Problem"}}}}]},"Topic":{"type":"object","properties":{"description":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}}},"Trend":{"type":"object","properties":{"trend_name":{"type":"string"},"tweet_count":{"type":"integer"}}},"UnarchiveChatConversationActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/UnarchiveChatConversationActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"UnarchiveChatConversationActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/UnarchiveChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"UnarchiveChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"UnarchiveChatConversationRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/UnarchiveChatConversationActionSignatures"}}},"additionalProperties":false},"UnarchiveChatConversationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnarchiveChatConversationResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnarchiveChatConversationResponseData":{"type":"object","required":["archived"],"properties":{"archived":{"type":"boolean","description":"Whether the conversation is archived for the authenticated user."}}},"UnblockUsersDmsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnblockUsersDmsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnblockUsersDmsResponseData":{"type":"object","required":["blocked"],"properties":{"blocked":{"type":"boolean","description":"Indicates whether the target user is DM-blocked."}}},"UnencryptedSendNotAllowedProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/unencrypted-send-not-allowed"]}}},"UnfollowListResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnfollowListResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnfollowListResponseData":{"type":"object","required":["following"],"properties":{"following":{"type":"boolean","description":"Indicates whether the user is following the List."}}},"UnfollowUserResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnfollowUserResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnfollowUserResponseData":{"type":"object","required":["following"],"properties":{"following":{"type":"boolean","description":"Whether the user is followed."}}},"UnlikeComplianceSchema":{"type":"object","required":["favorite","event_at"],"properties":{"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"favorite":{"type":"object","required":["id","user_id"],"properties":{"id":{"$ref":"#/components/schemas/PostId"},"user_id":{"$ref":"#/components/schemas/UserId"}}}}},"UnlikePostResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnlikePostResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnlikePostResponseData":{"type":"object","required":["liked"],"properties":{"liked":{"type":"boolean","description":"Whether the Post is liked."}}},"UnmuteBroadcastChatUserResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnmuteBroadcastChatUserResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnmuteBroadcastChatUserResponseData":{"type":"object","required":["muted"],"properties":{"muted":{"type":"boolean","description":"Whether the user is muted in this broadcast chat."}}},"UnmuteChatConversationActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/UnmuteChatConversationActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"UnmuteChatConversationActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/UnmuteChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"UnmuteChatConversationActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"UnmuteChatConversationRequest":{"type":"object","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/UnmuteChatConversationActionSignatures"}}},"additionalProperties":false},"UnmuteChatConversationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnmuteChatConversationResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnmuteChatConversationResponseData":{"type":"object","required":["muted"],"properties":{"muted":{"type":"boolean","description":"Whether the conversation is muted for the authenticated user."}}},"UnmuteChatUserResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnmuteChatUserResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnmuteChatUserResponseData":{"type":"object","required":["muted"],"properties":{"muted":{"type":"boolean","description":"Whether the user is muted in this broadcast chat."}}},"UnmuteUserResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnmuteUserResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnmuteUserResponseData":{"type":"object","required":["muting"],"properties":{"muting":{"type":"boolean","description":"Whether the user is muted."}}},"UnpinListResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnpinListResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnpinListResponseData":{"type":"object","required":["pinned"],"properties":{"pinned":{"type":"boolean","description":"Indicates whether the List is pinned by the authenticated user."}}},"UnrepostPostResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UnrepostPostResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UnrepostPostResponseData":{"type":"object","required":["retweeted"],"properties":{"retweeted":{"type":"boolean","description":"Whether the Post is reposted."}}},"UpdateActivitySubscriptionRequest":{"type":"object","properties":{"tag":{"type":"string","description":"Optional caller-defined tag.","minLength":1,"maxLength":200},"webhook_id":{"type":"string","description":"Webhook to deliver the subscription events to.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"UpdateActivitySubscriptionResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateActivitySubscriptionResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateActivitySubscriptionResponseData":{"type":"object","properties":{"subscription":{"$ref":"#/components/schemas/UpdateActivitySubscriptionResponseDataSubscription"},"total_subscriptions":{"type":"integer","description":"Total active subscriptions for the instance."}}},"UpdateActivitySubscriptionResponseDataSubscription":{"type":"object","properties":{"created_at":{"type":"string","description":"Subscription creation time."},"event_type":{"type":"string","description":"Activity event type in dot notation."},"expires_at":{"type":"string","description":"Subscription expiration time."},"filter":{"description":"Subscription filter.","$ref":"#/components/schemas/UpdateActivitySubscriptionResponseDataSubscriptionFilter"},"subscription_id":{"type":"string","description":"Unique identifier of the subscription."},"tag":{"type":"string","description":"Optional caller-defined tag."},"updated_at":{"type":"string","description":"Subscription last-update time."},"webhook_id":{"type":"string","description":"Webhook receiving the subscription events."}},"additionalProperties":false},"UpdateActivitySubscriptionResponseDataSubscriptionFilter":{"type":"object","properties":{"direction":{"type":"string","description":"Optional direction filter for directional events. Not present for mute.* or block.* events."},"keyword":{"type":"string","description":"Optional keyword filter."},"qualifiers":{"type":"object","description":"Event-specific string predicates applied to the subscription."},"user_id":{"type":"string","description":"User the subscription is scoped to."}},"additionalProperties":false},"UpdateBotRequest":{"type":"object","properties":{"display_name":{"type":"string","description":"New display name.","minLength":1,"maxLength":50},"dm_permission":{"type":"string","description":"Who may send the bot Direct Messages: everyone, or premium for verified senders only. Premium isn't meant for org-only bots, since everyone in an org-only bot's developer account should be able to message it, verified or not; requesting premium for one may be refused with a 400. The no_one value is deprecated and kept only so bots that already use it can keep it; choosing it for any other bot may be refused with a 400.","enum":["everyone","premium","no_one"]},"handle":{"type":"string","description":"New handle (X screen name): 5-15 characters, letters, numbers, or underscores.","minLength":5,"maxLength":15,"pattern":"^[A-Za-z0-9_]{5,15}$"}},"additionalProperties":false},"UpdateBotResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateBotResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateBotResponseData":{"type":"object","required":["updated"],"properties":{"updated":{"type":"boolean","description":"Whether the bot was updated."}}},"UpdateBroadcastStateRequest":{"type":"object","required":["state"],"properties":{"chat_option":{"type":"integer","description":"Not allowed with `END`."},"locale":{"type":"string","description":"Not allowed with `END`."},"should_not_tweet":{"type":"boolean","description":"Not allowed with `END`."},"state":{"type":"string","description":"`END`. `PUBLISH` is not supported."},"title":{"type":"string","description":"Not allowed with `END`."}}},"UpdateBroadcastStateResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateBroadcastStateResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateBroadcastStateResponseData":{"type":"object","required":["id","state"],"properties":{"id":{"type":"string","description":"Broadcast id."},"state":{"type":"string","description":"Always `ENDED`."}}},"UpdateChatConversationMessageTtlActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/UpdateChatConversationMessageTtlActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"UpdateChatConversationMessageTtlActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/UpdateChatConversationMessageTtlActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"UpdateChatConversationMessageTtlActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"UpdateChatConversationMessageTtlRequest":{"type":"object","required":["message_ttl_ms"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/UpdateChatConversationMessageTtlActionSignatures"}},"message_ttl_ms":{"type":"string","description":"How long new messages last, in milliseconds.","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"UpdateChatConversationMessageTtlResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateChatConversationMessageTtlResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateChatConversationMessageTtlResponseData":{"type":"object","required":["updated"],"properties":{"updated":{"type":"boolean","description":"Whether the message lifetime was set."}}},"UpdateChatConversationScreenCaptureBlockingActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/UpdateChatConversationScreenCaptureBlockingActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"UpdateChatConversationScreenCaptureBlockingActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/UpdateChatConversationScreenCaptureBlockingActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"UpdateChatConversationScreenCaptureBlockingActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"UpdateChatConversationScreenCaptureDetectionActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/UpdateChatConversationScreenCaptureDetectionActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"UpdateChatConversationScreenCaptureDetectionActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/UpdateChatConversationScreenCaptureDetectionActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"UpdateChatConversationScreenCaptureDetectionActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"UpdateChatConversationScreenCaptureRequest":{"anyOf":[{"required":["blocking"]},{"required":["detection"]}],"type":"object","description":"At least one of `blocking`, `detection` is required.","properties":{"blocking":{"type":"boolean","description":"Whether participants are prevented from taking screenshots."},"blocking_action_signatures":{"type":"array","description":"Signatures for the screenshot blocking change, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/UpdateChatConversationScreenCaptureBlockingActionSignatures"}},"detection":{"type":"boolean","description":"Whether participants are notified when someone takes a screenshot."},"detection_action_signatures":{"type":"array","description":"Signatures for the screenshot detection change, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/UpdateChatConversationScreenCaptureDetectionActionSignatures"}}},"additionalProperties":false},"UpdateChatConversationScreenCaptureResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateChatConversationScreenCaptureResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateChatConversationScreenCaptureResponseData":{"type":"object","properties":{"blocking":{"type":"boolean","description":"The screenshot blocking setting, when changed."},"detection":{"type":"boolean","description":"The screenshot detection setting, when changed."}}},"UpdateChatGroupActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/UpdateChatGroupActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"UpdateChatGroupActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/UpdateChatGroupActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"UpdateChatGroupActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"UpdateChatGroupAdminSettingsActionSignatures":{"type":"object","required":["message_id","encoded_message_event_detail","message_event_signature"],"properties":{"encoded_message_event_detail":{"type":"string","description":"Base64-encoded Thrift MessageEventDetail for the signed action.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"message_event_signature":{"description":"Message event signature supplied with an action signature.","$ref":"#/components/schemas/UpdateChatGroupAdminSettingsActionSignaturesMessageEventSignature"},"message_id":{"type":"string","description":"Client-generated ID of the message being signed.","minLength":1},"signature_payload":{"type":"string","description":"Payload string the client signed; used only in server-side failure logs."}}},"UpdateChatGroupAdminSettingsActionSignaturesMessageEventSignature":{"type":"object","required":["signature","public_key_version","signature_version"],"properties":{"message_signing_key_info_list":{"type":"array","description":"List of signing key information for message verification.","items":{"$ref":"#/components/schemas/UpdateChatGroupAdminSettingsActionSignaturesMessageEventSignatureMessageSigningKeyInfoList"}},"public_key_version":{"type":"string","description":"The version of the public key used for signing.","pattern":"^[0-9]+$"},"signature":{"type":"string","description":"The signature of the message event.","minLength":1,"pattern":"^[A-Za-z0-9+/=_-]+$"},"signature_version":{"type":"string","description":"The version of the signature algorithm.","pattern":"^[0-9]+$"},"signing_public_key":{"type":"string","description":"The public key used for signing."}}},"UpdateChatGroupAdminSettingsActionSignaturesMessageEventSignatureMessageSigningKeyInfoList":{"type":"object","properties":{"member_id":{"type":"string","description":"The member ID associated with this signing key."},"public_key_version":{"type":"string","description":"The version of the public key."},"signing_public_key":{"type":"string","description":"The signing public key."}}},"UpdateChatGroupAdminSettingsRequest":{"anyOf":[{"required":["add_member"]},{"required":["edit_group_info"]},{"required":["send_message"]},{"required":["start_call"]},{"required":["edit_message_ttl"]},{"required":["block_screen_capture"]}],"type":"object","description":"At least one of `add_member`, `edit_group_info`, `send_message`, `start_call`, `edit_message_ttl`, `block_screen_capture` is required.","properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/UpdateChatGroupAdminSettingsActionSignatures"}},"add_member":{"type":"boolean","description":"When true, only admins can add members."},"block_screen_capture":{"type":"boolean","description":"When true, only admins can change screen capture blocking. Through the API, only admins can change screen capture in a group, whatever this setting says."},"edit_group_info":{"type":"boolean","description":"When true, only admins can edit the group name, avatar, and description."},"edit_message_ttl":{"type":"boolean","description":"When true, only admins can change the disappearing-message timer."},"send_message":{"type":"boolean","description":"When true, only admins can send messages."},"start_call":{"type":"boolean","description":"When true, only admins can start calls."}},"additionalProperties":false},"UpdateChatGroupAdminSettingsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateChatGroupAdminSettingsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateChatGroupAdminSettingsResponseData":{"type":"object","required":["updated"],"properties":{"updated":{"type":"boolean","description":"Whether the admin settings were updated."}}},"UpdateChatGroupConversationParticipantKeys":{"type":"object","required":["user_id","encrypted_conversation_key","public_key_version"],"properties":{"encrypted_conversation_key":{"type":"string","description":"Conversation key encrypted with this participant's public key."},"public_key_version":{"type":"string","description":"Version of the participant's public key used for encryption."},"user_id":{"type":"string","description":"Participant user ID."}}},"UpdateChatGroupRequest":{"type":"object","required":["modified_fields","conversation_key_version"],"properties":{"action_signatures":{"type":"array","description":"Signatures for this action, forwarded in the order they are sent.","items":{"$ref":"#/components/schemas/UpdateChatGroupActionSignatures"}},"base64_encoded_key_rotation":{"type":"string","description":"Base64-encoded key rotation payload."},"conversation_key_version":{"type":"string","description":"Version of the conversation key the values are encrypted with.","pattern":"^[0-9]{1,19}$"},"conversation_participant_keys":{"type":"array","description":"Encrypted conversation keys for each participant.","items":{"$ref":"#/components/schemas/UpdateChatGroupConversationParticipantKeys"}},"group_avatar_url":{"type":"string","description":"Encrypted group avatar URL."},"group_description":{"type":"string","description":"Encrypted group description."},"group_name":{"type":"string","description":"Encrypted group name."},"modified_fields":{"type":"array","description":"The group values this request changes.","minItems":1,"items":{"type":"string","enum":["group_name","group_avatar_url","group_description"]}},"rotated_pmk_bundle":{"type":"array","description":"Message keys re-encrypted with the rotated conversation key.","items":{"$ref":"#/components/schemas/UpdateChatGroupRotatedPmkBundle"}}},"additionalProperties":false},"UpdateChatGroupResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateChatGroupResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateChatGroupResponseData":{"type":"object","required":["updated"],"properties":{"conversation_key_change_sequence_id":{"type":"string","description":"Sequence ID of the key change, when the edit rotated the key."},"updated":{"type":"boolean","description":"Whether the group was updated."}}},"UpdateChatGroupRotatedPmkBundle":{"type":"object","required":["base64_encoded_encrypted_pmk","message_sequence_id"],"properties":{"base64_encoded_encrypted_pmk":{"type":"string","description":"Base64-encoded message key, encrypted with the new conversation key."},"message_sequence_id":{"type":"string","description":"Sequence ID of the message the key belongs to."},"pme_sequence_id":{"type":"string","description":"Sequence ID of the key's origin event."}}},"UpdateChatSettingsAvSettings":{"type":"object","properties":{"av_call_permissions":{"description":"Who may place audio or video calls to the user.","$ref":"#/components/schemas/UpdateChatSettingsAvSettingsAvCallPermissions"},"has_av_calls_enabled":{"type":"boolean","description":"Whether audio and video calls are enabled."},"has_enhanced_call_privacy_enabled":{"type":"boolean","description":"Whether enhanced call privacy is enabled."}},"additionalProperties":false},"UpdateChatSettingsAvSettingsAvCallPermissions":{"type":"object","properties":{"accept_calls_from_addressbook":{"type":"boolean","description":"Whether the user accepts calls from address-book contacts."},"accept_calls_from_everyone":{"type":"boolean","description":"Whether the user accepts calls from anyone."},"accept_calls_from_following":{"type":"boolean","description":"Whether the user accepts calls from accounts they follow."},"accept_calls_from_verified":{"type":"boolean","description":"Whether the user accepts calls from verified accounts."}},"additionalProperties":false},"UpdateChatSettingsRequest":{"anyOf":[{"required":["allow_dms_from"]},{"required":["always_allow_dms_from_subscribers"]},{"required":["dm_quality_filter"]},{"required":["dm_receipt_settings"]},{"required":["av_settings"]}],"type":"object","description":"At least one of `allow_dms_from`, `always_allow_dms_from_subscribers`, `dm_quality_filter`, `dm_receipt_settings`, `av_settings` is required.","properties":{"allow_dms_from":{"type":"string","description":"Who can send the user messages: `all` (anyone), `verified` (verified accounts only), or `following` (accounts the user follows). A bot may get a 400 for choosing `following` when it doesn't already have it, and an org-only bot for choosing `verified`.","enum":["all","verified","following"]},"always_allow_dms_from_subscribers":{"type":"boolean","description":"Whether the user's subscribers can always message them regardless of allow_dms_from."},"av_settings":{"description":"Audio and video call settings.","$ref":"#/components/schemas/UpdateChatSettingsAvSettings"},"dm_quality_filter":{"type":"string","description":"Low-quality message request filter: `enabled` (low-quality requests go to a separate folder) or `disabled` (all requests stay in the main inbox).","enum":["enabled","disabled"]},"dm_receipt_settings":{"type":"string","description":"Read receipts: `all_enabled` (send and receive read receipts) or `all_disabled` (neither).","enum":["all_enabled","all_disabled"]}},"additionalProperties":false},"UpdateChatSettingsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateChatSettingsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateChatSettingsResponseData":{"type":"object","properties":{"allow_dms_from":{"type":"string","description":"Who can send the user messages: `all` (anyone), `verified` (verified accounts only), or `following` (accounts the user follows). A bot may get a 400 for choosing `following` when it doesn't already have it, and an org-only bot for choosing `verified`.","enum":["all","verified","following"]},"always_allow_dms_from_subscribers":{"type":"boolean","description":"Whether the user's subscribers can always message them regardless of allow_dms_from."},"av_settings":{"description":"Audio and video call settings.","$ref":"#/components/schemas/UpdateChatSettingsResponseDataAvSettings"},"dm_quality_filter":{"type":"string","description":"Low-quality message request filter: `enabled` (low-quality requests go to a separate folder) or `disabled` (all requests stay in the main inbox).","enum":["enabled","disabled"]},"dm_receipt_settings":{"type":"string","description":"Read receipts: `all_enabled` (send and receive read receipts) or `all_disabled` (neither).","enum":["all_enabled","all_disabled"]}}},"UpdateChatSettingsResponseDataAvSettings":{"type":"object","properties":{"av_call_permissions":{"description":"Who may place audio or video calls to the user.","$ref":"#/components/schemas/UpdateChatSettingsResponseDataAvSettingsAvCallPermissions"},"has_av_calls_enabled":{"type":"boolean","description":"Whether audio and video calls are enabled."},"has_enhanced_call_privacy_enabled":{"type":"boolean","description":"Whether enhanced call privacy is enabled."}},"additionalProperties":false},"UpdateChatSettingsResponseDataAvSettingsAvCallPermissions":{"type":"object","properties":{"accept_calls_from_addressbook":{"type":"boolean","description":"Whether the user accepts calls from address-book contacts."},"accept_calls_from_everyone":{"type":"boolean","description":"Whether the user accepts calls from anyone."},"accept_calls_from_following":{"type":"boolean","description":"Whether the user accepts calls from accounts they follow."},"accept_calls_from_verified":{"type":"boolean","description":"Whether the user accepts calls from verified accounts."}},"additionalProperties":false},"UpdateListsRequest":{"type":"object","properties":{"description":{"type":"string","description":"New description for the List (up to 100 characters).","maxLength":100},"name":{"type":"string","description":"New name for the List (1-25 characters).","minLength":1,"maxLength":25},"private":{"type":"boolean","description":"Whether the List is private."}},"additionalProperties":false},"UpdateListsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateListsResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateListsResponseData":{"type":"object","required":["updated"],"properties":{"updated":{"type":"boolean","description":"Indicates whether the List was updated."}}},"UpdateMediaInLibraryMonetization":{"type":"object","properties":{"allowed_countries":{"type":"array","description":"ISO 3166-1 alpha-2 codes of the only countries the video is monetized in. Omit to monetize everywhere.","items":{"type":"string","pattern":"^[A-Za-z]{2}$"}},"blocked_advertiser_category_ids":{"type":"array","description":"Advertiser categories (from the categories endpoint) whose ads may not run against the video.","items":{"type":"integer"}},"blocked_advertiser_ids":{"type":"array","description":"Advertiser account ids whose ads may not run against the video.","items":{"type":"string"}},"enabled":{"type":"boolean","description":"Whether ads may run against the video. Requires the account to be enrolled in video monetization."},"program_id":{"type":"string","description":"Amplify program to monetize the video through, instead of `video_category_ids`."},"video_category_ids":{"type":"array","description":"Video category ids (from the categories endpoint) describing the content; at most one when creating. Required when enabled, unless `program_id` is set.","maxItems":2,"items":{"type":"integer"}}},"additionalProperties":false},"UpdateMediaInLibraryRequest":{"type":"object","properties":{"description":{"type":"string","description":"Description shown with the video in the player card.","maxLength":200},"label":{"type":"string","description":"Label of the item in the library."},"monetization":{"description":"Monetization settings. Videos only.","$ref":"#/components/schemas/UpdateMediaInLibraryMonetization"},"name":{"type":"string","description":"Name of the item in the library."},"title":{"type":"string","description":"Title shown with the video in the player card.","maxLength":70}}},"UpdateMediaInLibraryResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateMediaInLibraryResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateMediaInLibraryResponseData":{"type":"object","required":["updated"],"properties":{"updated":{"type":"boolean","description":"Whether the library item was updated."}}},"UpdateRulesAdd":{"type":"object","required":["value"],"properties":{"tag":{"type":"string","description":"Optional caller-defined label for the rule."},"value":{"type":"string","description":"Rule filter expression."}},"additionalProperties":false},"UpdateRulesDelete":{"type":"object","properties":{"ids":{"type":"array","description":"Rule ids (Snowflake external ids) to delete.","items":{"anyOf":[{"type":"string"},{"type":"integer"}],"pattern":"^[0-9]{1,19}$"}},"values":{"type":"array","description":"Rule values to delete.","items":{"type":"string"}}},"additionalProperties":false},"UpdateRulesRequest":{"type":"object","properties":{"add":{"type":"array","description":"Rules to add.","items":{"$ref":"#/components/schemas/UpdateRulesAdd"}},"delete":{"description":"Rules to delete by id or by value.","$ref":"#/components/schemas/UpdateRulesDelete"}},"additionalProperties":false},"UpdateRulesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UpdateRulesResponseData"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}},"meta":{"type":"object","properties":{"sent":{"type":"string"},"summary":{"type":"object"}}}}},"UpdateRulesResponseData":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the rule."},"tag":{"type":"string","description":"Optional caller-defined label for the rule."},"value":{"type":"string","description":"The rule's filter expression."}}},"UpdateScheduledBroadcastRequest":{"type":"object","required":["scheduled_broadcast_id","scheduled_start_ms","scheduled_end_ms"],"properties":{"available_for_replay":{"type":"boolean","description":"Enable replay."},"chat_option":{"type":"string","description":"Who can chat (numeric string): `0` default, `1` chat off, `2` everyone, `3` verified accounts, `4` accounts the host follows, `5` the host's subscribers, `6` accounts followed by an account the host follows.","pattern":"^[0-9]{1,19}$"},"description":{"type":"string","description":"Description."},"is_locked":{"type":"boolean","description":"Lock the broadcast."},"locale":{"type":"string","description":"Locale."},"manual_publish":{"type":"boolean","description":"If true, do not auto-publish at start; call POST .../live when ready."},"roll_forward":{"type":"boolean","description":"Deprecated: recurring schedules are being retired and `true` will be rejected."},"scheduled_broadcast_id":{"type":"string","description":"Numeric scheduler id from create/list/get.","pattern":"^[0-9]{1,19}$"},"scheduled_end_ms":{"type":"string","description":"End time, ms since Unix epoch (decimal string).","pattern":"^[0-9]{1,19}$"},"scheduled_start_ms":{"type":"string","description":"Start time, ms since Unix epoch (decimal string).","pattern":"^[0-9]{1,19}$"},"source_id":{"type":"string","description":"Source to bind: a source's `id` from GET /2/sources. A stream key is also accepted but deprecated; stream keys stop being accepted when the /2/users/:id/sources and /2/users/:id/broadcasts routes reach end of life on January 1, 2027."},"thumbnail_media_id":{"type":"string","description":"Pre-live slate media id (numeric string).","pattern":"^[0-9]{1,19}$"},"title":{"type":"string","description":"Title / status text."}},"additionalProperties":false},"UpdateScheduledBroadcastResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateScheduledBroadcastResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateScheduledBroadcastResponseData":{"type":"object","properties":{"available_for_replay":{"type":"boolean","description":"Whether replay is enabled."},"broadcast_id":{"type":"string","description":"Alphanumeric broadcast id (path `:id` for get/update/delete/live)."},"chat_option":{"type":"string","description":"Who can chat (numeric string): `0` default, `1` chat off, `2` everyone, `3` verified accounts, `4` accounts the host follows, `5` the host's subscribers, `6` accounts followed by an account the host follows."},"description":{"type":"string","description":"Optional description."},"locale":{"type":"string","description":"Optional locale."},"manual_publish":{"type":"boolean","description":"When true, coordinator will not auto-publish; call POST .../live when ready."},"recurring_schedule_id":{"type":"string","description":"Deprecated: always null for new schedules."},"scheduled_broadcast_id":{"type":"string","description":"Numeric scheduler id. Required in the update request body."},"scheduled_end_ms":{"type":"string","description":"Scheduled end, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start, milliseconds since Unix epoch (decimal string)."},"source_id":{"type":"string","description":"Id of the bound source, as returned by GET /2/sources. Omitted when unknown."},"state":{"type":"string","description":"Scheduler state: `Created` or `Scheduled` before start, then `Running`, `Ended`, or `Error`."},"telecast_id":{"type":"string","description":"Deprecated: always null for new schedules."},"thumbnail_media_id":{"type":"string","description":"Optional pre-live slate media id."},"title":{"type":"string","description":"Broadcast title / status text."}}},"UpdateScheduledCallRequest":{"anyOf":[{"required":["start_time"]},{"required":["duration_minutes"]},{"required":["title"]},{"required":["description"]},{"required":["invitee_ids"]},{"required":["recurrence"]},{"required":["time_zone"]}],"type":"object","description":"At least one of `start_time`, `duration_minutes`, `title`, `description`, `invitee_ids`, `recurrence`, `time_zone` is required.","properties":{"description":{"type":"string","description":"What the call is about.","maxLength":1000},"duration_minutes":{"type":"integer","description":"How long the call lasts, in minutes.","minimum":1,"maximum":44640},"invitee_ids":{"type":"array","description":"Everyone to invite: replaces the invite list. At most 25 of them may be people not invited yet.","minItems":1,"maxItems":100,"items":{"type":"string","pattern":"^[0-9]{1,19}$"}},"notify_invitees":{"type":"boolean","description":"Whether invitees get an email about the change. Defaults to true."},"occurrence_start_time":{"type":"string","description":"Start of the occurrence that scope this or this_and_following refers to (RFC 3339).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])T([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(\\.\\d{1,9})?(Z|[+-]([01]\\d|2[0-3]):[0-5]\\d)$"},"recurrence":{"type":"string","description":"RFC 5545 RRULE to repeat the call by, such as FREQ=WEEKLY;BYDAY=MO.","minLength":1,"maxLength":500},"scope":{"type":"string","description":"Which occurrences of a recurring call: all (the default without occurrence_start_time), this (the default with it), or this_and_following.","enum":["all","this","this_and_following"]},"start_time":{"type":"string","description":"When the call (or the chosen occurrence) starts now (RFC 3339).","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])T([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(\\.\\d{1,9})?(Z|[+-]([01]\\d|2[0-3]):[0-5]\\d)$"},"time_zone":{"type":"string","description":"IANA time zone the recurrence follows.","maxLength":64},"title":{"type":"string","description":"Title invitees see.","maxLength":100}},"additionalProperties":false},"UpdateScheduledCallResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateScheduledCallResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateScheduledCallResponseData":{"type":"object","properties":{"updated":{"type":"boolean","description":"Whether the scheduled call was changed."}},"additionalProperties":false},"UpdateSourceRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"New label for the source.","minLength":1}},"additionalProperties":false},"UpdateSourceResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateSourceResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateSourceResponseData":{"type":"object","required":["id"],"properties":{"created_at_ms":{"type":"string","description":"Creation time, milliseconds since Unix epoch (decimal string)."},"id":{"type":"string","description":"Source id, 19 decimal digits; the `source_id` that POST /2/broadcasts and scheduled broadcasts take. Not a credential: read the stream key with GET /2/sources/:id/stream_key."},"is_stream_active":{"type":"boolean","description":"Whether an encoder is currently sending video to the source."},"name":{"type":"string","description":"Label for the source."},"region":{"type":"string","description":"Region of the ingest location serving the source: `us-east-1` or `us-west-2`. Sources created before October 31, 2026 keep the AWS region they were created in."},"rtmp_url":{"type":"string","description":"Ingest URL."},"rtmps_url":{"type":"string","description":"RTMPS ingest URL (port 443). Configure your encoder with this URL and the source's stream key."}}},"UpdateUserBroadcastStateRequest":{"type":"object","required":["state"],"properties":{"chat_option":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4 accounts the host follows, 5 the host's subscribers, 6 accounts followed by an account the host follows. A numeric string is also accepted. `PUBLISH` only."},"locale":{"type":"string","description":"Broadcast language. `PUBLISH` only."},"should_not_tweet":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"Skip the announcing Post. Unset keeps the broadcast's setting, which defaults to posting. `\"true\"`, `\"false\"`, `1` and `0` are also accepted. `PUBLISH` only."},"state":{"type":"string","description":"`PUBLISH` or `END`."},"title":{"type":"string","description":"Broadcast title. `PUBLISH` only."}}},"UpdateUserBroadcastStateResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateUserBroadcastStateResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateUserBroadcastStateResponseData":{"type":"object","properties":{"broadcast":{"description":"The published broadcast, on `PUBLISH`.","$ref":"#/components/schemas/UpdateUserBroadcastStateResponseDataBroadcast"},"success":{"type":"boolean","description":"`true` once `END` succeeds."},"tweet_error":{"type":"string","description":"Why the announcing Post failed, on `PUBLISH`. Omitted when the Post went out or `should_not_tweet` was true."}}},"UpdateUserBroadcastStateResponseDataBroadcast":{"type":"object","required":["id"],"properties":{"available_for_replay":{"type":"boolean","description":"Whether a replay is available."},"broadcast_id":{"type":"string","description":"Broadcast id."},"chat_option":{"type":"integer","description":"Who can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4 accounts the host follows, 5 the host's subscribers, 6 accounts followed by an account the host follows."},"created_at_ms":{"type":"string","description":"Creation time, milliseconds since Unix epoch (decimal string)."},"end_ms":{"type":"string","description":"End time, milliseconds since Unix epoch (decimal string)."},"height":{"type":"integer","description":"Video height in pixels."},"id":{"type":"string","description":"Broadcast id; equal to `broadcast_id`."},"image_url":{"type":"string","description":"Thumbnail URL."},"image_url_medium":{"type":"string","description":"Medium thumbnail URL."},"image_url_small":{"type":"string","description":"Small thumbnail URL."},"is_high_latency":{"type":"boolean","description":"Whether the broadcast is high latency."},"language":{"type":"string","description":"Broadcast language."},"media_id":{"type":"string","description":"Numeric media id from `media_key`."},"media_key":{"type":"string","description":"Media key of the broadcast's video."},"scheduled_end_ms":{"type":"string","description":"Scheduled end time, milliseconds since Unix epoch (decimal string)."},"scheduled_start_ms":{"type":"string","description":"Scheduled start time, milliseconds since Unix epoch (decimal string)."},"start_ms":{"type":"string","description":"Start time, milliseconds since Unix epoch (decimal string)."},"state":{"type":"string","description":"`NOT_STARTED`, `RUNNING`, `TIMED_OUT`, `ENDED`, `PRE_PUBLISHED` or `CANCELED`."},"status":{"type":"string","description":"Broadcast title."},"total_watched":{"type":"string","description":"Total viewers (decimal string)."},"total_watching":{"type":"string","description":"Current viewers (decimal string)."},"tweet_id":{"type":"string","description":"Id of the Post announcing the broadcast."},"twitter_user_id":{"type":"string","description":"Owner's user id."},"updated_at_ms":{"type":"string","description":"Last update time, milliseconds since Unix epoch (decimal string)."},"width":{"type":"integer","description":"Video width in pixels."}},"additionalProperties":false},"UpdateUserSourceRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"New label for the source.","minLength":1}},"additionalProperties":false},"UpdateUserSourceResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateUserSourceResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UpdateUserSourceResponseData":{"type":"object","required":["source"],"properties":{"source":{"$ref":"#/components/schemas/UpdateUserSourceResponseDataSource"}}},"UpdateUserSourceResponseDataSource":{"type":"object","required":["id"],"properties":{"creation_origin":{"description":"Where a source created before the move to on-prem was created, e.g. `{\"value\": 2, \"name\": \"MediaStudio\", \"original_name\": \"MEDIA_STUDIO\"}`; omitted for on-prem sources.","$ref":"#/components/schemas/UpdateUserSourceResponseDataSourceCreationOrigin"},"creation_time":{"type":"integer","description":"Creation time, ms since Unix epoch."},"id":{"type":"string","description":"Source id; also the RTMP stream key."},"is360":{"type":"boolean","description":"Whether the source streams 360° video."},"is_stream_active":{"type":"boolean","description":"Whether an encoder is currently sending video to the source."},"name":{"type":"string","description":"Label for the source."},"owner_id":{"type":"integer","description":"Owner's numeric user id. Exceeds the exact integer range of many JSON parsers."},"rtmp_region":{"type":"string","description":"Ingest region as an AWS region name, e.g. `us-east-1` or `us-west-2`. Accepted as `region` when creating a source."},"rtmp_stream_key":{"type":"string","description":"Stream key; equal to `id`."},"rtmp_url":{"type":"string","description":"RTMP ingest URL."},"rtmps_url":{"type":"string","description":"RTMPS ingest URL (port 443)."},"video_service":{"description":"Video service of a source created before the move to on-prem, e.g. `{\"value\": 0, \"name\": \"Vidman\", \"original_name\": \"VIDMAN\"}`; omitted for on-prem sources.","$ref":"#/components/schemas/UpdateUserSourceResponseDataSourceVideoService"}},"additionalProperties":false},"UpdateUserSourceResponseDataSourceCreationOrigin":{"type":"object","properties":{"name":{"type":"string","description":"Name, e.g. `PublicApi`."},"original_name":{"type":"string","description":"Upper-case name, e.g. `PUBLIC_API`."},"value":{"type":"integer","description":"Numeric value."}},"additionalProperties":false},"UpdateUserSourceResponseDataSourceVideoService":{"type":"object","properties":{"name":{"type":"string","description":"Name, e.g. `PublicApi`."},"original_name":{"type":"string","description":"Upper-case name, e.g. `PUBLIC_API`."},"value":{"type":"integer","description":"Numeric value."}},"additionalProperties":false},"UploadComplianceJobSubmissionRequest":{"type":"object","required":["submission"],"properties":{"submission":{"type":"string","description":"The newline-delimited ID file, forwarded verbatim.","format":"binary"}},"additionalProperties":false},"UploadComplianceJobSubmissionResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ComplianceJob"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"Usage":{"type":"object","properties":{"cap_reset_day":{"type":"integer"},"daily_client_app_usage":{"$ref":"#/components/schemas/UsageDailyClientAppUsage"},"daily_project_usage":{"$ref":"#/components/schemas/UsageDailyProjectUsage"},"project_cap":{"type":"string"},"project_id":{"type":"string"},"project_usage":{"type":"string"}}},"UsageDailyClientAppUsage":{"type":"array","description":"Per-client-app daily Post usage for the caller's project.","items":{"type":"object","description":"Per-client-app daily Post usage entry.","required":["usage_result_count"],"properties":{"client_app_id":{"type":"string","description":"Unique identifier of the client app.","nullable":true},"usage":{"type":"array","description":"Daily usage entries for this client app.","items":{"type":"object","description":"A single day's usage entry.","required":["date"],"properties":{"date":{"type":"string","description":"The day of the usage entry, as an ISO 8601 date-time."},"usage":{"type":"string","description":"Number of Posts used on this day.","nullable":true}}}},"usage_result_count":{"type":"integer","description":"Number of daily usage entries returned for this client app.","format":"int64"}}}},"UsageDailyProjectUsage":{"type":"object","description":"Project-level daily Post usage for the caller's project.","properties":{"project_id":{"type":"string","description":"Unique identifier of the project.","nullable":true},"usage":{"type":"array","description":"Daily usage entries for the project.","items":{"type":"object","description":"A single day's usage entry.","required":["date"],"properties":{"date":{"type":"string","description":"The day of the usage entry, as an ISO 8601 date-time."},"usage":{"type":"string","description":"Number of Posts used on this day.","nullable":true}}},"nullable":true}}},"User":{"type":"object","properties":{"active_follower_count":{"type":"integer","description":"The number of followers who were active on X in the last 24 hours. Returned only for the authenticated user when account analytics is enabled. Omitted for accounts with 50 or fewer followers. An estimate for accounts with at least 20,000 followers."},"affiliation":{"$ref":"#/components/schemas/UserAffiliation"},"confirmed_email":{"type":"string"},"connection_status":{"$ref":"#/components/schemas/UserConnectionStatus"},"created_at":{"type":"string","description":"Creation time of this User.","format":"date-time"},"description":{"type":"string","description":"The text of this User's profile description (also known as bio), if the User provided one."},"entities":{"$ref":"#/components/schemas/UserEntities"},"id":{"type":"string","description":"Unique identifier of this User."},"is_identity_verified":{"type":"boolean","description":"Indicates if this User has completed identity verification."},"location":{"type":"string","description":"The location specified in the User's profile, if the User provided one. As this is a freeform value, it may not indicate a valid location."},"most_recent_post_id":{"type":"string","description":"Unique identifier of this User's most recent Post."},"name":{"type":"string","description":"The friendly name of this User, as shown on their profile."},"org_only":{"type":"boolean","description":"Indicates if this User is an org-only bot, which only members of its developer account can add to group chats. Omitted when it can't be determined for you, so it is never reported as false in that case. A bot can read its own value with its own token."},"parody":{"type":"boolean","description":"Indicates if this User is a parody account."},"pinned_post_id":{"type":"string","description":"Unique identifier of this User's pinned Post."},"profile_banner_url":{"type":"string","description":"The URL to the profile banner for this User."},"profile_image_url":{"type":"string","description":"The URL to the profile image for this User."},"protected":{"type":"boolean","description":"Indicates if this User has chosen to protect their Posts (in other words, if this User's Posts are private)."},"public_metrics":{"$ref":"#/components/schemas/UserPublicMetrics"},"receives_your_chat":{"type":"string","description":"How you can send a Chat message to this User: encrypted (end-to-end, the default), unencrypted (X Chat can't encrypt your 1:1 chat, so send plaintext `content` instead), or none (you can't message them)."},"receives_your_dm":{"type":"boolean","description":"Indicates if you can send a DM to this User. Omitted when the DM permission can't be determined, so it is never reported as false in that case."},"subscriber_count":{"type":"integer","description":"The number of Premium subscribers of this User."},"subscribes_to_you":{"type":"boolean","description":"Indicates if this User subscribes to you."},"subscription":{"$ref":"#/components/schemas/UserSubscription"},"subscription_type":{"type":"string","description":"The X Blue subscription type of the user, e.g.: Basic, Premium, PremiumPlus or None."},"url":{"type":"string","description":"The URL specified in the User's profile."},"username":{"type":"string","description":"The X handle (screen name) of this User."},"verified":{"type":"boolean","description":"Indicates if this User is a verified X User."},"verified_followers_count":{"type":"integer","description":"The number of verified followers of this User."},"verified_type":{"type":"string","description":"The X Blue verified type of the user, e.g.: blue, government, business or none."},"withheld":{"$ref":"#/components/schemas/UserWithheld"}}},"UserAffiliation":{"type":"object","description":"Metadata about a user's affiliation.","properties":{"badge_url":{"type":"string","description":"URL of the affiliation badge image shown on the User's profile.","nullable":true},"description":{"type":"string","description":"Description of the affiliation.","nullable":true},"url":{"type":"string","description":"URL associated with the affiliation.","nullable":true},"user_id":{"type":"array","description":"A list of unique identifiers of the accounts this User is affiliated with.","items":{"type":"string"},"nullable":true}}},"UserComplianceData":{"description":"User compliance data.","oneOf":[{"$ref":"#/components/schemas/UserProtectComplianceSchema"},{"$ref":"#/components/schemas/UserUnprotectComplianceSchema"},{"$ref":"#/components/schemas/UserDeleteComplianceSchema"},{"$ref":"#/components/schemas/UserUndeleteComplianceSchema"},{"$ref":"#/components/schemas/UserSuspendComplianceSchema"},{"$ref":"#/components/schemas/UserUnsuspendComplianceSchema"},{"$ref":"#/components/schemas/UserWithheldComplianceSchema"},{"$ref":"#/components/schemas/UserScrubGeoSchema"},{"$ref":"#/components/schemas/UserProfileModificationComplianceSchema"}]},"UserComplianceSchema":{"type":"object","required":["user","event_at"],"properties":{"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"user":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/UserId"}}}}},"UserConnectionStatus":{"type":"array","description":"Returns detailed information about the relationship between two users.","items":{"type":"string","description":"A connection between the authenticated User and this User.","enum":["blocking","follow_request_received","follow_request_sent","followed_by","following","muting"]}},"UserDeleteComplianceSchema":{"type":"object","required":["user_delete"],"properties":{"user_delete":{"$ref":"#/components/schemas/UserComplianceSchema"}}},"UserEntities":{"type":"object","description":"A list of metadata found in the User's profile description.","properties":{"description":{"type":"object","description":"Entities found in the User's bio.","properties":{"cashtags":{"type":"array","items":{"type":"object","description":"A hashtag or cashtag entity.","required":["start","end","tag"],"properties":{"end":{"type":"integer","description":"End index in the text (exclusive).","format":"int64"},"start":{"type":"integer","description":"Start index in the text (inclusive).","format":"int64"},"tag":{"type":"string"}}},"nullable":true},"hashtags":{"type":"array","items":{"type":"object","description":"A hashtag or cashtag entity.","required":["start","end","tag"],"properties":{"end":{"type":"integer","description":"End index in the text (exclusive).","format":"int64"},"start":{"type":"integer","description":"Start index in the text (inclusive).","format":"int64"},"tag":{"type":"string"}}},"nullable":true},"mentions":{"type":"array","items":{"type":"object","description":"A user mention entity.","required":["start","end","username"],"properties":{"end":{"type":"integer","format":"int64"},"id":{"type":"string","nullable":true},"start":{"type":"integer","format":"int64"},"username":{"type":"string"}}},"nullable":true},"urls":{"type":"array","items":{"type":"object","description":"A URL entity found in profile text.","required":["start","end","url"],"properties":{"description":{"type":"string","description":"Description of the linked page, when available.","nullable":true},"display_url":{"type":"string","description":"The URL as displayed in the Post text.","nullable":true},"end":{"type":"integer","format":"int64"},"expanded_url":{"type":"string","description":"The fully resolved URL.","nullable":true},"images":{"type":"array","items":{"type":"object","description":"A preview image for a linked page.","properties":{"height":{"type":"integer","format":"int64","nullable":true},"url":{"type":"string","nullable":true},"width":{"type":"integer","format":"int64","nullable":true}}},"nullable":true},"media_key":{"type":"string","nullable":true},"start":{"type":"integer","format":"int64"},"status":{"type":"integer","description":"HTTP status from resolving the URL.","format":"int64","nullable":true},"title":{"type":"string","description":"Title of the linked page, when available.","nullable":true},"unwound_url":{"type":"string","description":"The final destination after following redirects.","nullable":true},"url":{"type":"string","description":"The t.co shortened URL."}}},"nullable":true}},"nullable":true},"url":{"type":"object","description":"Entities for the User's profile website URL.","properties":{"urls":{"type":"array","items":{"type":"object","description":"A URL entity found in profile text.","required":["start","end","url"],"properties":{"description":{"type":"string","description":"Description of the linked page, when available.","nullable":true},"display_url":{"type":"string","description":"The URL as displayed in the Post text.","nullable":true},"end":{"type":"integer","format":"int64"},"expanded_url":{"type":"string","description":"The fully resolved URL.","nullable":true},"images":{"type":"array","items":{"type":"object","description":"A preview image for a linked page.","properties":{"height":{"type":"integer","format":"int64","nullable":true},"url":{"type":"string","nullable":true},"width":{"type":"integer","format":"int64","nullable":true}}},"nullable":true},"media_key":{"type":"string","nullable":true},"start":{"type":"integer","format":"int64"},"status":{"type":"integer","description":"HTTP status from resolving the URL.","format":"int64","nullable":true},"title":{"type":"string","description":"Title of the linked page, when available.","nullable":true},"unwound_url":{"type":"string","description":"The final destination after following redirects.","nullable":true},"url":{"type":"string","description":"The t.co shortened URL."}}},"nullable":true}},"nullable":true}}},"UserId":{"type":"string","description":"Unique identifier of a User","pattern":"^[0-9]{1,19}$","example":"2244994945"},"UserProfileModificationComplianceSchema":{"type":"object","required":["user_profile_modification"],"properties":{"user_profile_modification":{"$ref":"#/components/schemas/UserProfileModificationObjectSchema"}}},"UserProfileModificationObjectSchema":{"type":"object","required":["user","profile_field","new_value","event_at"],"properties":{"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"new_value":{"type":"string"},"profile_field":{"type":"string"},"user":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/UserId"}}}}},"UserProtectComplianceSchema":{"type":"object","required":["user_protect"],"properties":{"user_protect":{"$ref":"#/components/schemas/UserComplianceSchema"}}},"UserPublicMetrics":{"type":"object","description":"A list of metrics for this User.","required":["followers_count","following_count","post_count","listed_count"],"properties":{"followers_count":{"type":"integer","description":"Number of Users who follow this User.","format":"int64"},"following_count":{"type":"integer","description":"Number of Users this User follows.","format":"int64"},"like_count":{"type":"integer","description":"Number of Posts this User has liked.","format":"int64","nullable":true},"listed_count":{"type":"integer","description":"Number of Lists that include this User.","format":"int64"},"media_count":{"type":"integer","description":"Number of media items posted by this User.","format":"int64","nullable":true},"post_count":{"type":"integer","description":"Number of Posts (including Reposts) created by this User.","format":"int64"}}},"UserScrubGeoObjectSchema":{"type":"object","required":["user","up_to_tweet_id","event_at"],"properties":{"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"up_to_tweet_id":{"$ref":"#/components/schemas/PostId"},"user":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/UserId"}}}}},"UserScrubGeoSchema":{"type":"object","required":["scrub_geo"],"properties":{"scrub_geo":{"$ref":"#/components/schemas/UserScrubGeoObjectSchema"}}},"UserSubscription":{"type":"object","description":"The subscription relationship between this User and you.","required":["subscribes_to_you"],"properties":{"subscribes_to_you":{"type":"boolean","description":"Indicates if this User subscribes to you."}}},"UserSuspendComplianceSchema":{"type":"object","required":["user_suspend"],"properties":{"user_suspend":{"$ref":"#/components/schemas/UserComplianceSchema"}}},"UserTakedownComplianceSchema":{"type":"object","required":["user","withheld_in_countries","event_at"],"properties":{"event_at":{"type":"string","description":"Event time.","format":"date-time","example":"2021-07-06T18:40:40.000Z"},"user":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/components/schemas/UserId"}}},"withheld_in_countries":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/CountryCode"}}}},"UserUndeleteComplianceSchema":{"type":"object","required":["user_undelete"],"properties":{"user_undelete":{"$ref":"#/components/schemas/UserComplianceSchema"}}},"UserUnprotectComplianceSchema":{"type":"object","required":["user_unprotect"],"properties":{"user_unprotect":{"$ref":"#/components/schemas/UserComplianceSchema"}}},"UserUnsuspendComplianceSchema":{"type":"object","required":["user_unsuspend"],"properties":{"user_unsuspend":{"$ref":"#/components/schemas/UserComplianceSchema"}}},"UserWithheld":{"type":"object","description":"Withholding details for withheld content.","properties":{"country_codes":{"type":"array","description":"A list of countries (as ISO 3166-1 alpha-2 codes) where this content is withheld.","items":{"type":"string"},"nullable":true},"scope":{"type":"string","description":"The scope of the withholding. Only present, with the value \"user\", when the entire User is withheld.","enum":["user"],"nullable":true}}},"UserWithheldComplianceSchema":{"type":"object","required":["user_withheld"],"properties":{"user_withheld":{"$ref":"#/components/schemas/UserTakedownComplianceSchema"}}},"UsersIdBlockRequest":{"type":"object","required":["target_user_id"],"properties":{"target_user_id":{"type":"string","pattern":"^[0-9]{1,19}$"}},"additionalProperties":false},"UsersIdBlockResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UsersIdBlockResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UsersIdBlockResponseData":{"type":"object","required":["blocking"],"properties":{"blocking":{"type":"boolean","description":"Indicates whether the user is blocked by the source user."}}},"UsersIdUnblockResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UsersIdUnblockResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"UsersIdUnblockResponseData":{"type":"object","required":["blocking"],"properties":{"blocking":{"type":"boolean","description":"Indicates whether the source User is blocking the target User."}}},"ValidateAccountActivitySubscriptionResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ValidateAccountActivitySubscriptionResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ValidateAccountActivitySubscriptionResponseData":{"type":"object","required":["subscribed"],"properties":{"subscribed":{"type":"boolean","description":"Whether the user has an active subscription."}}},"ValidateWebhooksResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ValidateWebhooksResponseData"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Problem"}}}},"ValidateWebhooksResponseData":{"type":"object","required":["valid"],"properties":{"valid":{"type":"boolean","description":"Indicates whether the CRC validation check was triggered."}}},"WebhookConfig":{"type":"object","properties":{"created_at":{"type":"string"},"id":{"type":"string"},"url":{"type":"string"},"valid":{"type":"boolean"}}},"WebhookConfigId":{"type":"string","description":"Unique identifier of a WebhookConfig","pattern":"^[0-9]{1,19}$"},"XchatSetupRequiredProblem":{"type":"object","required":["type","title","detail"],"properties":{"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string","enum":["https://api.x.com/2/problems/xchat-setup-required"]}}}},"parameters":{"AnalyticsFieldsParameter":{"name":"analytics.fields","in":"query","description":"A comma separated list of Analytics fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Analytics object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["app_install_attempts","app_opens","bookmarks","detail_expands","email_tweet","engagements","follows","hashtag_clicks","id","impressions","likes","media_views","permalink_clicks","quote_tweets","replies","retweets","shares","timestamp","timestamped_metrics","unfollows","unlikes","url_clicks","user_profile_clicks"]}},"explode":false,"style":"form"},"BroadcastChatMessageExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["author_id"]}},"explode":false,"style":"form"},"BroadcastChatMessageFieldsParameter":{"name":"broadcast_chat_message.fields","in":"query","description":"A comma separated list of BroadcastChatMessage fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a BroadcastChatMessage object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["author_name","author_username","broadcast_id","created_at_ms","id","reply_to","text"]}},"explode":false,"style":"form"},"BroadcastChatMuteExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["user_id"]}},"explode":false,"style":"form"},"BroadcastChatMuteFieldsParameter":{"name":"broadcast_chat_mute.fields","in":"query","description":"A comma separated list of BroadcastChatMute fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a BroadcastChatMute object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["end_at_ms"]}},"explode":false,"style":"form"},"BroadcastFieldsParameter":{"name":"broadcast.fields","in":"query","description":"A comma separated list of Broadcast fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Broadcast object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["available_for_replay","broadcast_id","chat_option","created_at_ms","end_ms","height","id","image_url","image_url_medium","image_url_small","is_high_latency","language","live_category_id","media_key","scheduled_end_ms","scheduled_start_ms","share_url","source_id","start_ms","state","title","total_watched","total_watching","tweet_id","twitter_user_id","updated_at_ms","width"]}},"explode":false,"style":"form"},"CallExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["host_id"]}},"explode":false,"style":"form"},"CallFieldsParameter":{"name":"call.fields","in":"query","description":"A comma separated list of Call fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Call object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["conversation_id","created_at","id","join_policy","join_url","participant_count","title","viewer_may_join"]}},"explode":false,"style":"form"},"ChatConversationExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["admin_ids","member_ids","participant_ids"]}},"explode":false,"style":"form"},"ChatConversationFieldsParameter":{"name":"chat_conversation.fields","in":"query","description":"A comma separated list of ChatConversation fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ChatConversation object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["admin_settings","created_at","group_avatar_url","group_description","group_description_key_version","group_name","id","invite","is_archived","is_muted","last_read_event_id","message_ttl_ms","newest_event_id","pending_member_ids","screen_capture_blocking_enabled","screen_capture_detection_enabled","type","unread","updated_at"]}},"explode":false,"style":"form"},"ChatGroupInviteFieldsParameter":{"name":"chat_group_invite.fields","in":"query","description":"A comma separated list of ChatGroupInvite fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ChatGroupInvite object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["conversation_id","expires_at","group_avatar_url","group_name","invite_url","join_state","member_count","token","welcome_message"]}},"explode":false,"style":"form"},"ChatMessageEventFieldsParameter":{"name":"chat_message_event.fields","in":"query","description":"A comma separated list of ChatMessageEvent fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ChatMessageEvent object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["conversation_id","conversation_key_version","conversation_token","created_at","encoded_event","id","is_trusted","message_event_signature","previous_id","sender_id"]}},"explode":false,"style":"form"},"ChatMessageRequestDetailFieldsParameter":{"name":"chat_message_request_detail.fields","in":"query","description":"A comma separated list of ChatMessageRequestDetail fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ChatMessageRequestDetail object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["conversation_id","conversation_key_events","has_more_events","message_events","message_request_state","participant_id"]}},"explode":false,"style":"form"},"ChatMessageRequestFieldsParameter":{"name":"chat_message_request.fields","in":"query","description":"A comma separated list of ChatMessageRequest fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ChatMessageRequest object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["conversation_id","conversation_key_events","encoded_message_create_event","has_more_events","message_events","sender_id","sender_recently_modified_profile","social_proof_user_ids"]}},"explode":false,"style":"form"},"ChatPinnedMessageFieldsParameter":{"name":"chat_pinned_message.fields","in":"query","description":"A comma separated list of ChatPinnedMessage fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ChatPinnedMessage object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["encoded_event"]}},"explode":false,"style":"form"},"ChatSettingsFieldsParameter":{"name":"chat_settings.fields","in":"query","description":"A comma separated list of ChatSettings fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ChatSettings object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["allow_dms_from","always_allow_dms_from_subscribers","av_settings","dm_quality_filter","dm_receipt_settings"]}},"explode":false,"style":"form"},"CommunityFieldsParameter":{"name":"community.fields","in":"query","description":"A comma separated list of Community fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Community object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["access","created_at","description","id","join_policy","member_count","name"]}},"explode":false,"style":"form"},"ComplianceJobFieldsParameter":{"name":"compliance_job.fields","in":"query","description":"A comma separated list of ComplianceJob fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ComplianceJob object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["created_at","download_expires_at","download_url","id","name","resumable","status","type","upload_expires_at","upload_url"]}},"explode":false,"style":"form"},"ConnectionFieldsParameter":{"name":"connection.fields","in":"query","description":"A comma separated list of Connection fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Connection object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["client_ip","connected_at","disconnect_reason","disconnected_at","endpoint_name","id"]}},"explode":false,"style":"form"},"DmEventExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["attachments.media_keys","attachments.media_keys","participant_ids","referenced_posts","sender_id"]}},"explode":false,"style":"form"},"DmEventFieldsParameter":{"name":"dm_event.fields","in":"query","description":"A comma separated list of DmEvent fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a DmEvent object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["attachments","created_at","dm_conversation_id","entities","event_type","id","text"]}},"explode":false,"style":"form"},"ListExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["owner_id"]}},"explode":false,"style":"form"},"ListFieldsParameter":{"name":"list.fields","in":"query","description":"A comma separated list of List fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a List object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["created_at","description","follower_count","id","member_count","name","private"]}},"explode":false,"style":"form"},"MediaAnalyticsFieldsParameter":{"name":"media_analytics.fields","in":"query","description":"A comma separated list of MediaAnalytics fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a MediaAnalytics object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["cta_url_clicks","cta_watch_clicks","media_key","play_from_tap","playback25","playback50","playback75","playback_complete","playback_start","timestamp","timestamped_metrics","video_views","watch_time_ms"]}},"explode":false,"style":"form"},"MediaFieldsParameter":{"name":"media.fields","in":"query","description":"A comma separated list of Media fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Media object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["alt_text","duration_ms","height","media_key","non_public_metrics","organic_metrics","preview_image_url","promoted_metrics","public_metrics","revenue","type","url","variants","width"]}},"explode":false,"style":"form"},"NewsFieldsParameter":{"name":"news.fields","in":"query","description":"A comma separated list of News fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a News object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["category","cluster_posts_results","contexts","contexts","contexts","contexts","disclaimer","hook","id","keywords","name","summary","updated_at"]}},"explode":false,"style":"form"},"NoteFieldsParameter":{"name":"note.fields","in":"query","description":"A comma separated list of Note fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Note object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["id","info","scoring_status","status","test_result"]}},"explode":false,"style":"form"},"PersonalizedTrendFieldsParameter":{"name":"personalized_trend.fields","in":"query","description":"A comma separated list of PersonalizedTrend fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a PersonalizedTrend object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["category","post_count","trend_name","trending_since"]}},"explode":false,"style":"form"},"PlaceFieldsParameter":{"name":"place.fields","in":"query","description":"A comma separated list of Place fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Place object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["contained_within","country","country_code","full_name","geo","id","name","place_type"]}},"explode":false,"style":"form"},"PollFieldsParameter":{"name":"poll.fields","in":"query","description":"A comma separated list of Poll fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Poll object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["duration_minutes","end_datetime","id","options","voting_status"]}},"explode":false,"style":"form"},"PostExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article.cover_media","article.media_entities","attachments.media_keys","attachments.media_source_tweet","attachments.poll_ids","author_id","edit_history_post_ids","entities.mentions.username","geo.place_id","in_reply_to_user_id","referenced_posts","username"]}},"explode":false,"style":"form"},"PostFieldsParameter":{"name":"post.fields","in":"query","description":"A comma separated list of Post fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Post object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["article","article_title","attachments","card_uri","community_id","context_annotations","conversation_id","created_at","display_text_range","edit_controls","entities","geo","id","lang","matched_media_notes","media_metadata","non_public_metrics","note_post","note_request_suggestions","organic_metrics","paid_partnership","possibly_sensitive","promoted_metrics","public_metrics","reply_settings","scopes","source","suggested_source_links","suggested_source_links_with_counts","text","withheld"]}},"explode":false,"style":"form"},"PublicKeyFieldsParameter":{"name":"public_key.fields","in":"query","description":"A comma separated list of PublicKey fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a PublicKey object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["identity_public_key_signature","juicebox_config","public_key","public_key_version","signing_public_key","user_id"]}},"explode":false,"style":"form"},"RulesCountFieldsParameter":{"name":"rules_count.fields","in":"query","description":"A comma separated list of RulesCount fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a RulesCount object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["all_project_client_apps","cap_per_client_app","cap_per_project","client_app_rules_count","project_rules_count"]}},"explode":false,"style":"form"},"ScheduledCallExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["call_id","invitees","organizer_id"]}},"explode":false,"style":"form"},"ScheduledCallFieldsParameter":{"name":"scheduled_call.fields","in":"query","description":"A comma separated list of ScheduledCall fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a ScheduledCall object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["calendar","call_id","description","end_time","id","join_url","occurrence_start_time","recurrence","start_time","status","time_zone","title"]}},"explode":false,"style":"form"},"SpaceExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["creator_id","host_ids","invited_user_ids","speaker_ids","topic_ids"]}},"explode":false,"style":"form"},"SpaceFieldsParameter":{"name":"space.fields","in":"query","description":"A comma separated list of Space fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Space object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["created_at","ended_at","id","is_ticketed","lang","participant_count","scheduled_start","started_at","state","subscriber_count","title","updated_at"]}},"explode":false,"style":"form"},"TopicFieldsParameter":{"name":"topic.fields","in":"query","description":"A comma separated list of Topic fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Topic object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["description","id","name"]}},"explode":false,"style":"form"},"TrendFieldsParameter":{"name":"trend.fields","in":"query","description":"A comma separated list of Trend fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Trend object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["trend_name","tweet_count"]}},"explode":false,"style":"form"},"UsageFieldsParameter":{"name":"usage.fields","in":"query","description":"A comma separated list of Usage fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a Usage object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["cap_reset_day","daily_client_app_usage","daily_project_usage","project_cap","project_id","project_usage"]}},"explode":false,"style":"form"},"UserExpansionsParameter":{"name":"expansions","in":"query","description":"A comma separated list of fields to expand.","required":false,"schema":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["affiliation","most_recent_post_id","pinned_post_id"]}},"explode":false,"style":"form"},"UserFieldsParameter":{"name":"user.fields","in":"query","description":"A comma separated list of User fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a User object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["active_follower_count","confirmed_email","connection_status","created_at","description","entities","id","is_identity_verified","location","name","org_only","parody","profile_banner_url","profile_image_url","protected","public_metrics","receives_your_chat","receives_your_dm","subscriber_count","subscribes_to_you","subscription","subscription_type","url","username","verified","verified_followers_count","verified_type","withheld"]}},"explode":false,"style":"form"},"WebhookConfigFieldsParameter":{"name":"webhook_config.fields","in":"query","description":"A comma separated list of WebhookConfig fields to display.","required":false,"schema":{"type":"array","description":"The fields available for a WebhookConfig object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["created_at","id","url","valid"]}},"explode":false,"style":"form"}}}}