Integrations API
OAuth redirect target (public)
Changed onCalled by Slack/Discord after the user confirmed. Verifies the state, stores the channel and redirects (302) back to the dashboard with status=ok or status=error&reason=CODE.
get/rest/api/v1/integrations/{provider}/callback
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
providerstring required
Query parameters
codestring
statestring
errorstring
Response
OK
Changes
- info
endpoint added
- info