Create account webhook
This endpoint allows you to create a new webhook for the current account.
Request schema
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
example:
application/json
default:
application/json
Request
url
stringrequired
Your webhooks URL endpoint for your application.
example:
events
array
The array of event types.
type:
string
example:
active
boolean
Boolean, if set to true, webhooks are immediately sent in response to events.
example:
secret
string
The secret string used for payload signing.
example:
Http + 1.1
POST
https://api.fivetran.com/v1/webhooks/account
POST /v1/webhooks/account HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 4
null
Responses
200
Successful response
Successful response schema
code
stringrequired
Response status code
example:
message
string
Response status text
example:
data
objectrequired
id
stringrequired
The webhook ID.
example:
type
stringrequired
The webhook type.
example:
enum:
"group""account"
url
stringrequired
Your webhooks URL endpoint for your application.
example:
events
array
The array of event types.
type:
string
example:
active
booleanrequired
Boolean, if set to true, webhooks are immediately sent in response to events.
example:
secret
string
The secret string used for payload signing.
example:
created_at
stringrequired
The webhook creation timestamp.
format:
date-time
example:
created_by
stringrequired
The ID of the user who created the webhook.
example:
group_id
string
The group ID.
example:
null