promptmate.io API
  1. webhooks
promptmate.io API
  • apps
    • Lists apps
      GET
    • Get app
      GET
  • app-jobs
    • Create a new app job
      POST
    • Get job status and result
      GET
  • templates
    • Lists templates
      GET
    • Use a specific template
      POST
  • reference
    • Lists available languages
      GET
    • Lists available countries
      GET
  • projects
    • Lists projects
      GET
  • webhooks
    • Lists webhooks
      GET
    • Creates a webhook
      POST
    • Deletes a webhook
      DELETE
  • app-results
    • Get last result rows of an app (e.g. as examples)
      GET
  • userInfo
    • get user information
      GET
  1. webhooks

Deletes a webhook

DELETE
https://api.promptmate.io/v1/webhooks
webhooks
Deletes a webhook. Rate limit is 500 requests per minute.

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Header Params
x-api-key
string 
required
Example:
YOUR_API_KEY
User-Agent
string 
optional
Example:
promptmate.io
Body Params application/json
webhookId
string 
optional
Unique identifier for the webhook. This or webhookReference is required.
webhookReference
string 
optional
Your webhook reference, can be used to delete it. This or webhookId is required.
Example
{
    "webhookId": "string",
    "webhookReference": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.promptmate.io/v1/webhooks' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
    "webhookId": "string",
    "webhookReference": "string"
}'

Responses

🟢200OK
application/json
Webhook deleted
Body
message
string 
optional
Example
{
    "message": "string"
}
🔴500Server Error
Previous
Creates a webhook
Next
Get last result rows of an app (e.g. as examples)
Built with