curl --request POST \
--url https://api.mixpeek.com/v1/organizations/webhooks/ \
--header 'Content-Type: application/json' \
--data '{
"webhook_id": "<string>",
"webhook_name": "<string>",
"internal_id": "<string>",
"event_types": [
"object.created"
],
"channels": [
{
"channel": "email",
"configs": {
"to_addresses": [
"<string>"
],
"subject_template": "<string>",
"body_template": "<string>",
"content_type": "html",
"cc_addresses": [
"<string>"
],
"bcc_addresses": [
"<string>"
]
}
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}'
{
"webhook_id": "<string>",
"webhook_name": "<string>",
"event_types": [
"object.created"
],
"channels": [
{
"channel": "email",
"configs": {
"to_addresses": [
"<string>"
],
"subject_template": "<string>",
"body_template": "<string>",
"content_type": "html",
"cc_addresses": [
"<string>"
],
"bcc_addresses": [
"<string>"
]
}
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Create a new webhook for the user’s organization.
curl --request POST \
--url https://api.mixpeek.com/v1/organizations/webhooks/ \
--header 'Content-Type: application/json' \
--data '{
"webhook_id": "<string>",
"webhook_name": "<string>",
"internal_id": "<string>",
"event_types": [
"object.created"
],
"channels": [
{
"channel": "email",
"configs": {
"to_addresses": [
"<string>"
],
"subject_template": "<string>",
"body_template": "<string>",
"content_type": "html",
"cc_addresses": [
"<string>"
],
"bcc_addresses": [
"<string>"
]
}
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}'
{
"webhook_id": "<string>",
"webhook_name": "<string>",
"event_types": [
"object.created"
],
"channels": [
{
"channel": "email",
"configs": {
"to_addresses": [
"<string>"
],
"subject_template": "<string>",
"body_template": "<string>",
"content_type": "html",
"cc_addresses": [
"<string>"
],
"bcc_addresses": [
"<string>"
]
}
}
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'
Represents a configured webhook for an organization.
Successful Response
Represents a configured webhook for an organization.
Was this page helpful?