GET
/api/admin/webhook
const url = 'https://example.com/api/admin/webhook';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/admin/webhook \ --header 'Authorization: Bearer <token>'Get the global webhook endpoint path and the currently-configured shared key.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
object
endpointPath
string
key
string
keyConfigured
boolean
source
string
Example generated
{ "endpointPath": "example", "key": "example", "keyConfigured": true, "source": "example"}