X API
Get notifications
get/x/notifications
Query parameters
type'All' | 'Verified' | 'Mentions'
Notification type filter
cursorstring
Pagination cursor for notifications
Response
List of notifications
Example response
{
"notifications": [
{
"id": "1234567890",
"type": "like",
"message": "elonmusk liked your tweet"
}
],
"has_next_page": true,
"next_cursor": "DAACCgACGRElMJcAAA"
}