getInvitations
Examples
query GetInvitations {
getInvitations {
id
inviteeEmail
invitation_url
created_at
expires_at
}
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "query GetInvitations { getInvitations { id inviteeEmail invitation_url created_at expires_at } }"
}'const query = 'query GetInvitations { getInvitations { id inviteeEmail invitation_url created_at expires_at } }';
fetch("https://api.cloud.ox.security/api/apollo-gateway", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "YOUR_API_TOKEN"
},
body: JSON.stringify({
query: query
})
})
.then(response => response.json())
.then(result => console.log(JSON.stringify(result, null, 2)))
.catch(error => console.error('Error:', error));Fields
Field
Description
Supported fields
Last updated
