Skip to main content
GET
/
invoices
/
{invoiceId}
Retrieve invoice by ID
curl --request GET \
  --url https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/{invoiceId} \
  --header 'x-api-key: <api-key>'
import requests

url = "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/{invoiceId}"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices/{invoiceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "message": "Unauthorized"
}
{
"message": "Request URL or object not found"
}
{
"message": "Internal Server Error"
}

Authorizations

x-api-key
string
header
required

Path Parameters

invoiceId
string
required

Query Parameters

For getting single latest public link for the Invoice

For getting all public links for the Invoice

Response

Successful response