POST/v1/integrations/apps/{appKey}/installations

Install an integration

Validates the configuration against the app, creates a dedicated live API key (scoped to Postflows, items, templates and prices) and, when a writeback is configured, a dedicated webhook endpoint for item events; both secrets are returned once. Credentials are stored sealed.

Scope integrations.manage

Path parameters

appKeystringrequired

Body

namestringmin length 2max length 120
configobjectrequired
credentialsobject
1 fields
clientSecretstringmin length 3max length 500

Returns

3 fields of the 201 answer
installationobjectrequired
13 fields
idstringrequired
appKeystringrequired
namestringrequired
configobjectrequired
5 fields
instanceUrlstringrequired
writebackMethodenumrequired
NONECONNECTED_APPSITE_GUEST
writebackUrlstring
clientIdstring
mirrorAllItemsbooleanrequired
hasCredentialsbooleanrequired
statusenumrequired
PENDINGACTIVEERRORDISABLED
lastErrorstring or nullrequired
apiKeyIdstring or nullrequired
webhookEndpointIdstring or nullrequired
lastActivityAtdate-time or nullrequired
healthCheckedAtdate-time or nullrequired
createdAtdate-timerequired
updatedAtdate-timerequired
apiKeyobjectrequired
3 fields
idstringrequired
prefixstringrequired
secretstringrequired
webhookobject or nullrequired
3 fields
idstringrequired
urlstringrequired
secretstringrequired

Responses

201Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)