DeepFellow DOCS

Modify project webhook endpoint

PUT
/v1/organization/projects/{project_id}/webhooks/{webhook_id}

Modify a webhook endpoint in the project.

Authorization

headerAuthorizationBearer <token>

Path Parameters

webhook_id*string

The ID of the webhook endpoint.

Match^[0-9a-fA-F]{24}$
project_id*string

The ID of the project.

Match^[0-9a-fA-F]{24}$

Header Parameters

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.

Request Body

application/json
  1. 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.

Response Body

Successful Response

application/json
  1. response

Project webhook endpoint view for the API. Never includes the secret.

id*string

A 24-character hexadecimal MongoDB ObjectId string.

Match^[0-9a-fA-F]{24}$
object*string
url*string
events*array<>|

The webhook event types this endpoint receives.

created_at*integer
Example Request
curl -X PUT 'https://deepfellow-server-host/v1/organization/projects/5eb7cf5a86d9755df3a6c593/webhooks/5eb7cf5a86d9755df3a6c593' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "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.