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

Lists webhooks

GET
https://api.promptmate.io/v1/webhooks
webhooks
Returns a list of available webhooks. The webhooks are UserBased. 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

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 GET 'https://api.promptmate.io/v1/webhooks' \
--header 'x-api-key;'

Responses

🟢200OK
application/json
A list of webhooks
Body
array of:
webhookId
string 
optional
Unique identifier for the webhook.
webhookName
string 
optional
Name of the webhook.
restrictedAppIds
array[string]
optional
Restrict the webhook to specific apps. If no apps defined it will be triggered for all apps.
webhookType
enum<string> 
optional
'job' triggers the webhook after the complete job has finished. 'row' triggers the webhook after each row has finished. The data which will be send is an array with the result data (in case of row it will contain only one)
Allowed values:
jobrow
endpointUrl
string 
optional
URL of which will be called by the webhook.
webhookReference
string 
optional
Your webhook reference, can be used to delete it.
Example
[
    {
        "webhookId": "string",
        "webhookName": "string",
        "restrictedAppIds": [
            "string"
        ],
        "webhookType": "job",
        "endpointUrl": "string",
        "webhookReference": "string"
    }
]
🔴500Server Error
Previous
Lists projects
Next
Creates a webhook
Built with