Skip to main content
POST
Add Action to Telephone Encounter

Request Parameters

Required Fields

  • appointment_id (string, required): The ID of the telephone encounter
  • text (string, required): The action text/note to add to the telephone encounter log

How It Works

When you add an action to a telephone encounter:
  1. Formatting: The action is automatically formatted with the staff member’s name, timestamp, and timezone
  2. Appending: The formatted action is appended to the existing action log in the telephone encounter
  3. Timestamping: Each action includes the exact date, time, and timezone when it was added

Example Request

Example Response

Response Fields

  • success (boolean): Indicates if the request was accepted for processing
  • message (string): Confirmation message
  • action_id (string): Unique identifier for the action record (32-character hex string)
  • job_id (integer): Reference to the job that will process this action

Webhook Events

You’ll receive a webhook when the action is processed:

Success Event

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Body

application/json
appointment_id
string
required

The ID of the telephone encounter

text
string
required

The action text/note to add to the telephone encounter log

is_high_priority
enum<string>

Whether this action should be marked as high priority (optional). Must be "true" or "false"

Available options:
true,
false

Response

Action queued successfully

success
boolean
message
string
Example:

"Action processing. A webhook event will be sent upon completion."

action_id
string

Unique identifier for the action record (32-character hex string)

job_id
integer

Job execution identifier for tracking the async operation