GET /2/insights/28hr
Retrieves engagement metrics for specified Posts over the last 28 hours.
Servers
- https://api.x.com
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
requested_metrics[] |
Array | Yes |
request metrics for historical request. |
tweet_ids[] |
Array | Yes |
List of PostIds for 28hr metrics. |
engagement.fields[] |
Array | No |
A comma separated list of Engagement fields to display. |
granularity |
String | Yes |
granularity of metrics response. Valid values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.