Create integration account
Creates a new integration account. The response type depends on the authentication type specified in the request:
-
For OAuth authentication (authType: ‘OAUTH’):
- Requires clientRedirectURL in the request
- Returns CreateIntegrationAccountOAuthResponse with OAuth URL for authorization
- Includes webhook subscription information
-
For other authentication methods (authType: ‘API_KEY’, ‘USERNAME_PASSWORD’):
- Requires appropriate authConfig in the request
- Returns CreateIntegrationAccountResponse with the created account details
- May include webhook URLs if manual subscription is required
Documentation Index
Fetch the complete documentation index at: https://ota-docs.calry.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
Optional tenant ID to specify which tenant to operate as. Controls access to integration accounts. If not provided, the default tenant will be used.
Body
Name for the integration account
"My Hostaway Account"
Unique identifier for this account
"hostaway-12345"
The integration provider
BOOKINGSYNC, CIIRUS, GUESTY, HOSTAWAY, HOSTFULLY, HOSTIFY, INTERHOME, LODGIFY, OWNERREZ, HOSTHUB, UPLISTING, BEDS24, HOST_TOOLS, HOSTFULLYSANDBOX, HOSPITABLE, TOKEET "HOSTAWAY"
Type of authentication for this account
ACCESS_TOKEN, API_KEY, OAUTH, EMAIL_PASSWORD, PARTNER_TOKEN "OAUTH"
Optional ID for the integration account (usually auto-generated)
"123e4567-e89b-12d3-a456-426614174000"
Version of the integration to use
"1.0"
Authentication configuration. Refer to documentation for specific authConfig for provider
The OAuth authentication URL where the user is redirected to do the successful authentication. Required when IntegrationAccountAuthType is OAUTH
The URL where the server should send a POST notification after OAuth flow completion. Required when IntegrationAccountAuthType is OAUTH
Default discount percentage to apply for this integration account
0 <= x <= 10010
Markup percentage to apply for this integration account
x >= 05
Markup percentage to apply when other tenants use this integration account listings
0 <= x <= 10015
Whether listings from this integration account can be imported by other tenants
true
Whether new listings from sync require manual approval before being marked active
true
Response
Integration account created successfully
Response for non-OAuth authentication methods