5min
|
Updated 20 May 2020
Print

Omoto CRM API

Introduction

The CRM API offers a standard way to push CRM data from any third party CRM or customer platform into Omoto.

Omoto consumes the customer data sent in each trigger and, after performing basic validation and executing business rules, sends out the relevant survey invite to the customer.

We appreciate that every CRM would have their own API structure, and therefore this document standardises the JSON structure in which Omoto can consume data from any third party CRM.

API Definition

The API is made available on a custom end-point that follows the below structure. The customer contact and qualifying information is sent as JSON payload in the body of the POST request. The JSON structure is also shared below.

Get a cake by its ID
GET
Code examples
Params
JavaScript
200

JSON payload to be sent in the POST request body

Document image
JSON structure with explanation

Sample JSON

JavaScript
Important notes
1. Set content-type to 'application/json'. 2. API keys are used for both authentication and campaign identification. Make sure you use the right API key for the right campaign. 3. Omoto sends out the survey invite immediately after receiving the trigger. Scheduling and timing must be managed your end - trigger when invite has to be sent.