Swagger Editor
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
openapi: 3.0.1
info:
title: RoutiGo Webhook Subscriptions management REST API
description: You can use RoutiGo webhook REST API to create and manage your webhook
subscriptions.
contact:
name: RoutiGo Team
url: https://www.routigo.com
email: team@routigo.com
version: "1.0"
externalDocs:
description: See 'Webhooks' page for more information about webhook events and types
url: https://apidocs.routigo.com/webhooks
servers:
- url: https://api.routigo.com/api
variables: {}
tags:
- name: webhook
description: Webhook management
paths:
/v1/webhook:
post:
tags:
- webhook
description: "Create a new webhook subscription by specifying the event, its\
\ type and action"
operationId: createWebhook
requestBody:
description: A "task" to register a new webhook subscription
content:
application/json:
schema:
$ref: '#/components/schemas/SaveWebhookConfigRequest'
example:
routigoEvent: ROUTE_PLANNED
routigoEventType: ROUTE