Webhookah API (1.0.0)

Download OpenAPI specification:

Nick Kozhenin: kozhenin.nick@gmail.com

Public HTTP API for webhook testing. Authenticate with an API key (Authorization: Bearer wh-...). Receive URLs under /wh/{token} do not use an API key.

Endpoints

Manages webhook endpoints

List all webhook endpoints

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
[]

Create new webhook endpoint

Create new webhook endpoint, no args needed

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{}

Regenerate webhook URLs

Deletes all current endpoints and creates a new one

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{}

Update endpoint

Update endpoint configuration

Authorizations:
bearerAuth
path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Request Body schema: application/json
badgeName
string

Name of the badge to display for the webhook

Responses

Request samples

Content type
application/json
{
  • "badgeName": "alpha"
}

Response samples

Content type
application/json
{}

Delete endpoint

Authorizations:
bearerAuth
path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Responses

Response samples

Content type
application/json
{
  • "error": "string"
}

List all webhook requests for user

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Clear all webhook requests for all endpoints

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "error": "string"
}

List webhook requests for specific endpoint

Authorizations:
bearerAuth
path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Clear webhook requests for specific endpoint

Authorizations:
bearerAuth
path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Responses

Response samples

Content type
application/json
{
  • "error": "string"
}

Server-sent events for real-time updates

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "error": "string"
}

Webhooks

Endpoints for receiving webhooks

Receive webhook GET request

path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "message": "string"
}

Receive webhook POST request

path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Request Body schema: */*
string

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "message": "string"
}

Receive webhook PUT request

path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Request Body schema: */*
string

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "message": "string"
}

Receive webhook PATCH request

path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Request Body schema: */*
string

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "message": "string"
}

Receive webhook DELETE request

path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "message": "string"
}

Receive webhook OPTIONS request

path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "message": "string"
}

Receive webhook HEAD request

path Parameters
endpointToken
required
string
Example: alpha-artemis-5aa3d2fc

Token of the endpoint

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "message": "string"
}

Auth

Authentication and session management

Current user

Returns the current session principal (guest or registered)

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "email": "string",
  • "isGuest": true,
  • "plan": "plus",
  • "subscriptionId": "string",
  • "price": "string",
  • "currency": "string",
  • "dateStart": "2019-08-24T14:15:22Z",
  • "dateEnd": "2019-08-24T14:15:22Z",
  • "datePurchase": "2019-08-24T14:15:22Z",
  • "status": "active"
}