Retired: records are read by dataset
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/webhooks/{id}/recordsconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/webhooks/{id}/records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/webhooks/{id}/records"
response = requests.get(url)
print(response.text){
"error": "<string>",
"dataset": "<string>",
"records_path": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}Records
Retired: records are read by dataset
deprecated
GET
/
admin
/
api
/
projects
/
{project_id}
/
webhooks
/
{id}
/
records
Retired: records are read by dataset
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/webhooks/{id}/recordsconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/webhooks/{id}/records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/webhooks/{id}/records"
response = requests.get(url)
print(response.text){
"error": "<string>",
"dataset": "<string>",
"records_path": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}