Connect

Add an OAuth app

Changed on

Saves your app's client ID and secret for a platform.

The keys are checked with the platform first:

  • Keys it rejects return 400 OAUTH_APP_KEYS_REJECTED and are not saved.
  • Keys it could not check are saved with status unchecked.

Allow the returned redirectUri in your app's settings on the platform before connecting.

Only the account owner or a full-access team member can add apps, and not with a profile-scoped API key.

post/v1/connect/oauth-apps

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/connect/oauth-apps
  • Auth
    HTTP bearer

Request body

platformstring required

One of the platforms listed in platforms of GET /v1/connect/oauth-apps.

labelstring required
clientIdstring required
clientSecretstring required
metaAppIdstring

Instagram only: the numeric ID of the Meta app your Instagram app lives in. Zernio uses it with metaAppSecret to register the webhook. Send both or neither.

metaAppSecretstring

Instagram only: the secret of that Meta app. Never returned.

slackSigningSecretstring

Slack only: the signing secret from the app's Basic Information page. Needed to receive events from your Slack app; any other platform is a 400.

scopeAreasstring[]

Areas this app requests. Defaults to every area the platform supports; an area the platform cannot request separately is a 400.

Response

The app was saved.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status