Integrations

Setup integration

Configure an integration by storing its API keys in the vault. Use listAvailableIntegrations to see required secrets.

post/iapi/project/{projectId}/integrations/{service}/setup

Request

  • Base URL: https://api.websitepublisher.ai
  • URL: https://api.websitepublisher.ai/iapi/project/{projectId}/integrations/{service}/setup
  • Auth: OAuth 2 (authorization code, authorization URL https://api.websitepublisher.ai/dapi/oauth/authorize, token URL https://api.websitepublisher.ai/dapi/oauth/token, scopes: read, write)

Path parameters

projectIdinteger required
servicestring required

Request body

secrets_jsonstring required

JSON-encoded secrets object. Use listAvailableIntegrations for required keys. Example for Resend: {"resend_api_key": "re_abc123..."}

Response

Integration configured

Changes

No recorded changes to this operation across all 1 revision of this API.