/files

POST {{base-api-url}}/files

Request Body

{"name"=>"Name of my signable file.pdf", "content"=>"JVBERi0xLjUKJb/3ov4KNiA [...] VPRgo=", "procedure"=>"/procedures/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"}

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringThis value is a secret and needs to be replaced by your API Key (Bearer).
Content-TypestringThis header specifies the format of the exchanges in JSON.

RESPONSES

status: Created

{"id":"/files/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","name":"Name of my signable file.pdf","type":"signable","contentType":"application/pdf","description":null,"createdAt":"2018-12-01T13:47:01+01:00","updatedAt":"2018-12-01T13:47:01+01:00","sha256":"bb57ae2b2ca6ad0133a699350d1a6f6c8cdfde3cf872cf526585d306e4675cc2","metadata":[],"workspace":"/workspaces/XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","creator":null,"protected":false,"position":0,"parent":null}