List webhook subscriptions
curl --request GET \
--url https://api.tela.com/prompt-application/{id}/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tela.com/prompt-application/{id}/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tela.com/prompt-application/{id}/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tela.com/prompt-application/{id}/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tela.com/prompt-application/{id}/webhooks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tela.com/prompt-application/{id}/webhooks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tela.com/prompt-application/{id}/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a",
"promptApplicationId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
"name": "ERP sync",
"url": "https://erp.example.com/hooks/tela",
"events": [
"task.completed",
"task.approved"
],
"headers": {
"authorization": "Bearer erp-webhook-token"
},
"sensitiveHeaders": [
"authorization"
],
"method": "POST",
"isActive": true,
"createdAt": "2025-06-10T08:00:00.000Z",
"updatedAt": "2025-06-10T08:00:00.000Z",
"deletedAt": null
}
],
"meta": {
"totalCount": 1,
"limit": 10,
"offset": 0,
"currentPage": 1,
"totalPages": 1,
"links": {
"first": "?limit=10&offset=0",
"last": "?limit=10&offset=0",
"next": null,
"previous": null
}
}
}Webhook
List webhook subscriptions
Returns the webhook subscriptions of an application, newest first, with pagination metadata.
GET
/
prompt-application
/
{id}
/
webhooks
List webhook subscriptions
curl --request GET \
--url https://api.tela.com/prompt-application/{id}/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tela.com/prompt-application/{id}/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tela.com/prompt-application/{id}/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tela.com/prompt-application/{id}/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tela.com/prompt-application/{id}/webhooks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tela.com/prompt-application/{id}/webhooks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tela.com/prompt-application/{id}/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a",
"promptApplicationId": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
"name": "ERP sync",
"url": "https://erp.example.com/hooks/tela",
"events": [
"task.completed",
"task.approved"
],
"headers": {
"authorization": "Bearer erp-webhook-token"
},
"sensitiveHeaders": [
"authorization"
],
"method": "POST",
"isActive": true,
"createdAt": "2025-06-10T08:00:00.000Z",
"updatedAt": "2025-06-10T08:00:00.000Z",
"deletedAt": null
}
],
"meta": {
"totalCount": 1,
"limit": 10,
"offset": 0,
"currentPage": 1,
"totalPages": 1,
"links": {
"first": "?limit=10&offset=0",
"last": "?limit=10&offset=0",
"next": null,
"previous": null
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workstation application ID
Query Parameters
Filter by active state.
Only return webhooks subscribed to this event. Events a webhook can subscribe to:
task.completed— a task run finished successfully and is ready for review.task.approved— a task was reviewed and approved.task.approval-revoke— an approved task was sent back tovalidating.task.failed— a task run ended with a failure (errorMessageis set in the payload).
Available options:
task.completed, task.approved, task.approval-revoke, task.failed Page size. Defaults to 10, clamped to 1–100.
Required range:
1 <= x <= 100Number of items to skip. Defaults to 0.
Required range:
x >= 0When true, meta.links are returned as objects instead of query strings.
Accepted for compatibility but ignored; use offset.