Create a webhook
Changed onRegisters a webhook endpoint.
Request
- Base URLhttps://api.dnsimple.com/v2
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The account id
Request body
Response
Successfully created a webhook.
Example response
{
"data": {
"id": 1,
"url": "https://webhook.test",
"suppressed_at": "2022-06-07T17:45:13Z"
}
}Changes
- breaking
the response property
/became nullable for the status - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking
- breaking
the response property
became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status
- breaking