Create a new webhook for the organization
Send your access token as header Authorization: Bearer {accessToken}
Your API key that starts with sk_live or sk_test. You can create yours at go.bitgpt.xyz/api-keys.
Request body for creating a new webhook
Human-readable label for the webhook
255URL where webhook events will be sent
List of events this webhook subscribes to
Webhook event for when an API key is created
api_key.created "product.created"
Description for the webhook
Successful webhook response
Status code of the response
200, 201, 202 Response data containing the requested object
Message of the response, human readable
"Resource created successfully"
API environment
development, production Error message of the response, human readable
"Invalid email address"
Useful informaiton, not always present, to debug the response
{ "request_id": "req_1234567890" }"Some pertinent log message"
Validator response object, each key is the field name and value is the error message
{
"email": "Invalid email address",
"password": "Password is required"
}Support ID linked to the response, used to identify it when talking with our team
"support_uuidv7-something-else"