agent

Update Agent

put/v1/agent/{agent_id}/update

Request

  • Base URL
    https://api.linktodm.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

agent_idinteger required

Request body

namestring required
type'LIKE' | 'COMMENT_MODERATION' required
channel_idstring required
media_selection_type'SPECIFIC' | 'ALL'

Media selection type for triggers.

media_idsstring[] nullable
ai_promptstring required
action_limit'UNLIMITED' | 'PER_DAY'
action_limit_valueinteger nullable
delay_in_secondsinteger nullable
delay_unit'SECONDS' | 'MINUTES' | 'HOURS' | 'DAYS'

Unit a user entered a wait duration in.

Shared by the legacy automation step delays (StepDelay.delay_unit) and the flow builder's DELAY node / comment auto-reply delay. The backend always schedules with the canonical seconds value; this is what the UI round-trips so the editor can show the delay the way it was typed.

is_activeboolean

Response

Successful Response

idinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.