Skip to main content
POST
/
ai-edit-job
Edit job after AI review
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/ai-edit-job \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 1,
  "addTitleAndDescription": {
    "job_name": "Content Creation Job",
    "jobDescription": "<p>Job description here</p>",
    "specifics_exclusive_deal": "None",
    "deliverableList": []
  },
  "addLocation": {
    "university": [
      1
    ],
    "sports": [
      1
    ],
    "instagram_min": 1000,
    "instagram_max": 100000,
    "tiktok_min": 500,
    "tiktok_max": 50000,
    "x_min": 100,
    "x_max": 10000
  }
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
id
integer
required

Job ID to edit

Example:

1

addTitleAndDescription
object
addLocation
object

Job criteria updates (university, sports, social media ranges)

Response

200

Job edited