GET
/v1/sendingReturns whether this company’s invoices are emailed by themselves after the check, which verdicts go, and whether a likely duplicate waits or goes. Version 0 means nobody chose: by-hand, and nothing is ever sent without a person.
Response
A 200 answer carries these fields.
- modestringRequiredOne of
by-hand,automatic. - verdictsarray of stringRequired
- duplicatesstringRequired
holdkeeps a likely duplicate for a person;sendlets it go with its warning.One ofhold,send. - versionintegerRequired
0 when nobody chose.
Status codes
| Status | Meaning |
|---|---|
200 |
The setting. |
401 |
No usable credential was sent (invalid_credentials). |
GET
/v1/sendingExample
curl https://api.certinvo.com/v1/sending \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/sending`, {
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
response = requests.get(
"https://api.certinvo.com/v1/sending",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
application/json
{
"mode": "by-hand",
"verdicts": [
"clean"
],
"duplicates": "hold",
"version": 0
}Success response