{
"id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"agency_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact": {
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"email": "<string>"
},
"type": "enquiry.opted_out",
"data": {
"opted_out_at": "2023-11-07T05:31:56Z",
"keyword": "<string>"
},
"contact_external_id": "<string>",
"source": "<string>",
"enquiry_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"enquiry_external_id": "<string>",
"viewing_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"viewing_external_id": "<string>",
"branch_code": "<string>",
"property": {
"ref": "<string>",
"address": "<string>",
"development": {
"ref": "<string>",
"name": "<string>"
}
}
}Events
Enquiry opted out
The person asked us to stop.
The body’s type is enquiry.opted_out.
WEBHOOK
enquiry.opted_out
{
"id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"agency_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact": {
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"email": "<string>"
},
"type": "enquiry.opted_out",
"data": {
"opted_out_at": "2023-11-07T05:31:56Z",
"keyword": "<string>"
},
"contact_external_id": "<string>",
"source": "<string>",
"enquiry_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"enquiry_external_id": "<string>",
"viewing_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"viewing_external_id": "<string>",
"branch_code": "<string>",
"property": {
"ref": "<string>",
"address": "<string>",
"development": {
"ref": "<string>",
"name": "<string>"
}
}
}Headers
Body
application/json
The person asked us to stop.
Response
200 - application/json
Any 2xx means delivered. Acknowledge first, process afterwards.