curl https://api.thanxsandbox.com/upload_url \ -X GET \ $AUTH_HEADERS
{ "upload_url": { "url": "https://thanx.s3.amazonaws.com/uploads/receipts/image_5051555_1534872299.jpeg?AWS-PARAMS", "file_path": "uploads/receipts/image_5051555_1534872299.jpeg" } }
This endpoint provides a pre-signed url where an image or file can be uploaded.
POST /receipts
file_path
receipt