# Get Developer Workflow Webhook Endpoint

> Return an active, published webhook URL; never exposed as an MCP tool.

Source: [https://genhealth.ai/docs/workflows/api-reference/v1/workflow-developer-api/get-developer-workflow-webhook-endpoint](https://genhealth.ai/docs/workflows/api-reference/v1/workflow-developer-api/get-developer-workflow-webhook-endpoint)

## Endpoint

`GET /developer/v1/workflows/{definition_id}/webhook-endpoint`

## Authentication

Send a GenHealth credential in the `Authorization` header:

```http
Authorization: Bearer <YOUR_API_KEY>
Accept: application/json
```

Required scopes: `workflow:run`

## Parameters

| Name | Location | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `definition_id` | path | string | Yes | No description provided. |

## Request examples

### cURL

```curl
curl --request GET \
  --url 'https://api.umpa.genhealth.ai/developer/v1/workflows/{definition_id}/webhook-endpoint' \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  --header 'Accept: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.umpa.genhealth.ai/developer/v1/workflows/{definition_id}/webhook-endpoint', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer <YOUR_API_KEY>',
    Accept: 'application/json',
  },
});

const data = await response.json();
```

### Python

```python
import requests

response = requests.get(
    'https://api.umpa.genhealth.ai/developer/v1/workflows/{definition_id}/webhook-endpoint',
    headers={
        'Authorization': 'Bearer <YOUR_API_KEY>',
        'Accept': 'application/json',
    },
)

data = response.json()
```

## Responses

| Status | Description |
| --- | --- |
| 200 | Successful Response |
| 422 | Validation Error |

### 200 response example

```json
{
  "workflow_id": "string",
  "version_id": "string",
  "provider": "string",
  "url": "string",
  "draft": true,
  "live": true
}
```

### 422 response example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
```
