Skip to main content
POST
/
api
/
finds
/
upload
Upload media files for a find
curl --request POST \
  --url https://serengo.zias.be/api/finds/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'files=<string>' \
  --form 'findId=<string>' \
  --form files.items='@example-file'
{
  "findId": "<string>",
  "media": [
    {
      "id": "<string>",
      "type": "image",
      "url": "<string>",
      "thumbnailUrl": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
files
file[]
Required array length: 1 - 5 elements
findId
string

Response

200 - application/json

Upload successful

findId
string
media
object[]