Get predefined scope templates
curl --request GET \
--url https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/scopes \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/scopes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/scopes"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){}API Keys
Get predefined scope templates
Get predefined scope templates for common integrations
GET
/
api-keys
/
scopes
Get predefined scope templates
curl --request GET \
--url https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/scopes \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/scopes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/api-keys/scopes"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){}Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Response
200 - application/json
Scope templates
The response is of type object.
⌘I