Handle providers oauth redirect

GET
/v1/subscribers/{subscriberId}/credentials/{providerId}/oauth/callback

Authorization

Authorization<token>

API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".

In: header

Path Parameters

subscriberIdRequiredstring
providerIdRequiredunknown

Query Parameters

hmacHashRequiredstring

HMAC hash for the request

environmentIdRequiredstring

The ID of the environment, must be a valid MongoDB ID

integrationIdentifierstring

Optional integration identifier

codeRequiredstring

Optional authorization code returned from the OAuth provider

Header Parameters

idempotency-keystring

A header for idempotency purposes

curl -X GET "https://api.novu.co/v1/subscribers/string/credentials/{providerId}/oauth/callback?hmacHash=string&environmentId=string&integrationIdentifier=string&code=string" \
  -H "idempotency-key: string" \
  -H "Authorization: <token>"

Returns plain text response.

"string"