Skip to main content

Test Connection with Credentials

POST 

/api/veracore/integration-instances/test-connection

Test a set of Veracore credentials before saving an integration instance. The endpoint attempts to request an access token from the Veracore API using the supplied credentials and reports whether authentication succeeded.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

No integration instance is created or modified — the credentials are used only for the live authentication attempt.

Use this during initial setup. To test the credentials already saved on an existing instance, use the instance-scoped test-connection endpoint instead.

Errors

  • 422 when a required field is missing.
  • 422 with data.success = false and data.error when Veracore rejects the credentials or the server cannot be reached.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type