autessa.connectors.twitter
6 methods in the connectors.twitter namespace.
autessa.connectors.twitter.allREAD
autessa.connectors.twitter.all({ pageSize, pageToken })List every X/Twitter connector you can access in your current company.
List every X/Twitter connector you can access in your current company. Takes no arguments and returns each connector you have at least READ access to. Use a connector's connectorId with the other Twitter/X connector methods. Stored credentials are never included.
Request fields
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
connectors- Type
- TwitterConnectorDto[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.connectors.twitter.deleteMUTATE
autessa.connectors.twitter.delete({ connectorId })Delete an X/Twitter connector entirely.
Delete an X/Twitter connector entirely. Removes the connector for connectorId along with its dependent AutessaDB tweets table, revoking every tool and script that relied on it and discarding its stored drafts and tweets. Reconnecting requires the full OAuth flow again. Restricted to the connector's owner. High-risk and irreversible.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
message- Type
- string
- Description
autessa.connectors.twitter.getREAD
autessa.connectors.twitter.get({ connectorId })Fetch one X/Twitter connector by id.
Fetch one X/Twitter connector by id. Returns the full connector for connectorId — including the linked X/Twitter account and its sharing and active state — but never the stored credential. Fails if you lack READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
connector- Type
- TwitterConnectorDto
- Description
autessa.connectors.twitter.getSharingDetailsREAD
autessa.connectors.twitter.getSharingDetails({ connectorId })Read the current sharing configuration of an X/Twitter connector.
Read the current sharing configuration of an X/Twitter connector. Returns how the connector is shared — the overall sharingLevel, the companyPermissionLevel granted for COMPANY sharing, the explicit sharedWith members, and your own userAccessLevel. Use it before share to see the current state. Requires at least READ access.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
sharingLevel- Type
- "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
- Description
- Name
companyPermissionLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
- Name
sharedWith- Type
- UserShareWrapper[]
- Description
- Name
userAccessLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
autessa.connectors.twitter.updateMUTATE
autessa.connectors.twitter.update({ connectorId, connectorName, isActive })Rename an X/Twitter connector or toggle whether it is active.
Rename an X/Twitter connector or toggle whether it is active. Applies a sparse patch to the connector for connectorId — send connectorName to rename it, send isActive to enable or disable it. Omit a field to leave it unchanged. Does not touch the stored credential or sharing. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
connectorName- Type
- string
- Description
- Name
isActive- Type
- boolean
- Description
Response fields
- Name
message- Type
- string
- Description
- Name
connector- Type
- TwitterConnectorDto
- Description