Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Create an agent

POST
/api/v3/agents
curl --request POST \
--url https://api.tryletterhead.com/api/v3/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form api=true \
--form type=0

Create a new agent for the company.

Media type multipart/form-data
object
api
string
Example
true
type
string
Example
0

201 Created

Media type application/json
object
items
object
uniqueId
string
name
string
type
integer
guidelines
string
status
integer
runMode
string
frequency
string
nullable
validationCode
string
nullable
lastRunAt
string
nullable
channels
Array<string>
createdAt
string
updatedAt
string
message
string
total
integer
Example
{
"items": {
"uniqueId": "mofuehvagv",
"name": "House style checker",
"type": 0,
"guidelines": "> Check the draft against our house style guide.\n> - Use the serial comma.\n> - Spell out numbers under 10; use numerals for 10 and above.\n> - Em dashes take no surrounding spaces.\n>\n> Flag every violation with the specific line it appears on.",
"status": 1,
"runMode": "manual",
"frequency": null,
"validationCode": null,
"lastRunAt": null,
"channels": [
"the-daily"
],
"createdAt": "2026-04-11T10:05:33+00:00",
"updatedAt": "2026-04-11T10:05:33+00:00"
},
"message": "",
"total": 10
}

Still can’t find what you need? Contact support.