List webhook endpoints
GET
/v1/webhooks
const url = 'https://deeperesearch.com/v1/webhooks';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://deeperesearch.com/v1/webhooks \ --header 'Authorization: Bearer <token>'The organization’s active endpoints.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The endpoints
Media typeapplication/json
object
object
required
string
data
required
Array<object>
object
id
required
string format: uuid
object
required
string
url
required
string
events
required
Array<string>
created_at
required
ISO 8601 timestamp, UTC
string
Example
{ "object": "list", "data": [ { "object": "webhook_endpoint", "events": [ "research.completed" ] } ]}Missing or invalid API key (unauthorized)
Media typeapplication/json
object
error
required
object
code
required
Stable, machine-readable error code. See Errors in the docs.
string
message
required
What went wrong, written for people
string
Example generated
{ "error": { "code": "example", "message": "example" }}Rate limit, spending limit or quota reached (rate_limited, limit_reached, quota_exceeded). See Retry-After.
Media typeapplication/json
object
error
required
object
code
required
Stable, machine-readable error code. See Errors in the docs.
string
message
required
What went wrong, written for people
string
Example generated
{ "error": { "code": "example", "message": "example" }}