Skip to main content

HandleOAuth2Callback processes the OAuth2 callback from Meta.

GET 

/api/v1/engagements/integrations/whatsapp/oauth2/callback

Exchanges the authorization code for an access token and creates the channel configuration. Token type will be user_access.

Errors

  • INVALID_ARGUMENT: Invalid or expired state
  • FAILED_PRECONDITION: OAuth exchange failed
  • INTERNAL: Failed to create channel config

Request

Responses

A successful response.