Create connection

POST/unified/connection

Used only to import existing customer credentials; use "Authorize new connection" instead

Payload

A connection represents a specific authentication of an integration.

idstring read-only
Unique identifier for this integration object
created_atdate read-only
The date that this integration object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate read-only
The last date that this integration object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
workspace_idstring read-only
(reference to KmsSpace)
integration_typestring required
The integration type
integration_namestring
external_xrefstring
customer's user ID
permissions enum array required
Valid values:
"accounting_account_read"
"accounting_account_write"
"accounting_transaction_read"
"accounting_transaction_write"
"accounting_journal_read"
categories enum array required
Valid values:
"passthrough"
"hris"
"ats"
"auth"
"crm"
The Integration categories that this connection supports
authobject
An authentication object that represents a specific authorized user's connection to an integration.
is_pausedboolean read-only
Whether this integration has exceed the monthly limit of the plan
auth_aws_arnstring
the AWS ARN / secretID for the stored auth field
environmentstring
auth_azure_keyvault_idstring
the Azure Key Vault ID for the stored auth field
auth_gcp_secret_namestring
the Google Cloud Secret Manager name for the stored auth field
auth_hashi_vault_pathstring
the HashiCorp Vault path for the stored auth field
last_healthy_atdate read-only
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
last_unhealthy_atdate read-only
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
secretsmanager_idstring
the ID of the SecretsManager object
secretsmanager_keystring
the key/path/name of the secret within the vault

Returns

A connection represents a specific authentication of an integration.

idstring read-only
Unique identifier for this integration object
created_atdate read-only
The date that this integration object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate read-only
The last date that this integration object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
workspace_idstring read-only
(reference to KmsSpace)
integration_typestring required
The integration type
integration_namestring
external_xrefstring
customer's user ID
permissions enum array required
Valid values:
"accounting_account_read"
"accounting_account_write"
"accounting_transaction_read"
"accounting_transaction_write"
"accounting_journal_read"
categories enum array required
Valid values:
"passthrough"
"hris"
"ats"
"auth"
"crm"
The Integration categories that this connection supports
authobject
An authentication object that represents a specific authorized user's connection to an integration.
is_pausedboolean read-only
Whether this integration has exceed the monthly limit of the plan
auth_aws_arnstring
the AWS ARN / secretID for the stored auth field
environmentstring
auth_azure_keyvault_idstring
the Azure Key Vault ID for the stored auth field
auth_gcp_secret_namestring
the Google Cloud Secret Manager name for the stored auth field
auth_hashi_vault_pathstring
the HashiCorp Vault path for the stored auth field
last_healthy_atdate read-only
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
last_unhealthy_atdate read-only
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
secretsmanager_idstring
the ID of the SecretsManager object
secretsmanager_keystring
the key/path/name of the secret within the vault
const options = {
  method: 'POST',
  url: 'https://api.unified.to/unified/connection',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,

};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?