Twitter Current
Twitter Current is an API connector for the current Twitter/X API used to access and manage social posts, accounts, and related platform data.
- Base URL:
https://api.twitter.com - Auth:
bearer(pass your key via theapiKeyinput)
Operations
listbatchcompliancejobs— GET /2/compliance/jobs — List Compliance Jobsgetbatchcompliancejob— GET /2/compliance/jobs/{id} — Get Compliance Jobgetdmconversationswithparticipantiddmevents— GET /2/dm_conversations/with/{participant_id}/dm_events — Get DM Events for a DM Conversationgetdmconversationsiddmevents— GET /2/dm_conversations/{id}/dm_events — Get DM Events for a DM Conversationgetdmevents— GET /2/dm_events — Get recent DM Eventslistidget— GET /2/lists/{id} — List lookup by List ID.
Inputs
apiKey— your twitter-current API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: listbatchcompliancejobs
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: listbatchcompliancejobs, getbatchcompliancejob, getdmconversationswithparticipantiddmevents, getdmconversationsiddmevents, getdmevents, listidget |
id |
string | no | — | Path parameter id (required by some operations). |
participant_id |
string | no | — | Path parameter participant_id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |