> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get webhook URL

> Retrieve inbound webhook URL for webhook-triggered workflows.

Retrieves the public inbound webhook endpoint URL configured for a workflow. External applications can post payloads to this URL to trigger workflow execution.

### Path Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | **Yes** | Unique identifier of the workflow (`wkf_...`). |

### cURL Example

```bash theme={null}
curl "https://posttu.com/api/v1/workflow/wkf_abc123/webhook" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

### Response Example

```json theme={null}
{
  "data": {
    "workflowId": "wkf_abc123",
    "webhookUrl": "https://posttu.com/api/v1/webhooks/workflows/wkf_abc123",
    "triggerType": "WEBHOOK"
  },
  "success": true
}
```


## OpenAPI

````yaml openapi.json GET /api/v1/workflow/{id}/webhook
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/workflow/{id}/webhook:
    get:
      tags:
        - Workflow
      summary: Get workflow webhook URL
      description: >-
        Retrieve the inbound webhook endpoint URL configured for a
        webhook-triggered workflow.
      parameters:
        - schema:
            type: string
            description: Workflow ID
            example: wkf_123abc
          required: true
          description: Workflow ID
          name: id
          in: path
      responses:
        '200':
          description: Webhook URL details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowWebhookUrlResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '404':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WorkflowWebhookUrlResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            workflowId:
              type: string
            webhookUrl:
              type: string
              format: uri
            triggerType:
              type: string
          required:
            - workflowId
            - webhookUrl
            - triggerType
        success:
          type: boolean
          default: true
      required:
        - data
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.