# Webhook APIs

These APIs provides Webhook Managements like creating Webhook, modify, get and delete webhooks.

Version: 0.1

## Servers

```
https://api-dev.sendpro360.pitneycloud.com/webhook
```

```
https://api-qa.sendpro360.pitneycloud.com/webhook
```

Sandbox Server for Webhook API's
```
https://api-sandbox.sendpro360.pitneybowes.com/webhook
```

Production Server for Webhook API's (uses live data)
```
https://api.sendpro360.pitneybowes.com/webhook
```

## Security

### basicAuth

Type: http
Scheme: basic

### bearerAuth

Type: http
Scheme: bearer

## Download OpenAPI description

[Webhook APIs](https://docs.sendpro360.pitneycloud.com/_bundle/openapi/webhook.yaml)

## Webhook

### Get Applicable Event list for webhook configuration

 - [GET /api/v1/events](https://docs.sendpro360.pitneycloud.com/openapi/webhook/webhook/getevents.md): This operation gets the events details

### Create Webhook configuration

 - [POST /api/v1/webhookConfig](https://docs.sendpro360.pitneycloud.com/openapi/webhook/webhook/postwebhook.md): Webhook provides the mechanism to push tracking events as they occur. With help of this user would be able to receive events as they are generated and is received to the end user. This operation creates a webhook configuration. It needs details of events for which webhook tracking is required also the URL with its authorization details to which the tracking events be pushed.

### Get All webhooks

 - [GET /api/v1/webhookConfig](https://docs.sendpro360.pitneycloud.com/openapi/webhook/webhook/getallwebhook.md): This operation gets all the configured webhook and its details.

### Update Webhook

 - [PUT /api/v1/webhookConfig/{webHookConfigID}](https://docs.sendpro360.pitneycloud.com/openapi/webhook/webhook/putwebhook.md): This operation updates the webhook details

### Get Webhook details by Id

 - [GET /api/v1/webhookConfig/{webHookConfigID}](https://docs.sendpro360.pitneycloud.com/openapi/webhook/webhook/getwebhook.md): This operation gets the webhook details

### Delete Webhook

 - [DELETE /api/v1/webhookConfig/{webHookConfigID}](https://docs.sendpro360.pitneycloud.com/openapi/webhook/webhook/deletewebhook.md): This operation delete the webhook

