List Outgoing Webhooks
const url = 'https://api.upvio.com/v1/businesses/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/outgoing-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://api.upvio.com/v1/businesses/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/outgoing-webhooks \ --header 'Authorization: Bearer <token>'List all outgoing webhooks within a business.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Business ID
Responses
Section titled “Responses”List of Outgoing Webhooks
object
Endpoint that receives events from Upvio.
object
Unique identifier across the platform.
Time when the resource was created (ISO 8601 format).
Time when the resource was created (ISO 8601 format).
Only enabled webhooks will receive events.
The https:// URL that will receive events.
The events this webhook receives. An empty list falls back to the appointment events. See the webhooks section of this document for the payload delivered by each event.
Example
{ "data": [ { "endpoint": "https://example.com/webhooks/upvio", "enabledEventNames": [ "appointment.create" ] } ]}The request is invalid.
object
object
The specific error that occurred.
Human-readable description of the error.
Example
{ "error": { "code": 400, "type": "BadRequestError", "title": "Business ID does not match API key" }}The API key is missing or invalid, or the Business cannot be accessed with it.
object
object
The specific error that occurred.
Human-readable description of the error.
Example
{ "error": { "code": 403, "type": "UnauthorizedError", "title": "Invalid API token" }}The Business does not exist.
object
object
The specific error that occurred.
Human-readable description of the error.
Example
{ "error": { "code": 404, "type": "BusinessNotFoundError", "title": "Business not found" }}