Skip to main content
GET
/
api
/
v2
/
documents
/
{id}
Get a document by id
curl --request GET \
  --url https://sandbox.killb.app/api/v2/documents/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "4d23aa52-1b40-4584-a8ea-58aba6099c5c",
  "title": "Document Report",
  "type": "TRANSACTION_REPORT",
  "status": "PENDING",
  "createdAt": "2021-01-01T00:00:00.000Z",
  "updatedAt": "2021-01-01T00:00:00.000Z",
  "documentUrl": "https://example.com/document.pdf"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Query Parameters

customerId
string
required

Response

id
string
required
Example:

"4d23aa52-1b40-4584-a8ea-58aba6099c5c"

title
string
required
Example:

"Document Report"

type
string
required
Example:

"TRANSACTION_REPORT"

status
string
required
Example:

"PENDING"

createdAt
string<date-time>
required
Example:

"2021-01-01T00:00:00.000Z"

updatedAt
string<date-time>
required
Example:

"2021-01-01T00:00:00.000Z"

documentUrl
string
required
Example:

"https://example.com/document.pdf"