Skip to main content
POST
Create or edit a job/deal

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
isEdit
integer

0 = create, 1 = edit

Example:

0

id
integer | null

Job ID (required for edit)

Example:

1

jobType
string

Job type identifier

Example:

"short-term"

jobFor
string | null

Target audience: 'All' or 'Univ'

Example:

"All"

name
string | null

Agreement signer name (create only)

Example:

"Test skl"

fbp
string | null

Facebook browser ID (frontend)

Example:

"fb.1.1771826224285.758247182288672553"

require_proof_of_work
boolean | null

Require proof of work

Example:

true

dueDateUpdateOnly
enum<string> | null

Frontend hint for due-date-only edits

Available options:
Yes,
No
Example:

"No"

addTitleAndDescription
object
addDetails
object
addExpertise
object

Job categories and skills (backend reads skillsAndExpertise and additionalSkills from here)

addLocation
object
addBudgetaddTitle
object
addVisiblity
object
remainimage
integer[] | null

Edit only: document IDs to delete

Example:

Response

Job created/updated