Create Webhook
POST/api/v1/user/webhooks
Request
Header Parameters
Authorization string
Example: Bearer {YOUR_AUTH_KEY}
Content-Type string
Example: application/json
Accept string
Example: application/json
- application/json
Body
required
url stringrequired
The url of the webhook
secret string
A secret to be sent in the header of webhook requests
verify_ssl booleanrequired
Whether to verify ssl or not
Responses
- 200
- 500
success
- application/json
- Schema
- Example (from schema)
Schema
id integer
user_id integer
url string
last_called_at string
created_at string
updated_at string
secret string
last_status string
verify_ssl boolean
failed_calls integer
notified_at string
{
"id": 6,
"user_id": 303,
"url": "https://example.com/webhook",
"last_called_at": "2021-10-26T09:45:47.000000Z",
"created_at": "2021-10-26T09:45:47.000000Z",
"updated_at": "2021-10-26T09:45:47.000000Z",
"secret": "aut",
"last_status": null,
"verify_ssl": true,
"failed_calls": 0,
"notified_at": null
}
Maximum number of tags reached
- text/plain
- Schema
Schema
string
Loading...