Skip to main content
Test credentials before saving

Authorizations

Authorization
string
header
required

Personal API key sent as a bearer token, together with X-Organization-Id. The key must have at least the access level the endpoint requires (read, write or admin).

Headers

X-Organization-Id
string

The organization to act in. Required for personal API keys; list the organizations you can access with GET /v1/organizations.

Body

application/json
provider
string
required
Example:

"tripletex"

credentials
object
required

Field values keyed by the provider’s credential field keys.

scope
object

Response

The test ran. A failed connection is a 200 with result failed; read the steps for why.

result
enum<string>
required
Available options:
ok,
ok_with_warnings,
failed
status
enum<string>
required

Status this result maps to. Saved on the integration only when no draft was sent.

Available options:
connected,
invalid_credentials,
permission_denied,
server_error,
not_tested
steps
object[]
required