PrerequisitesBefore you begin, you’ll need:
- A developer account with an approved App
- Your App’s Bearer Token
Create a job
Create a new compliance job specifying the type (tweets or users):Response:Save the
- cURL
- Python
upload_url and download_url for the next steps.Prepare your data file
Create a text file with one ID per line:Save as
ids.txt.Upload your data
Upload the file to the provided
upload_url:Check job status
Poll the job status until it’s complete:Job statuses:
Download results
Once status is Result format (one JSON object per line):Only IDs with compliance events appear in the results. IDs not in the results are still valid.
complete, download from the download_url:Compliance actions
Post compliance events
Post compliance events
User compliance events
User compliance events
List all jobs
Get all compliance jobs for your App:Next steps
Integration guide
Key concepts and best practices
Compliance streams
Real-time compliance events
API Reference
Full endpoint documentation