Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Go to Haptik Website
  • Contact Us
  • Home

User APIs

Written by Medha Anand

Updated on December 13th, 2021

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Build Deploy Analyse Manage Account Bot Deactivation
  • Bot Building
    Essentials Smart Skills Steps User Messages Bot Responses Entities Connections Customisations User feedback collection Testing Whatsapp Bots NLU Bot Maintenance
  • Smart Agent Chat
    Set up Admin Settings MyChats Section (Agent Inbox) Live Traffic Section Teams Section Archives Section Analytics Plans on Smart Agent Chat
  • Conversation Design
    Design Basics Design Guides Designing for Platforms Designing WhatsApp Bots
  • Developer Guides
    Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
  • Deployment
    Web SDK WhatsApp Facebook Instagram Sunshine Conversation LINE Google Business Messages Telegram MS Teams Bot as an API iOS SDK Android SDK
  • External Agent Tool Setup
    Zendesk Chat Salesforce Service Cloud Freshchat Zoho NICE CXOne Gorgias
  • Analytics & Reporting
    Intelligent Analytics
  • Notifications
    SMS Notifications Success Measurement
  • Commerce Plus
    Catalog Integration Bot Building Guide Channel Deployments Unified ML Pipeline Documentation
  • Troubleshooting Guides
    Error Messages FAQs
  • Release Notes
+ More

Table of Contents

[HOOK] Create user[API] Get user[API] Get user details

[HOOK] Create user

If supported by the ECT, the create user API allows the creation of a new user (case, etc.) in the ECT. This is to facilitate easy mapping of user IDs etc between a third party middleware (FB, WA, etc.), the ECT, and Haptik.


Endpoint



type
POST
required
false
provider
ECT (via register_webhook)
caller
TRACT
url
registered_webhooks[user_events][create_user]
encoding
application/json


Request

parameter type required description
user_id str true User ID within Haptik
third_party_user_id str false User ID on a third party / social platform (eg: FB/WA)
user_name str false User's name
device_platform str false User's device platform
details_available List[dict] false List of additional details available on request. Varies per user.


Response

parameter type required description
success bool true Acknowledgment from ECT
ect_user_id str false User ID in the ECT


[API] Get user

In case user messages are received before the user creation event is triggered, ECT can call this endpoint to fetch the user.


Endpoint



type
POST
required
false
provider
TRACT
caller
ECT
url
/tract/user/
encoding
application/json


Request

parameter type required description
user_id str true User ID within Haptik (available with the message received)


Response

parameter type required description
user_id str true User ID within Haptik
third_party_user_id str false User ID on a third party / social platform (eg: FB/WA)
user_name str false User's name
device_platform str false User's device platform
details_available List[str] false List of additional details available on request


[API] Get user details

Additional user details that are not provided as part of the base user information can be fetched using this endpoint.


Endpoint



type
POST
required
false
provider
TRACT
caller
ECT
url
/tract/user/details/
encoding
application/json


Request

parameter type required description
user_id str true User ID within Haptik
details_requested List[str] true List of additional details requested. See response of /tract/user API above to determine available details that can be fetched.


Response

parameter type required description
user_id str true User ID within Haptik
details dict true Additional details in a JSON format

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Management APIs
  • Appendix
  • Thread control (TC)
  • Introduction to ECT

Platform

  • Conversation Studio
  • Smart Skills
  • Advanced NLU
  • Intelligent Analytics
  • Omnichannel
  • Smart Agent Chat
  • Enterprise Security
  • Integrations

Solutions

  • Conversational Commerce
  • Lead Generation
  • Customer Care
  • WhatsApp
  • Conversational IVR
  • Google Business Messages

Industries

  • Retail/ E-Commerce
  • Financial Services
  • Travel & Hospitality
  • Telecom

Knowledge

  • ROI Calculator
  • Reports & Research
  • Case Studies
  • Webinars
  • ISAT
  • Tech Blog
  • Business Blog
  • Resources
  • Haptik v/s Yellow
  • Haptik v/s Liveperson
  • Haptik v/s IBM Watson
  • Haptik v/s Verloop
  • Conversations on AI

Company

  • Why Haptik
  • About Us
  • Careers
  • News & Media
  • Awards & Recognition
  • Contact Us
  • Partnerships
  • Investor Relations

Subscribe

Sign up to recieve the latest updates

Find us on

  • Twitter-footer
  • Linkedin-footer
  • YT-footer
  • Insta-footer
  • G2-footer
  • Facebook-footer

Knowledge Base Software powered by Helpjuice

Copyright © jio Haptik Technology Limited 2021 | Data Security & Privacy Policy | GDPR

North America | Asia Pacific | Africa | enterprise@haptik.ai

Definition by Author

0
0