Salesforce

Get Salesforce Authorization URL

get
Query parameters
company_idintegerRequired

The ID of the company for which the authorization URL is requested

Responses
get
/salesforce
200

Successfully retrieved the authorization URL.

Remove Connected Salesforce Account

delete
Query parameters
company_idintegerRequired

The ID of the company for which the Salesforce account should be removed

Responses
delete
/salesforce
200

Successfully removed the connected Salesforce account.

Get Salesforce Access Token

get
Query parameters
company_idintegerRequired

The ID of the company for which the token is requested

auth_tokenstringRequired

The authorization token received from Salesforce

Responses
get
/salesforce/token
200

Successfully retrieved the Salesforce token.

Get Salesforce Connected Account Status

get
Query parameters
company_idintegerRequired

The ID of the company for which the connected account status is requested

Responses
get
/salesforce/status
200

Successfully retrieved the connected account status.

Export Contacts to Salesforce

put
Body
company_idintegerRequired

The ID of the company

lead_idsinteger[]Optional

Optional list of lead IDs to export

Responses
put
/salesforce/contacts
200

Successfully exported contacts to Salesforce.

Export Single Contact to Salesforce

put
Body
company_idintegerRequired

The ID of the company

lead_idintegerRequired

ID of the lead to export

Responses
put
/salesforce/single/contact
200

Successfully exported single contact to Salesforce.

Update Salesforce Configuration

put
Body
company_idintegerRequired

The ID of the company

auto_syncbooleanOptional

Whether to enable auto-sync

lead_statusstringOptional

Default lead status to assign

Responses
put
/salesforce/config
200

Successfully updated Salesforce configuration.

Last updated