Create customer
Creates a new Embedded customer.
PREVENT 400 BAD REQUEST ERRORS
Avoid providingenvironments[error_notification_emails]
and environments[external_id]
for the dev
environment. If these values conflict with notification_email
and external_id
specified in the main request body, the API returns a 400 Bad Request
error due to conflicting assignments for the same attribute.Instead, use notification_email
and external_id
for the dev
environment and reserve environments[error_notification_emails]
and environments[external_id]
for the test
and prod
environments. Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Specifies the authentication type. Accepted values include workato_auth
, two_fa_auth
, and saml_sso
.
The identity provider name. Required if using saml_sso
as the auth_settings[type]
. Accepted values include okta
, onelogin
, and others
.
The URL of the identity provider’s metadata XML file for configuration details. Required if auth_settings[sso_url]
, auth_settings[saml_issuer]
, and auth_settings[x509_cert]
are not provided.
The single sign-on URL provided by the identity provider for user authentication. Required if auth_settings[metadata_url]
is not provided.
A unique identifier for the identity provider, often used to identify the issuer of SAML assertions. Required if auth_settings[metadata_url]
is not provided.
The X.509 certificate from the identity provider. This is used to verify SAML assertion signatures. Required if auth_settings[metadata_url]
is not provided.
Choose to enable Just-in-Time (JIT) provisioning, allowing Workato to create user accounts upon first sign-in.
Determines if role sync with the SAML identity provider is enabled. Defaults to true
.
Indicates if SAML authentication is enforced for the customer. Defaults to true
.
Specifies the environment type for creating customer information. Accepted values include dev
, test
, and prod
.
External ID for the test
or prod
environments. Use external_id
in the main request body for the dev
environment.
Applies to Embedded account customers. Provide a value if the embedded IFrame is hosted in a non-default origin page. For example, customer specific custom domains. Defaults to the origin configured at the account level.
Provide one or more comma-separated frame ancestors. These URLs are used in the Content-Security-Policy HTTP header to allow rendering of Workato IFrames.
Timeout in seconds. The following values are accepted:
- 900
(15 minutes)
- 1800
(30 minutes)
- 2700
(45 minutes)
- 14400
(4 hours)
- 28800
(8 hours)
- 43200
(12 hours)
- 86400
(1 day)
- 172800
(2 days)
- 259200
(3 days)
- 604800
(7 days)
- 1209600
(14 days)
When set to true end users are sent to the customer account’s origin_url
. Set to false to turn off the fully embedded redirect process at the customer account level. If you do not specify this value it defaults to null
and inherits this value (true
or false
) from the Embedded partner’s admin settings.