GET
/
2
/
likes
/
compliance
/
stream
curl --request GET \
  --url https://api.x.com/2/likes/compliance/stream \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "delete": {
      "event_at": "2021-07-06T18:40:40.000Z",
      "favorite": {
        "id": "1346889436626259968",
        "user_id": "2244994945"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

backfill_minutes
integer

The number of minutes of backfill requested.

Required range: 0 < x < 5
start_time
string

YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp from which the Likes Compliance events will be provided.

end_time
string

YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp from which the Likes Compliance events will be provided.

Response

200
application/json
The request has succeeded.

Likes compliance stream events.

data
object
required