Skip to main content
POST
/
add-disclosed-job
Add or edit a disclosed job
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/add-disclosed-job \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "job_name": "Content Creation Job",
  "partner_name": "Acme Brand",
  "job_description": "<p>Job description here</p>",
  "job_status": "completed",
  "job_id": 1,
  "company_name": "Acme Inc",
  "price": 500,
  "free_product": "N",
  "is_exclusive": "N",
  "specifics_exclusive_deal": "None",
  "applied_on": "2026-01-15",
  "agreement_accepted_date": "2026-01-20",
  "completed_at": "2026-03-01",
  "poc_email": "contact@example.com",
  "poc_name": "Jane Smith",
  "signature": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
  "job_category_arr": [],
  "deliverable_list": [],
  "add_attachment": [],
  "delete_attachment": []
}
'

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
job_name
string
required

Job/deal name

Example:

"Content Creation Job"

partner_name
string
required

Brand/partner name

Example:

"Acme Brand"

job_description
string
required

Job description

Example:

"<p>Job description here</p>"

job_status
string
required

Job status

Example:

"completed"

job_id
integer | null

Disclosed job ID (for edit)

Example:

1

company_name
string | null
Example:

"Acme Inc"

price
number | null

Deal amount

Example:

500

free_product
string | null
Example:

"N"

is_exclusive
string | null
Example:

"N"

specifics_exclusive_deal
string | null
Example:

"None"

applied_on
string<date> | null
Example:

"2026-01-15"

agreement_accepted_date
string<date> | null
Example:

"2026-01-20"

completed_at
string<date> | null
Example:

"2026-03-01"

poc_email
string | null
Example:

"contact@example.com"

poc_name
string | null
Example:

"Jane Smith"

signature
string | null
Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."

job_category_arr
object[] | null
Example:
[]
deliverable_list
object[] | null
Example:
[]
add_attachment
string[] | null
Example:
[]
delete_attachment
integer[] | null
Example:
[]

Response

200

Disclosed job saved