Help Centre

<

Home
Syncing customers to Salesfire

Use the API instructions to instantly sync your customers from other platforms to Salesfire.

The following information may be useful for your developer to assist with syncing Email and SMS data from your chosen platform and connecting this to Salesfire.

Within the Audiences tab of your Salesfire dashboard you will find the Segments & Lists tab.

Follow the API Instructions button to begin the steps in the flight out modal to sync your customers into the Salesfire platform.

How to sync customers through the Salesfire dashboard using the api instructions

A list must be selected from the List dropdown. Once selected the list API URL will appear: example
https://api.salesfire.co.uk/client/{site}/customers/{list}

It is important that an X-Signature is added to the header, this allow Salesfire to verify the authenticity of the request.

This value will need to be a HMAC-SHA-256 hash of the body using the secret as the key. The Secret can be found below the X-Signature section in the flight out modal.

The data in the request will appear as follows:

{
  "email": "test@salesfire.com",
  "mobile_number": "123456789",
  "types": [
    "MARKETING",
    "TRANSACTIONAL"
  ],
    "channels": [
    "EMAIL",
    "SMS"
  ],
  "update_existing": true
}

Please note, there is a validation error messages to prompt if the data structure is invalid.

Validation

  • email or mobile_number must exist within the data.
  • The types are case sensitive so they must be uppercase. You can only choose from MARKETING and TRANSACTIONAL.
  • The channel is case sensitive so they must be uppercase. You can only choose from EMAIL and SMS.
  • update_existing setting this to true skips the existing profile.