Skip to main content
POST
Call connections.sync_crm

Authorizations

Authorization
string
header
required

An API key minted at Settings › API & MCP. Send it as Authorization: Bearer <key>. A key carries its holder's own permissions, resolved on every call — revoking a membership closes the key's reach immediately. Keep it in an environment variable (GOOSY_API_KEY), never in a committed file.

Headers

x-request-id
string

Your own id for this request, echoed back and recorded on the audit trail. 1–128 characters from A–Z a–z 0–9 . _ : -, starting with a letter or digit; anything else is replaced by a generated id.

Maximum string length: 128

Body

application/json
workspace
string

Which workspace to run in — its slug. Omit to use your default. With more than one reachable workspace and no default, the call is refused and the choices are listed.

Minimum string length: 1

Response

The call was admitted and dispatched. ok says whether the tool succeeded — a refusal the tool itself produced is still a 200, exactly as it is a successful JSON-RPC result over MCP.

The tool ran and answered.

ok
boolean
required
run_id
string | null
required

The newest sync run's id; null when none has run.

crm
enum<string>
required

connected: the CRM is usable; disconnected: it was connected and is not now; none: no CRM.

Available options:
connected,
disconnected,
none
crm_name
string
required

What the member calls the CRM.

running
boolean
required

Whether a sync, move or disconnect is queued or running.

mode
enum<string> | null
required

What the newest run does: sync brings contacts in; move also moves sending to Goosy; sync_then_disconnect disconnects the CRM after the sync. Null when none ran.

Available options:
sync,
move,
sync_then_disconnect
phase
enum<string> | null
required

Where the newest run stands: contacts (bringing them in), senders (moving sending), automations (counting what uses the new defaults), disconnect, or done.

Available options:
contacts,
senders,
automations,
disconnect,
done
contacts_read
number
required

Contacts read by the run so far.

contacts_new
number
required

Of those, new to Goosy.

contacts_matched
number
required

Of those, already in Goosy and matched.

crm_contact_total
number | null
required

How many contacts the CRM says it has; null when unknown.

last_full_sync_at
string | null
required

When a sync last read every contact; null when never.

settled_at
string | null
required

When the newest run finished; null while running.

failure
string | null
required

Why the newest run stopped, in the member's words; null when it did not.

sends_from_goosy_since
string | null
required

When the brand moved to Goosy sending; null when it has not.

result
object
required

What a finished move or disconnect did, by step: move_senders (the senders retired and the default email address), count_automations (sending and texting automations), disconnect (its outcome message).

workspace
string
required

The slug of the workspace this call ran in.

working_in
object
required

Which workspace this call ran in, and how that was decided. Present on every workspace-scoped result.