curl --request POST \
--url https://apigcp.trynia.ai/v2/x/installations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"bearer_token": "<string>",
"display_name": "<string>",
"max_results": 500,
"include_replies": false,
"include_retweets": false
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request POST \
--url https://apigcp.trynia.ai/v2/x/installations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"bearer_token": "<string>",
"display_name": "<string>",
"max_results": 500,
"include_replies": false,
"include_retweets": false
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API key must be provided in the Authorization header
X username to index (with or without @)
X API bearer token
10Optional custom display name for this source
120Maximum number of recent posts to index
1 <= x <= 10000Whether replies should be indexed
Whether reposts/retweets should be indexed
Successful Response
Was this page helpful?