curl --request POST \
--url https://api.goyappr.com/tools \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "Capture Lead",
"type": "webhook",
"config": {
"url": "<string>",
"method": "POST",
"headers": {},
"payload_config": {
"include_standard_metadata": true,
"static_parameters": [
{
"name": "<string>",
"value": "<unknown>"
}
],
"extraction_parameters": [
{
"name": "callerName",
"description": "The caller's full name"
}
]
}
},
"description": "<string>",
"idempotency_key": "<string>"
}
EOF