Authentication

With exception to the Management Endpoints, all endpoints are secured via HTTP Basic Authentication over a Secure HTTP (HTTPS) communication. The NurtureCloud team will provide you with a pair of tokens (CLIENT_ID and CLIENT_SECRET) that can be used to perform the request.

The command below triggers a full re-sync of all contacts since 2021-01-01.

TOKEN=`printf "${CLIENT_ID}:${CLIENT_SECRET}" | base64`
curl \
  --location --request POST 'https://${NURTURE_CLOUD_HOST}/business/${BUSINESS_ID}/contact/sync-all?since=2021-01-01' \
  --header 'Authorization: Basic ${TOKEN}'