Integrations

Create or update an integration

Use when storing or updating credentials for an external integration (e.g. Stripe, HubSpot). Secrets are encrypted at rest.

post/secrets/integrations/create/{provider}

Path parameters

providerstring required

Integration provider

Request body

credentialsobject required
namestring required
provider'flexprice' | 'stripe' | 's3' | 'hubspot' | 'razorpay' | 'chargebee' | 'quickbooks' | 'nomod' | 'moyasar' required

Response

Created

created_atstring
display_idstring
expires_atstring
idstring
last_used_atstring
namestring
provider'flexprice' | 'stripe' | 's3' | 'hubspot' | 'razorpay' | 'chargebee' | 'quickbooks' | 'nomod' | 'moyasar'
rolesstring[]

RBAC roles

status'published' | 'deleted' | 'archived'
type'private_key' | 'publishable_key' | 'integration'
updated_atstring
user_type'user' | 'service_account'

Changes