Skip to content

Upload attachment

POST/actions/{actionId}/photo

Auth: X-API-Key headerhttps://warpdrive.staging.transferz.com/transfercompanies

Handles multipart file request data for the provided action id

Attaches a file (for example a photo of the empty meeting point) to an action. Send it as multipart/form-data in a part named file. Supported: JPEG, PNG, WebP, GIF and PDF, up to 1 MB.

Guide: Report a no-show or a delay

Path parameters

  • actionIdinteger · int64required

    The id of the action to upload data for

Headers

  • X-Request-IDstring

    The optional (ideally unique) request identifier used for later analysis or diagnostics

Request body

multipart/form-data

  • filefilerequired

    The photo attachment file

Responses

OK

Errors this endpoint can return

  • When: The file is not an image or PDF.

    What to do: Upload one of the supported types, under 1 MB.

  • When: The journey is not assigned to your company (also returned for an unknown id).

    What to do: Check that the id belongs to your company and that you use the key of the right user. Ask Transferz to check the account's permissions if the id is correct.