Auth
Handle Google OAuth callback
Handle Google OAuth callback. Exchanges the authorization code for tokens and returns them in the response body. Clients should send the access token via the Authorization header on subsequent requests.
GET
/api/v1/auth/google/callbackHandle Google OAuth callback.
Exchanges the authorization code for tokens and returns them in the response body. Clients should send the access token via the Authorization header on subsequent requests.
AuthorizationBearer <token>
In: header
Query Parameters
code?string|null
state?string|null
error?string|null
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/auth/google/callback"{ "message": "string", "access_token": "string", "refresh_token": "string", "is_active": true, "phone_verified": true, "phone_number": "string"}