Webhook
API Authorization
Before you can make requests to this resource, you must have a valid bearer token. Review our API authorization guide to learn how to generate a token. Here's a curl example of how to define your access token in a header:
curl -L "https://webhook.api.korewireless.com/v1/secrets" -H "Authorization: Bearer <YOUR_ACCESS_TOKEN>"
The examples below do not show the required Authorization
header due to a bug. We're working on fixing that. In the meantime, be sure to include that in all of your requests.
Creates a new secret with associated metadata.
A user-friendly name for the secret.
POST /v1/secrets HTTP/1.1
Host: webhook.api.korewireless.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"Name": "text"
}
{
"secret": "text",
"id": "whs_01jf8c4889ehtbzt0n9mzk1prc",
"name": "my new secret",
"status": "active",
"last_modified": "2025-06-29T22:15:38.585Z"
}
Retrieves a list of secrets, optionally filtered by status.
Filter secrets by their status.
active
Possible values: Optional Filter that indicates the current pagination index of the response.
1
Optional Filter that indicates the total number of records included in the response.
10
GET /v1/secrets HTTP/1.1
Host: webhook.api.korewireless.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"data": [
{
"id": "whs_01jf8c4889ehtbzt0n9mzk1prc",
"name": "my new secret",
"status": "active",
"last_modified": "2025-06-29T22:15:38.585Z"
}
],
"meta_data": {
"count": 1,
"page_size": 10,
"page_number": 1,
"previous_page_url": "https://webhook.api.korewireless.com/v1/secrets?page_size=1&page_number=2",
"next_page_url": "https://webhook.api.korewireless.com/v1/secrets?page_size=1&page_number=4"
}
}
Updates the details of an existing secret specified by id
.
The unique identifier of the secret to be updated.
A user-friendly name for the secret.
The status of the secret.
PATCH /v1/secrets/{id} HTTP/1.1
Host: webhook.api.korewireless.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"Name": "text",
"Status": "active"
}
{
"id": "whs_01jf8c4889ehtbzt0n9mzk1prc",
"name": "my new secret",
"status": "active",
"last_modified": "2025-06-29T22:15:38.585Z"
}
Last updated
Was this helpful?