Add an OAuth app
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.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Body
application/jsonWhat every request needs
One of the platforms listed in platforms of GET /v1/connect/oauth-apps.
Optional parameters4 fields
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.
Instagram only: the secret of that Meta app. Never returned.
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.
Areas this app requests. Defaults to every area the platform supports; an area the platform cannot request separately is a 400.
Responses
Success· the request worked
Errors· the request failed
List your OAuth apps
Lists your own OAuth apps on social platforms. Add as many as you need, any number per platform. A connect runs on one when it passes its id as `oauthAppId`. The consent screen then shows your app's name and logo, and the platform's rate limits and quotas are your app's. Also lists, in `platforms`, which platforms accept your own app and what to set up on each. Pages are ordered by id: pass `pagination.nextCursor` back as `cursor` until it is null. Like every OAuth-app call, it needs the account owner or a full-access team member, on a session or a full-scope API key.
Get an OAuth app
Next Page