get https://ioe.droplit.io/v0/api/webhooks/
Details
Get a webhook.
An account token or server token may be used to run this endpoint.
Parameters
path
- id (required): The ID of the webhook.
Responses
200
- {
"id": "WEBHOOK-ID",
"desription": "WEBHOOK-DESCRIPTION",
"ecosystemId": "ECOSYSTEM-ID",
"url": "CALLBACK-URL",
"disabled": IS-DISABLED,
"createdAt": "YYYY-MM-DD HH:MM:SS ENCODED"
}
400
- No Query String Allowed: The standard error structure defines this error as invalid parameters, with additional parameters in the query string. In this context, it means that no query string is allowed at all when calling this endpoint.
- Webhook Invalid: The standard error structure defines this error as invalid parameters. In this context, it means that the ID given for a webhook was not valid.
404
- Webhook Not Found: This error means that a webhook with the given ID was not found, although it existed at some point.
Examples
HTTP
GET https://ioe.droplit.io/api/webhooks/WEBHOOK-ID HTTP/1.1
authorization: TOKEN
Droplit Console
droplit webhook info WEBHOOK-ID
Droplit SDK
droplit.webhooks.info("WEBHOOK-ID");