Skip to main content
PUT
AhaSend Go SDK

Authorizations

Authorization
string
header
required

API key for authentication. Non-empty Security Requirement values are AhaSend API-key roles. Roles listed within one requirement object are jointly required; separate requirement objects are alternatives.

Path Parameters

account_id
string<uuid>
required

Account ID

route_id
string<uuid>
required

Route ID

Body

application/json
name
string | null

Route name

Maximum string length: 255
url
string<uri> | null

Webhook URL for the route

recipient
string | null

Recipient filter

Maximum string length: 255
attachments
boolean | null

Whether to include attachments in webhooks

headers
boolean | null

Whether to include headers in webhooks

group_by_message_id
boolean | null

Whether to group by message ID

strip_replies
boolean | null

Whether to strip reply content

enabled
boolean | null

Whether the route is enabled

Response

Route updated successfully

object
enum<string>
required

Object type identifier

Available options:
route
id
string<uuid>
required

Unique identifier for the route

created_at
string<date-time>
required

When the route was created

updated_at
string<date-time>
required

When the route was last updated

name
string
required

Route name

url
string<uri>
required

Webhook URL for the route

recipient
string
required

Recipient filter; an empty string means no recipient filter

attachments
boolean
required

Whether to include attachments in route payload

headers
boolean
required

Whether to include headers in route payload

group_by_message_id
boolean
required

Whether to group by message ID

strip_replies
boolean
required

Whether to strip reply content

enabled
boolean
required

Whether the route is enabled

success_count
integer
required

Number of successful calls

error_count
integer
required

Number of unsuccessful calls

errors_since_last_success
integer
required

Number of consecutive failed calls

last_request_at
string<date-time> | null
required

When the route was last called