Skip to main content
POST
/
v1
/
webhook-endpoints
Create Endpoint
curl --request POST \
  --url https://api.glialhealth.com/v1/webhook-endpoints \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": []
}
'
{
  "active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "events": [
    "<string>"
  ],
  "id": "<string>",
  "secret": "<string>",
  "secret_prefix": "<string>",
  "url": "<string>",
  "object": "webhook_endpoint"
}

Headers

authorization
string | null

Body

application/json
url
string<uri>
required
Required string length: 1 - 2083
events
enum<string>[] | null
Available options:
document.completed,
document.partially_completed,
document.failed

Response

Successful Response

active
boolean
required
created_at
string<date-time>
required
events
string[] | null
required
id
string
required
secret
string
required
secret_prefix
string
required
url
string
required
object
string
default:webhook_endpoint