List KSeF connections without exposing credentials (ADMIN+)
GET
/ksef-connections
const url = 'https://api.invogi.com/v1/ksef-connections';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.invogi.com/v1/ksef-connections \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”KSeF connections
Media typeapplication/json
object
items
required
Array<object>
object
id
required
string format: uuid
companyId
required
string format: uuid
companyName
string
environment
required
string
contextNipMasked
required
string
status
required
string
lastTestedAt
required
string | null format: date-time
lastErrorMessage
required
string | null
createdAt
required
string format: date-time
integrations_enabled
required
False on the free tier (no active subscription); saving
boolean
Example
{ "items": [ { "environment": "TEST", "status": "PENDING" } ]}Missing or invalid API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{ "error": { "code": "NOT_FOUND" }}API key lacks required scope/role
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{ "error": { "code": "NOT_FOUND" }}