Starts a new chat thread (LinkedIn, WhatsApp, etc.) with one or more attendees from a connected account and sends the first message. This delivers a real message as a side effect.
apiKeyAuth API key authentication. Create an API key in your user profile and include it in the x-api-key header.
In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuid1 <= itemslength <= 20000Optional display name for the new chat (group chats)
length <= 998LinkedIn only: which product to send from. classic (default), sales_navigator or recruiter start the chat from that product's inbox; the two latter send an InMail and require inmailSubject (recruiter also inmailSignature)
"classic" | "sales_navigator" | "recruiter"LinkedIn classic only: send as InMail to message people outside your network (uses InMail credit)
Subject line of the InMail. Required for sales_navigator and recruiter
length <= 998Sender signature. Required for recruiter
length <= 998items <= 20application/json
application/json
application/json
application/json
application/json
curl -X POST "https://customermates.com/api/v1/messaging/start-chat" \ -H "Content-Type: application/json" \ -d '{ "connectedAccountId": "ac03972a-5ca5-43c5-b96f-c519ac843b7a", "attendeeIdentifiers": [ "string" ], "text": "string" }'{
"threadId": "51f72284-0555-48fe-a20a-4369ee94dc3e"
}"string""string""string""string"