Skip to main content
POST
/
v1
/
actions
curl --request POST \
  --url https://openapi.genesy.ai/v1/actions \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "actions": [
    {
      "type": "VERIFY_LEAD_EMAIL"
    }
  ],
  "contactIds": [
    123,
    456
  ],
  "webhookUrl": "https://your-domain.com/webhooks/genesy"
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {
    "actionsId": 123,
    "createdAt": "2023-12-25"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Run actions on specific contacts

actions
object[]
required

Array of actions to execute

Minimum array length: 1
contactIds
number[]
required

Array of contact IDs to run actions on

Minimum array length: 1
webhookUrl
string<uri>

Optional webhook URL to receive notification when actions complete. Must be HTTPS in production.

Response

Actions run started successfully

status
enum<string>
required
Available options:
success
message
string
required
data
object
required