Affiliates
Accounts affiliated with an organization, as in the Affiliates tab of its profile.
Paginated: pass the bottom cursor of one page as cursor to get the next. Each page is one billed call.
Reference: https://www.twittrapi.com/docs/reference/user-userid-affiliates
Request
- Base URL: https://api.twittrapi.com
- URL: https://api.twittrapi.com/user/{userId}/affiliates
- Auth: API key in header X-API-KEY
Path parameters
Numeric user ID (digits only, up to 30). To pass a handle instead, use -1 here and set username.
Query parameters
Handle, with or without @. When set, it is used instead of userId: the API looks up the ID first, which makes the call a little slower. Still one billed call.
Number of users to ask X for, 1 to 100. Other values fall back to 20. X treats it as a hint.
Bottom cursor from the previous page. Leave it out for the first page. See Pagination.
raw (default): X's JSON passed through. simple: flat camelCase JSON with a fixed schema and a {data, nextCursor, previousCursor, hasNextPage} envelope. Same price. The header X-Response-Format: simple does the same.
Response
Raw JSON of X's UserBusinessProfileTeamTimeline query. Empty for accounts without affiliates.
With format=simple: Collection of User objects: {data: [User], nextCursor, previousCursor, hasNextPage}.
Changes
No recorded changes to this operation across all 1 revision of this API.