Get Consent Proof
get_consent_proofRead the consent proof for one phone number at a business: for service texts, marketing texts, calls and WhatsApp, the current status, when consent was given or taken back, how (web form, keyword, call, manual, API), the exact wording shown, and the stored proof (form page, form time, submission id), plus up to 50 history entries, newest first. Use it to answer a carrier or customer asking how someone opted in. IP addresses are never returned. found false means no consent record exists for that number. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"business_id": "<business_id>",
"phone": "<phone>"
},
"name": "get_consent_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Phone number, E.164 preferred (+15551234567). | |
| business_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| found | No | ||
| history | No | ||
| success | Yes | Whether the tool completed successfully | |
| channels | No | ||
| phone_number | No | ||
| history_truncated | No |