create_survey_invitation
Create a token-auth survey invitation for a specific member/account or contact.
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": {
"surveyId": "<surveyId>"
},
"name": "create_survey_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Intended channel, e.g. email, sms, whatsapp, link | |
| metadata | No | Optional invitation metadata | |
| surveyId | Yes | Survey ID | |
| accountId | No | CRM account ID to invite | |
| contactId | No | Contact ID to invite | |
| expiresAt | No | Optional invitation expiry ISO datetime | |
| recipientName | No | Recipient display name for link tracking | |
| recipientEmail | No | Recipient email for link tracking | |
| recipientPhone | No | Recipient phone for link tracking |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |