Modify project webhook endpoint
Modify a webhook endpoint in the project.
AuthorizationBearer <token>webhook_id*stringThe ID of the webhook endpoint.
^[0-9a-fA-F]{24}$project_id*stringThe ID of the project.
^[0-9a-fA-F]{24}$OpenAI-Organization?|Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.
application/json- body
Model for updating a project webhook endpoint.
url?|The updated HTTPS endpoint that receives webhook event callbacks.
events?array<>||The updated webhook event types this endpoint receives.
secret?|A new secret to rotate to. Revealed once, in this call's response, if provided.
Successful Response
application/json- response
Project webhook endpoint view for the API. Never includes the secret.
id*stringA 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$object*stringurl*stringevents*array<>|The webhook event types this endpoint receives.
created_at*integercurl -X PUT 'https://deepfellow-server-host/v1/organization/projects/5eb7cf5a86d9755df3a6c593/webhooks/5eb7cf5a86d9755df3a6c593' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "5eb7cf5a86d9755df3a6c593", "object": "organization.project.webhook_endpoint", "url": "string", "events": [ "vector_store.file_batch.completed" ], "created_at": 0}We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.