curl --request POST \
--url https://api.comm.com/api/v1/voice/agents/lead-submitter/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"url": "<string>",
"method": "POST",
"transcript_as_text": true,
"field_aliases": [
"<string>"
],
"call_outcomes": [
"interested"
],
"tags_on_complete": [
"<string>"
],
"headers": [
{
"key": "<string>",
"value": "<string>"
}
],
"additional_data": [
{
"key": "<string>",
"value": "<string>"
}
]
}'
{
"data": {
"url": "<string>",
"enabled": false,
"method": "POST",
"headers": [
{
"key": "<string>",
"value": "<string>"
}
],
"call_outcomes": [
"<string>"
],
"tags_on_complete": [
"<string>"
],
"transcript_as_text": false,
"field_aliases": [
"<string>"
],
"additional_data": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}
curl --request POST \
--url https://api.comm.com/api/v1/voice/agents/lead-submitter/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"url": "<string>",
"method": "POST",
"transcript_as_text": true,
"field_aliases": [
"<string>"
],
"call_outcomes": [
"interested"
],
"tags_on_complete": [
"<string>"
],
"headers": [
{
"key": "<string>",
"value": "<string>"
}
],
"additional_data": [
{
"key": "<string>",
"value": "<string>"
}
]
}'
{
"data": {
"url": "<string>",
"enabled": false,
"method": "POST",
"headers": [
{
"key": "<string>",
"value": "<string>"
}
],
"call_outcomes": [
"<string>"
],
"tags_on_complete": [
"<string>"
],
"transcript_as_text": false,
"field_aliases": [
"<string>"
],
"additional_data": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
LeadSubmitterData
The response is of type object
.