Create API Action
Create-Action
Create API Action
Create webhook/API actions for external integrations.
POST
Create API Action
Documentation Index
Fetch the complete documentation index at: https://docs.contactswing.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter your ContactSwing JWT Bearer token.
Request Body
Action display name. Example:
My API ActionAction purpose. Example:
Post API ActionWhen to trigger:
"DURING"Action type:
"WEBHOOK"Webhook configuration object
Target API endpoint. Example:
"https://api.publicapis.org/entries"HTTP method. Example:
"POST"Require confirmation before execution. Example:
falseOptional static body payload
List of required fields
Run pre-call logic. Example:
falseWebhook type. Example:
"static"Response
201 Created - Data extraction action created successfullyRequest context ID

