Create new chat

This method allows you to create a chat before sending the first message.

Path Params
string
required

You got the scope_id as a part of response in Step 2

Body Params
string
required

Chat ID on the integration side (your integration should generate it, it can be a phone number, a username)

source
object
user
object
string
Headers
string
required

Date and time when the request was generated. The signature will be valid for 15 minutes from this Date. The date should be in the format “Thu, 01 Jan 2023 12:00:00 +0000” (RFC2822)

string
enum
required
Defaults to application/json

Request data type. Currently, only application/json is supported.

Allowed:
string
required

For the request body

string
required

Signature of the request as a string.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json