Skip to main content
POST
Create a one-time automation

Authorizations

Authorization
string
header
required

A Replier API key (rpl_...).

Headers

Idempotency-Key
string
required

A new value for each operation, and the same one when you retry, so the request runs once.

Required string length: 1 - 128

Path Parameters

workspace_id
string<uuid>
required

Workspace ID returned by GET /v1/workspaces

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
name
string
required
Required string length: 1 - 80
account_id
string
required

Instagram account ID from GET /v1/workspaces/{workspace_id}/accounts

Required string length: 1 - 64
post_id
string
required

Instagram post ID from GET /v1/workspaces/{workspace_id}/accounts/{channel}/{account_id}/posts

Pattern: ^\d{1,64}$
keywords
string[]
required
Required array length: 1 - 50 elements
Required string length: 1 - 100
reply_messages
string[]
required

Public replies; each matching comment gets one

Required array length: 1 - 5 elements
Required string length: 1 - 300
template
enum<string>
default:comment_public_reply

comment_public_reply: answer each matching comment

Available options:
comment_public_reply
reply_selection_mode
enum<string>
default:round_robin
Available options:
random,
round_robin
exclude_previous
boolean
default:true

Response

OK

workspace
object
required
one_time_automation
object
required
run
object
required