v1
ApiIntegration
Create integration
Create a new integration with the provided credentials.
Credential requirements by integration type:
- PostgreSQL/MySQL/Redshift/SQL Server: host, port, database, username, password
- BigQuery: project_id, credentials_json (service account JSON)
- Snowflake: account, username, password, warehouse, database
- Stripe: account_id, client_secret
- Custom: Any key-value pairs in a secrets object
The integration will be validated (connection tested) before being saved.
post/v1/api/integrations
Request
- Base URLhttps://api.definite.app (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Integration created successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.