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
}
}
'Applies AI-suggested edits to an existing job. Only updates fields that are provided; does NOT use addDetails/addBudgetaddTitle/addExpertise/addVisiblity. Note: uses job_name (not jobName) for the title field.
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.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Job edited