Skip to main content
GET
https://prod-contactswing-fastapi-962560522883.us-central1.run.app
/
v2
/
_actions
Get Actions
curl --request GET \
  --url https://prod-contactswing-fastapi-962560522883.us-central1.run.app/v2/_actions \
  --header 'Authorization: <authorization>'
{
  "ctx_id": "<string>",
  "data": {
    "data": [
      {
        "webhook.url": "<string>",
        "webhook.booking_timings": {}
      }
    ],
    "pagination": {}
  },
  "message": "<string>"
}

Authorizations

Authorization
string
required
Enter your ContactSwing API key.

Response

200 OK - Actions list retrieved successfully
ctx_id
string
Request context ID: eb427c29-b818-4dca-bcab-7f420f30e51a
data
object
data
array
Array of action objects (showing first few examples):WEBHOOK Action Example:
id
string
4808cc67-194e-4dfc-97ad-146ddf3d4126
name
string
My API Action
type
string
WEBHOOK
is_active
boolean
true
webhook.url
string
https://prod-contactswing-fastapi-962560522883.us-central1.run.app/v2/sample/api/example
APPOINTMENT Action Example:
id
string
e16a8a25-959f-4037-9b2e-ddc8baf0baf5
name
string
My Real-time Booking Action
type
string
APPOINTMENT
webhook.booking_timings
object
Weekly availability (Mon-Fri: 09:00-17:00 US/Central)
Other Action Types Available:
  • SEND_WHATSAPP - WhatsApp messaging
  • SEND_EMAIL - Email actions
  • CALL_TRANSFER - Phone transfers
  • SINGLEDATAEXTRACTION - Data extraction
  • DTMF_ACTION - Phone menu navigation
pagination
object
Pagination metadata:
current_page
number
1
per_page
number
10
total_records
number
58
total_pages
number
6
has_next
boolean
true
message
string
"Request processed successfully"