Skip to content

API reference

Get whether the console's setup is finished

Other routes API

GET/v1/console-setup

Returns whether this company’s workspace has finished the console’s setup, when, and what it answered: setup is answered once per workspace, by any of its companies. The console shows its setup screen, and nothing else, until completed is true. Any credential may read it. A company that existed before this record did is marked finished with answers: null, so no existing customer is held at setup. A deployment without a database has no console to hold, so it answers completed: true with completedAt and answers null.

Response

A 200 answer carries these fields.

  • completedbooleanRequired
  • completedAtstring (date-time) or nullRequired

    When setup was last finished. Null when it was not, or when no database is configured.

  • answersobjectRequired

    The latest answers. Null when setup is not finished, or when the company was marked finished without being asked (it existed before this record did).

    Show 3 child fields
    • modestring or nullRequired

      How the company will send work to Certinvo. Null only for a company that only receives, who is not asked.

      One of erp, console, api, null.
    • directionstringRequired

      Whether the company sends invoices, receives them, or both.

      One of outgoing, incoming, both.
    • marketsarray of stringRequired

      Germany, and the countries the company ticked as wanted. Only Germany is served today.

Status codes

Status Meaning
200 The workspace’s setup state.
401 No usable credential was sent (invalid_credentials).
GET/v1/console-setup
Example
curl https://api.certinvo.com/v1/console-setup \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const response = await fetch(`https://api.certinvo.com/v1/console-setup`, {
  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/console-setup",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
application/json
{
  "completed": true,
  "completedAt": "2026-09-17T09:30:00Z",
  "answers": {
    "mode": "erp",
    "direction": "outgoing",
    "markets": [
      "de"
    ]
  }
}
Success response
GET
/v1/console-setup
Get whether the console's setup is finished
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/console-setup" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close