Skip to main content
POST
Create a prompt

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header:

Create keys in the Followr app under Settings > API keys. A key acts as its user, with that user's role in each company.

Body

application/json
company_id
integer
required

A company the key's user belongs to.

Example:

1287

type
enum<string>
required

For text or image generation.

Available options:
text,
image
Example:

"text"

social_network_type
enum<string>
required

A social network. Posts can go to every value except canva (a source of designs) and discord (not supported for publishing).

Available options:
facebook,
instagram,
threads,
twitter,
linkedin,
tiktok,
youtube,
pinterest,
bluesky,
discord,
medium,
canva
Example:

"instagram"

name
string
required

The prompt's name.

Maximum string length: 255
Example:

"Product launch"

prompt
string
required

The prompt text.

Example:

"Announce a new product in a warm, playful tone. Two short paragraphs, three hashtags at the end."

default
boolean

Mark the prompt as a default.

Example:

false

Response

Created.

data
object

A saved prompt template for text or image generation, for one social network.