curl --request POST \
--url https://apigcp.trynia.ai/v2/google-drive/install/callback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"redirect_uri": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Exchange the Google OAuth code for tokens and create the Drive installation.
curl --request POST \
--url https://apigcp.trynia.ai/v2/google-drive/install/callback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"redirect_uri": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?