recruiting.postings.save
Create a job posting (often from a job role with jobRoleId), or update one with id and expectedRevision: title, department, location, workplace (remote, hybrid, onsite), employmentType, description, payText, vacancyExists, aiAssist (disclosed on the posting), visibility (public or private), questions (key, label, type text/textarea/yes_no/select/url, required, options) and stages (Applied first, Hired last). The creator becomes hiring manager unless an administrator chooses someone; only an administrator or the current hiring manager can change it. New postings start as drafts.
/api/v1/accounting/recruiting.postings.savePermissions
Who can call it
Retries
MCP
accounting_recruiting_postings_saveFields
idstring (ID)The record's ID.
expectedRevisionintegerThe record's current revision, from the last time you read it. If someone changed the record since, the request is refused with a conflict so you can reload and check before trying again.
at most 9007199254740991 · greater than 0
postingobjectRequiredNo other fields
idempotencyKeystringRequiredAny unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.
8–200 characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/recruiting.postings.save \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"posting": {
"jobRoleId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"title": "Synthetic services agreement",
"department": "example",
"location": "example",
"workplace": "remote",
"employmentType": "contractor",
"description": "Synthetic example from the docs",
"payText": "example",
"vacancyExists": true,
"aiAssist": true,
"visibility": "public",
"questions": [
{
"key": "key",
"label": "example",
"type": "text",
"required": true
}
],
"stages": [
{
"id": "id",
"label": "example"
},
{
"id": "id",
"label": "example"
}
],
"hiringManagerUserId": "example"
}
}'{
"data": { … }
}This action checks your data too, so replace the example values with your own before sending it.
Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
curl https://app.getoatmilk.com/api/v1/accounting/recruiting.postings.save \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"posting": {
"jobRoleId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"title": "Synthetic services agreement",
"department": "example",
"location": "example",
"workplace": "remote",
"employmentType": "contractor",
"description": "Synthetic example from the docs",
"payText": "example",
"vacancyExists": true,
"aiAssist": true,
"visibility": "public",
"questions": [
{
"key": "key",
"label": "example",
"type": "text",
"required": true
}
],
"stages": [
{
"id": "id",
"label": "example"
},
{
"id": "id",
"label": "example"
}
],
"hiringManagerUserId": "example"
}
}'More in Contractors.