Skip to main content
POST
/
google-drive
/
install
Generate Install Url
curl --request POST \
  --url https://apigcp.trynia.ai/v2/google-drive/install \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "redirect_uri": "<string>",
  "scopes": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
redirect_uri
string | null

Optional OAuth redirect URI override. Defaults to the backend callback URL.

scopes
string[] | null

Optional scope override. Defaults to readonly Drive scopes.

Response

Successful Response