Skip to main content
POST
Save a trip communication draft or log

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

tripId
integer
required

Trip ID belonging to the authenticated organization.

Body

application/json

Request fields accepted by this operation. Omitted optional properties retain the behavior described above.

body
string
required

Validation: required|string|max:50000.

Maximum string length: 50000
Example:

"Please review the updated trip details."

subject
string | null

Validation: nullable|string|max:255.

Maximum string length: 255
channel
enum<string> | null

Validation: nullable|in:email,sms,phone,note.

Available options:
email,
sms,
phone,
note,
null
Example:

"email"

recipient_filter
object
participant_ids
integer[] | null

Trip participant IDs; at least one is required for phone or note entries. Subject is required for email or SMS drafts.

Response

Save a trip communication draft or log response.

message
string
Example:

"Saved successfully."

data
object