create lead event by service
Deprecated
POST /api/v1/lead_events/{service}/create
POST
/api/v1/lead_events/{service}/create
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” service
required
string
External Service (e.g., impel)
Query Parameters
Section titled “Query Parameters ” data
object
leadId
required
integer
messageDetail
required
object
contactType
string
description
string
sentDate
string
sentBy
string
linkStopCommunication
string
linkReplyAsAssistant
string
Example
{ "leadId": 123456, "messageDetail": { "contactType": "SMS", "description": "Hello, my name is .........", "sentDate": "2023-08-18T10:39:00.000", "sentBy": "Client", "linkStopCommunication": "https://unsubscribe.impel.io/conversation", "linkReplyAsAssistant": "https://assistant.impel.io/conversation" }}Responses
Section titled “ Responses ”Successful lead event creation by service
Unauthorised with other permission
No lead found