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/null/oauth/callback?hmacHash=%3Cstring%3E&environmentId=%3Cstring%3E&integrationIdentifier=%3Cstring%3E&code=%3Cstring%3E" \
  -H "idempotency-key: <string>" \
  -H "Authorization: <token>"

Returns plain text response.

"string"