Generate the SDK token
Partners
Generate the SDK token
Generates a session token to open the Connection SDK in the frontend
GET
Generate the SDK token
Concept
This method generates a session token for the Connection SDK. Your backend calls this endpoint with your Client-Token and returns the resultingtoken to the frontend, which uses it in ZAPIConnector.open({ token }).
Full implementation guide: Connection SDK.
Attributes
Header
Your instance ID. Available in the Z-API panel under Instances.
Your Z-API instance token.
Response
200
Session token to use in
ZAPIConnector.open({ token }) on the frontend