Files
Upload a file
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidFile to upload (jpg, jpeg, png, or pdf). Maximum size 10MB.
binaryThe file's title. Required.
Response Body
application/json
application/json
curl -X POST "https://api.obligo.com/files" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -F file="string" \ -F title="Move-out ledger"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get a file
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidQuery Parameters
Custom expiration date for the download URL
dateHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
application/json
curl -X GET "https://api.obligo.com/files/497f6eca-6276-4993-bfeb-53cbbbba6f08?expiresAt=2019-08-24" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"fileName": "string",
"fileType": "string",
"fileSize": 0,
"url": "http://example.com",
"createdAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"metadata": {}
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Delete a file
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
curl -X DELETE "https://api.obligo.com/files/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Update a file
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
application/json
curl -X PUT "https://api.obligo.com/files/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "title": "string" }'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}