POST
/
api
/
v1
/
admin
/
simulation
/
tasks
/
{task_id}
/
attachments
Upload Task Attachment
curl --request POST \
  --url https://api.jobsim.work/api/v1/admin/simulation/tasks/{task_id}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'files=<string>' \
  --form 'description=<string>' \
  --form files.items='@example-file'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string
required

Query Parameters

organization_id
string | null

Body

multipart/form-data
files
file[]
required
description
string | null

Response

Successful Response