Skip to main content
Sobot: All-in-One Contact Center Solution | Omnichannel & AI

Welcome

The Sobot Developer Platform provides customers with application development capabilities for multiple cloud products and diverse scenarios. Through Cloud APIs, you can quickly interact with Sobots’s cloud products with minimal code, enhancing efficiency for frequently used functions. You can also combine Cloud APIs to implement more advanced functionalities. Products include: CRM, Basic Agent Data, Text, Voice, Work Orders, Quality Assurance, Message Center, Mall Center, Zhike, etc. Sobot and Updates.

Sobot Developer Platform

View the OpenAPI specification file

Authentication

● Token Guide

The “token” param must be contained in the header of the https request when calling the API.
Token is the only global API call credential for the Sobot API open platform. It is used when developers call the business APIs and thus should be properly kept. At least 32 chars should be reserved to store token. The validity period of token is currently 24 hours. It needs to be refreshed regularly or reacquired according to the token failure prompt returned by the API. When requesting the token API, regardless of the existence of token, a new token will be returned and its expiry time will be reset (currently 24 hours). Token usage description:
  1. Developers need to obtain and manage the token uniformly. When calling the Sobot open APIs of various business, they should use the same token, instead of refreshing and obtaining new tokens for each business. Otherwise, it will easily lead to token invalidation and affect the normal API call.
  2. The current validity period of the token is transmitted by the returned expire_in, which is currently a value within 86,400 s. Developers need to refresh the new token in advance based on this valid time.
  3. Developers should reacquire the token according to the token invalidation prompt returned by the API.

● Get Token

API Description: Get the open API token, which is only applicable to all APIs of Sobot Open Platform v5.0. Contact the Sobot after-sales service personnel to get appid and app_key in the API. Request Method: GET Request URL:
Request Param: Request Example:
Return Param: Item Object:
Timestamp conversion tool:https://www.unixtimestamp.com/sign Signature generation example:E.g., appid = “1”; create_time=“1569397773”; app_key=“2”sign = Md5(“115693977732”) is 258eec3118705112b2c53dc8043d4d34.
Return Example:

Obtain Basic Data

Basic data as input parameters for other interfaces

● Query Time Zone

API Description: Search all time zones Request URL: GET Request URL:
Request Param: Request Example:
Return Param: Items set: Return Example:

● Multiple Languages

API description: Search all languages Request URL: GET Request URL:
Request Param: Request Example:
Return Param: Items set: Return Example:
● Search Country
API Description: Search all countries Request method: GET Request URL:
Request Param: Request Example:
Return param: Items set: Return Example: