Skip to content

Create or publish posting (admin)

POST
/admin/postings

Admin endpoint to create a new posting or publish an existing draft posting

Admin posting request

object

Posting created successfully

object
data
object
postingId
string

Draft posting published successfully

Invalid request

object
error
string
some meaningful error message
errorCode
string
some error code, if applicable
requestId
string
abc123-def456

Unauthorized

object
error
string
some meaningful error message
errorCode
string
some error code, if applicable
requestId
string
abc123-def456

Forbidden - not an admin

object
error
string
some meaningful error message
errorCode
string
some error code, if applicable
requestId
string
abc123-def456

Posting not found (publish flow)

object
error
string
some meaningful error message
errorCode
string
some error code, if applicable
requestId
string
abc123-def456

Precondition failed - validation error

object
error
string
some meaningful error message
errorCode
string
some error code, if applicable
requestId
string
abc123-def456

Internal server error

object
error
string
some meaningful error message
errorCode
string
some error code, if applicable
requestId
string
abc123-def456