Skip to main content
POST
Generate Social Selling comment suggestions

Authorizations

x-api-key
string
header
required

Body

application/json
postId
integer

Tracked post id (id in the Social Selling posts list). Its text in Enginy is the post to comment on.

Example:

812

publishingPostId
integer

Publishing post id (publishingPostId of a tracked post, or a post scheduled or published from Enginy). Its text is the post to comment on.

postContent
string

The post text itself, for a post that is not in Enginy (or has no text there).

Required string length: 1 - 10000
identityIds
integer[]

Identities that may write a suggestion (at most one suggestion each). Every id must be an identity of this workspace the caller may use. Omit to let the AI pick the most relevant identities the caller may use, never the post’s own author.

Required array length: 1 - 20 elements
Example:
tone
enum<string>
default:SUPPORTIVE

SUPPORTIVE (congratulate, agree, add a short insight) or FUNNY (good-natured joke).

Available options:
SUPPORTIVE,
FUNNY
length
enum<string>
default:SHORT

ULTRA_SHORT (2–6 words) or SHORT (1–2 sentences).

Available options:
ULTRA_SHORT,
SHORT
useEmojis
boolean
default:false

Add 1–3 emojis per comment. Off by default.

count
integer
default:3

How many suggestions to write; fewer come back when fewer identities are available.

Required range: 1 <= x <= 6

Response

Comment suggestions, one per identity

status
enum<string>
required
Available options:
success
message
string
required
data
object
required