Google Calendar URL Callback

From docs
Jump to: navigation, search

Mobile_API »Google OAuth Callback

Base URL

https://apimobile.callproof.com

Endpoint

/api/google/callback/

Purpose

Receives the OAuth redirect callback from Google (or similar providers using this same handler) and returns the callback request parameters in a simple JSON payload. This endpoint does not exchange tokens or create a user session; it echoes the received callback data.

HTTP Method

GET

Headers

Header Required Description
Authorization No Not required (public callback route)

Security

  • No – This route is public and does not require Bearer Token authentication.

Parameters

Path Parameters

None.

Query Parameters

Parameter Type Required Description
(any) string No All query parameters received from the OAuth provider are accepted and returned in the response (commonly includes values such as code, state, or error)

Request Body

None.

Successful Response (200)

Returns the callback request parameters wrapped in a data object.

Field Type Description
data object Object of all received request parameters from the OAuth callback

Example shape:

{"data":{"code":"...","state":"..."}}

Error Responses

Status Code Meaning
Not specified in codebase This handler does not implement dedicated error responses; it returns whatever callback parameters were received
  • Provider-side failures (for example, an error query parameter) are returned inside data rather than as API-level 4xx/5xx handling in this method.