Instance Vault
Complete instance integration authorization
Exchanges an authorized OAuth attempt and stores the resulting shared connection for this instance.
POST
/
api
/
v1
/
vault
/
integrations
/
oauth
/
complete
Complete instance integration authorization
curl --request POST \
--url https://api.revoengine.com/api/v1/vault/integrations/oauth/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"state": "<string>",
"code": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({state: '<string>', code: '<string>'})
};
fetch('https://api.revoengine.com/api/v1/vault/integrations/oauth/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/vault/integrations/oauth/complete"
payload = {
"state": "<string>",
"code": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)⌘I
Complete instance integration authorization
curl --request POST \
--url https://api.revoengine.com/api/v1/vault/integrations/oauth/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"state": "<string>",
"code": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({state: '<string>', code: '<string>'})
};
fetch('https://api.revoengine.com/api/v1/vault/integrations/oauth/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/vault/integrations/oauth/complete"
payload = {
"state": "<string>",
"code": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
