GET
/
2
/
compliance
/
jobs
curl --request GET \
  --url https://api.twitter.com/2/compliance/jobs \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "created_at": "2021-01-06T18:40:40.000Z",
      "download_expires_at": "2021-01-06T18:40:40.000Z",
      "download_url": "<string>",
      "id": "1372966999991541762",
      "name": "my-job",
      "status": "created",
      "type": "tweets",
      "upload_expires_at": "2021-01-06T18:40:40.000Z",
      "upload_url": "<string>"
    }
  ],
  "errors": [
    {
      "detail": "<string>",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ],
  "meta": {
    "result_count": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

type
enum<string>
required

Type of Compliance Job to list.

Available options:
tweets,
users
status
enum<string>

Status of Compliance Job to list.

Available options:
created,
in_progress,
failed,
complete
compliance_job.fields
enum<string>[]

A comma separated list of ComplianceJob fields to display.

Available options:
created_at,
download_expires_at,
download_url,
id,
name,
resumable,
status,
type,
upload_expires_at,
upload_url
Example:
[
  "created_at",
  "download_expires_at",
  "download_url",
  "id",
  "name",
  "resumable",
  "status",
  "type",
  "upload_expires_at",
  "upload_url"
]

Response

200
application/json
The request has succeeded.
data
object[]
errors
object[]

An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).

meta
object