Skip to main content
POST
Recent Tweets

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
profile_handle
string
required

Twitter handle to fetch recent tweets from.

Example:

"dharmesh"

recent_tweets_count
string
required

Number of recent tweets to fetch.

Example:

"10"

Response

200 - application/json

Recent tweets from the specified handle

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action