Skip to main content
POST
/
capabilities
/
documents.get
documents.get
curl --request POST \
  --url https://developer.api.receiptor.ai/v1/capabilities/documents.get \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "id": "<string>"
}
'
{
  "success": true,
  "code": 200,
  "data": {
    "result": {}
  }
}

Authorizations

x-api-key
string
header
required

API key prefixed with sk_. Obtain from the Receiptor AI dashboard.

Body

application/json
id
string
required

The document ID to fetch

Minimum string length: 1

Response

Successful response

success
boolean
Example:

true

code
integer
Example:

200

data
object