Get webhooks
/api/account/webhooks
Get all webhooks configured for the authenticated account
Returns
status: optional string
Get webhooks
curl https://api.sendblue.co/api/account/webhooks \
-H "sb-api-key-id: $SENDBLUE_API_API_KEY" \
-H "sb-api-secret-key: $SENDBLUE_API_API_SECRET"
{
"status": "OK",
"webhooks": {
"globalSecret": "whsec_global123",
"line_assigned": [
"https://example.com"
],
"line_blocked": [
"https://example.com"
],
"outbound": [
"https://example.com"
],
"receive": [
"https://example.com"
]
}
}
Returns Examples
{
"status": "OK",
"webhooks": {
"globalSecret": "whsec_global123",
"line_assigned": [
"https://example.com"
],
"line_blocked": [
"https://example.com"
],
"outbound": [
"https://example.com"
],
"receive": [
"https://example.com"
]
}
}