POST
/
v1
/
integration
/
oauth
/
{name}
/
exchange-token
Exchange code for access token
curl --request POST \
  --url https://api.projectdiscovery.io/v1/integration/oauth/{name}/exchange-token \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "code": "<string>",
  "state": "<string>",
  "installation_id": "<string>"
}'
{
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Path Parameters

name
string
required

Body

application/json

Response

200
application/json

OK

The response is of type object.