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

# Update Callback URL

> Update your callback url.



## OpenAPI

````yaml patch /wh
openapi: 3.0.1
info:
  title: OpenAPI ESO
  description: ESO
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://v2.easystreetoffers.com/api/v2
security:
  - ApiKeyAuth: []
paths:
  /wh:
    patch:
      description: Update your callback url.
      requestBody:
        description: Update callback url
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/webhook_request'
        required: true
      responses:
        '201':
          description: webhook url updated
        '400':
          description: unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    webhook_request:
      type: object
      properties:
        url:
          type: string
          format: uri
          example: https://example.com/webhook
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

````