Plugins

Start plugin OAuth

Returns an authorization_url for a person to open. The connection is saved when they approve. The authorization is tied to a person, so this needs a personal API key or the app. Requires write access to the environment.

post/v1/environments/{environment_id}/plugins/{plugin_id}/oauth/start

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/environments/{environment_id}/plugins/{plugin_id}/oauth/start
  • Auth
    HTTP bearer

Path parameters

environment_idstring required

Environment ID

plugin_idstring required

Plugin ID from List plugins

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Response

Success

authorization_urlstring uri required

Changes

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