Skip to main content
The Connectors API distinguishes two concepts:
  • Connector (connector_id) — A supported catalog service (github, notion, google-drive, getty, s3, or social platforms such as youtube, instagram, tiktok, x, linkedin). Returned by GET /connectors with its auth method (oauth or credentials), exact input_schema, and permission_options.
  • Connection (id) — A specific authenticated account connected to your workspace (UUID, returned by GET /connections). Pass connection ids—not connector_ids—when scoping a Project (connectors: [{ id, actions }]) or drafting a Social post (connection_id).
Required scopes: motion:connectors:read to discover connectors and list/read connections; motion:connectors:write to connect or disconnect accounts.

Authentication models & project scoping

  • OAuth connectors (github, notion, google-drive, and social platforms): POST /connections returns status: "pending_authorization" and an authorization_url for a user to approve in a browser.
  • Credential connectors (getty, s3): POST /connections verifies submitted credentials immediately and returns status: "connected". Secrets are encrypted at rest and never returned.
  • Project scoping: On POST /projects or POST /projects/{id}/messages, omit connectors to keep the current selection, pass [{ "id": "CONNECTION_UUID", "actions": [...] }] to restrict to specific accounts/actions, or pass [] to disable all connectors.

The Connection object

string
Unique UUID of the connected workspace account. Pass as connectors[].id on POST /projects or connection_id on POST /social/posts.
enum
Catalog service identifier (github, notion, google-drive, getty, s3, tiktok, youtube, instagram, facebook, x, threads, linkedin, reddit, mastodon, bluesky, snapchat).
enum
Always "organization"—connections belong to the credential’s organization and workspace.
enum
Always "private".
enum
Verification state: connected (verified and ready), unverified (not yet checked), or needs_attention (reauthorization or credential update needed).
boolean
true when the connection is verified and permitted for use by this credential.
object
Map of action IDs to booleans showing which actions are currently authorized. Project-level actions can narrow from this set.
object[]
Supported action descriptors for this connector, each containing id, label, and write.

Endpoints