Upload attachment

POST https://upload.apideck.com/accounting/attachments/:reference_type/:reference_id?raw=false

Upload attachment

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes

HEADERS

KeyDatatypeRequiredDescription
x-apideck-metadatanull(Required) Metadata to attach to the attachment file
x-apideck-consumer-idstring(Required) ID of the consumer which you want to get or push data from
x-apideck-app-idstring(Required) The ID of your Unify application
x-apideck-service-idstringProvide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"status_code":200,"status":"OK","service":"google-drive","resource":"files","operation":"add","data":{"id":"12345"}}