Resources API enables you to create and retrieve files.
Last updated 12 days ago
Was this helpful?
The resource object representing a file hosted on TransactionLink's servers. The file may have been uploaded by yourself using the create resource request (for example, when uploading documents) or it may have been created by workflow
resource
POST
GET
Create a resource
/resources
curl -L \ --request POST \ --url 'https://api.transactionlink.io/resources' \ --header 'Content-Type: multipart/form-data'
{ "resourceId": "20fd5007-008d-447c-8378-6f81ea48fe65", "resourceName": "File name.pdf", "resourcePath": "resources/e1413f5b-acb0-4995-919a-3fc60c9592c5/20fd5007-008d-447c-8378-6f81ea48fe65/File name.pdf" }
Get a resource
/resources/{resourceId}
UUID of the resource to get
curl -L \ --url 'https://api.transactionlink.io/resources/{resourceId}'
text