Upload attachment
POST
/actions/{actionId}/photoAuth: 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
Headers
Request body
multipart/form-data
Responses
OK
Errors this endpoint can return
- 400, failedUNSUPPORTED_CONTENT_TYPE
When: The file is not an image or PDF.
What to do: Upload one of the supported types, under 1 MB.
- 403, failedINSUFFICIENT_PERMISSIONS
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.