Assist - Integration

Authenticating an Agent

POST /v2/assist/authenticate

Used on load of the Sense page to gain an access_token for the Javascript to load.

Body

Name
Type
Description

api_key

string

Account API Key

agent_id

int

View API Agents

Response

{
    "access_token": "",
    "expires_at": "2029-01-01T18:39:59.707469Z"
}

HTML Setup

divs
assist_client_name
assist_client_email_address
assist_client_phone_number
assist_client_location
assist_client_date_of_birth
assist_client_created_at
assist_client_source
assist_client_holder
assist_client_tags
assist_buttons
assist_response_loading [innerHTML required]
assist_response
assist_mistakes
assist_actions

products
assist_product_calls
assist_product_communication
assist_recent_communication

modal
assist_modal
assist_modal_title
assist_modal_body
assist_modal_alert
assist_modal_label_subject
assist_modal_textarea_subject
assist_modal_label
assist_modal_textarea
assist_modal_templates
assist_modal_buttons
assist_modal_footer
assist_modal_send

textareas
assist_jotter

inputs
assist_ask_input

buttons
assist_ask_button

Javascript Setup

Param
Description

accessToken

Provided by

jotter

eg: Previous jotter notes saved

details[unique_id]

Used by CRMs for Sync

details[ip_address]

eg: 123.456.789.0

details[name]

eg: John Doe

details[email_address]

details[phone_number]

eg: +447377357971

details[date_of_birth]

eg: 01/05/2000

details[location]

eg: Cardiff, United Kingdom

details[biography]

Summary of the Customer

details[tags]

eg: vip,member,business

Last updated