Skip to main content
GET
/
organizations
/
{organization}
/
databases
/
{database}
/
webhooks
/
{id}
Get a webhook
curl --request GET \
  --url https://api.planetscale.com/v1/organizations/{organization}/databases/{database}/webhooks/{id} \
  --header 'Authorization: <api-key>'
{
  "id": "<string>",
  "url": "<string>",
  "secret": "<string>",
  "enabled": true,
  "last_sent_result": "<string>",
  "last_sent_success": true,
  "last_sent_at": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "events": [
    "branch.ready"
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

organization
string
required
database
string
required
id
string
required

Response

id
string
required
url
string
required
secret
string
required
enabled
boolean
required
last_sent_result
string
required
last_sent_success
boolean
required
last_sent_at
string
required
created_at
string
required
updated_at
string
required
events
enum<string>[]
required