Create Webhooks
Search
client.search.createWebhooks(SearchCreateWebhooksParamsbody?, RequestOptionsoptions?): listunionnextPageTokenstringSearchCreateWebhooksResponse
post/api/v1/search/webhooks
Invokes the c1.api.webhooks.v1.WebhooksSearch.Search method.
Parameters
bodypageSizenumberpageTokenstringquerystringrefsunionSearchCreateWebhooksParams
Returns
SearchCreateWebhooksResponse
The WebhooksSearchResponse message.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const response = await client.search.createWebhooks();
console.log(response.list);200 Example
{
"list": [
{
"id": "id",
"description": "description",
"displayName": "displayName",
"url": "url"
}
],
"nextPageToken": "nextPageToken"
}