Skip to main content
POST
/
deal-folder
/
athlete-job-details
Milestone-wise deal folder content for one athlete+job
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/deal-folder/athlete-job-details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "athlete_id": 42,
  "job_id": 100
}
'
{
  "status": "success",
  "data": {
    "deal_folder": {
      "id": 12,
      "is_active": true,
      "activated_at": "2026-04-01T12:00:00Z",
      "deal_folder_status": "Needs Approval",
      "job": {
        "id": 100,
        "name": "Spring NIL Campaign",
        "assets_files": [
          {
            "id": 1,
            "type": "brief",
            "file_name": "brief.pdf",
            "file_url": "https://cdn.mogl.online/.../brief.pdf"
          }
        ],
        "total_unread_comment_count": 3
      },
      "partner": {
        "id": 7,
        "name": "Acme Brand",
        "profile_photo": "https://cdn.mogl.online/.../partner.jpg",
        "category": "Apparel"
      },
      "athlete": {
        "id": 42,
        "name": "Jane Doe",
        "profile_photo": "https://cdn.mogl.online/.../athlete.jpg",
        "sport_name": "Basketball",
        "college_name": "UCLA"
      },
      "milestones": [
        {
          "milestone_athlete_rel_id": 88,
          "milestone_id": 200,
          "milestone_name": "1st Deliverable",
          "deliverable_type_name": "Instagram Post",
          "description": "<p>Post a 30s reel</p>",
          "price": 100,
          "payment_mode": "C",
          "due_date": "2026-04-15T12:00:00Z",
          "due_date_number": 4,
          "due_date_type": "Week",
          "due_date_athlete": "2026-04-15T12:00:00Z",
          "is_paid": "N",
          "payment_status": "pending",
          "amount_paid": 0,
          "deal_folder_file_status": "Needs Approval",
          "unread_comment_count": 1,
          "files": [
            {
              "id": 5,
              "slot_number": 1,
              "status": 1,
              "status_label": "Needs Approval",
              "unread_comment_count": 1,
              "uploaded_by": {
                "id": 42,
                "name": "Jane Doe"
              },
              "current_version": {
                "id": 11,
                "file_name": "reel.mp4",
                "file_url": "https://cdn.mogl.online/.../reel.mp4",
                "file_size": 8421376,
                "file_mime_type": "video/mp4",
                "version_number": 1,
                "uploaded_at": "2026-04-01T12:00:00Z"
              },
              "created_at": "2026-04-01T12:00:00Z",
              "updated_at": "2026-04-01T12:05:00Z"
            }
          ]
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
athlete_id
integer
required

Athlete user ID

Example:

42

job_id
integer
required

Partner job ID

Example:

100

Response

Deal folder details

status
string
Example:

"success"

data
object