Skip to main content
POST
/
v2
/
send-contacts-to-crms
Send Contacts to CRMs
curl --request POST \
  --url https://app.closerx.ai/api/v2/send-contacts-to-crms/ \
  --header 'Company-Name: <company-name>' \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "is_salesforce_to_ghl_task": true,
  "is_ghl_to_salesforce": true
}
'
{
  "success": true,
  "errors": [],
  "response": {
    "status": "Salesforce → GHL task started."
  },
  "message": "Export task has been started."
}

Authorizations

api_key
string
header
required

Headers

Company-Name
string
required

Schema name for multi-tenancy

Body

application/json
is_salesforce_to_ghl_task
boolean
required

Flag to start the Salesforce to GHL export task

Example:

true

ghl_to_salesforce
boolean

Flag to start the GHL to Salesforce export task

Example:

false

Response

Export task started successfully

success
boolean
Example:

true

errors
string[]

List of any errors encountered during the task start

Example:
[]
response
object
message
string

General message about the request

Example:

"Export task has been started."