Resources

Resources API enables you to create and retrieve files.

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

POST Create Resource

Create resource

post

Create a resource

Body
filestring · binaryOptional
Responses
201
Resource created
application/json
post
POST /resources HTTP/1.1
Host: api.transactionlink.io
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}
{
  "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 Resource

Get resource

get

Get a resource

Path parameters
resourceIdstring · uuidRequired

UUID of the resource to get

Responses
200
Returns the resource
application/pdf
Responsestring · binary
get
GET /resources/{resourceId} HTTP/1.1
Host: api.transactionlink.io
Accept: */*
binary

Last updated

Was this helpful?