Call Actions

Create a call action

Changed on

Creates a new call action for an agent. Call actions define automated behaviors that fire at specific points in a call lifecycle.

  • trigger actions fire to initiate an outbound call and require config.phoneNumberFieldName.
  • post-call actions fire after a call ends (e.g. to update a CRM record).
post/call-actions

Request

  • Base URL
    https://api.smallest.ai/atoms/v1
  • URL
    https://api.smallest.ai/atoms/v1/call-actions
  • Auth
    HTTP bearer

Request body

agentIdstring required

Agent this action belongs to (ObjectId)

category'trigger' | 'post-call' required

When the action fires

providerstring required

Integration provider (e.g. hubspot, salesforce)

action_type'create' | 'update'

The operation to perform on the provider object

objectstring

Provider object type to act on (e.g. contact, deal)

Response

Call action created

successboolean

Example response

{
  "success": true
}

Changes