curl --request POST \
--url https://prod-contactswing-fastapi-962560522883.us-central1.run.app/v2/_actions \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"type": "<string>",
"is_active": true,
"action_timing": "<string>",
"phone_number": "<string>",
"webhook": {
"to": "<string>",
"from": "<string>",
"template_name": "<string>",
"body_params": [
"<string>"
],
"header_params": [
"<string>"
],
"button_params": [
"<string>"
],
"language_code": "<string>",
"mandatory": true
}
}
'