This event is triggered when a Lead is added in Partoo Database.
The event payload contains the event type and the lead contents.
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
lead_received Show child attributes
The identifier for the webhook configuration.
1
The source of the lead, how we retrieved it.
"chatbot"
An ISO 8601 date-time string representing the webhook creation date.
"2024-11-27T16:10:44.929678Z"
The identifier of the chatbot that collected the lead
1
Name of the chatbot that collected the lead
"Jim"
Name of the business related to the lead
"Partoo"
Store code of the business related to the lead
"Partoo123"
Show child attributes
1
The lead field type. OPT-IN type is a BOOLEAN type
TEXT, NUMBER, EMAIL, PHONE_NUMBER, BOOLEAN, OPT_IN "TEXT"
name of the field collected
"Your firstname"
value of the field corresponding to the lead
"John"
Return a 200 status to indicate that the event was properly received
Was this page helpful?