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

# Create Endpoint



## OpenAPI

````yaml https://api.openwearables.io/openapi.json post /api/v1/webhooks/endpoints
openapi: 3.1.0
info:
  title: Open Wearables API
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/webhooks/endpoints:
    post:
      tags:
        - 'External: Webhooks'
      summary: Create Endpoint
      operationId: create_endpoint_api_v1_webhooks_endpoints_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointCreateRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    EndpointCreateRequest:
      properties:
        url:
          type: string
          title: Url
          description: HTTPS URL where webhook payloads will be sent.
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Human-readable label for this endpoint.
        filter_types:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Filter Types
          description: Only deliver events of these types. Empty / None = all types.
        user_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: User Id
          description: Subscribe only to events for this user. Empty / None = all users.
      type: object
      required:
        - url
      title: EndpointCreateRequest
    EndpointResponse:
      properties:
        id:
          type: string
          title: Id
        url:
          type: string
          title: Url
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        filter_types:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Filter Types
        user_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: User Id
      type: object
      required:
        - id
        - url
      title: EndpointResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /api/v1/auth/login

````