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

# Rotate webhook signing secret

> Rotates the signing secret for a webhook. The new secret will be returned in the response.



## OpenAPI

````yaml https://cdn.quo.com/public-api/openphone-public-api-2026-03-30-prod.json post /webhooks/{webhookId}/rotate
openapi: 3.1.0
info:
  title: Quo Public API
  version: 1.0.0
  description: API for connecting with Quo.
  contact:
    name: Quo Support
    email: support@quo.com
    url: https://support.quo.com/
  termsOfService: https://www.quo.com/terms
servers:
  - description: Production server
    url: https://api.quo.com
security:
  - apiKey: []
tags:
  - description: Operations related to the organization's A2P registration
    name: A2P Registration
  - description: Operations related to calls placed by an AI agent
    name: Agent Calls
  - description: Operations related to text conversations held by an AI agent
    name: Agent Conversations
  - description: Operations related to calls
    name: Calls
  - description: >-
      Operations related to call summaries, including AI-generated summaries and
      Sona voice assistant summaries
    name: Call Summaries
  - description: >-
      Operations related to call transcripts, including AI-generated transcripts
      and Sona voice assistant transcripts
    name: Call Transcripts
  - description: Operations related to contacts
    name: Contacts
  - description: Operations related to contact shares
    name: Contact Shares
  - description: Operations related to contact notes
    name: Contact Notes
  - description: Operations related to contact properties
    name: Contact Properties
  - description: Operations related to conversations
    name: Conversations
  - description: Operations related to workspace invitations
    name: Invites
  - description: Operations related to text messages
    name: Messages
  - description: Operations related to the organization
    name: Organization
  - description: Operations related to phone numbers
    name: Phone Numbers
  - description: Operations related to users
    name: Users
  - description: Operations related to webhooks
    name: Webhooks
  - description: >-
      Operations related to webhook events, including delivery history and test
      events
    name: Webhook Events
paths:
  /webhooks/{webhookId}/rotate:
    post:
      tags:
        - Webhooks
      summary: Rotate webhook signing secret
      description: >-
        Rotates the signing secret for a webhook. The new secret will be
        returned in the response.
      operationId: rotateHeaderVersionedWebhookSecret
      parameters:
        - in: path
          name: webhookId
          required: true
          schema:
            type: string
            description: The unique identifier of a webhook
            examples:
              - '123'
            pattern: ^[0-9]+$
          example: '123'
        - in: header
          name: Quo-Api-Version
          required: true
          schema:
            type: string
            enum:
              - '2026-03-30'
            description: 'API version header. Supported values: 2026-03-30'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    type: object
                    required:
                      - key
                    properties:
                      key:
                        type: string
                        description: >-
                          The webhook signing secret used to validate webhook
                          signatures.
                        examples:
                          - whsec_exampleSecret
                        example: whsec_exampleSecret
        '400':
          description: >-
            Invalid Resource Id Type | Input Too Long | Bad Request | Invalid
            Input Format | Invalid Version | Invalid Id
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/InvalidResourceIdTypeError'
                  - $ref: '#/components/schemas/InputTooLongError'
                  - $ref: '#/components/schemas/BadRequestError2'
                  - $ref: '#/components/schemas/InvalidInputFormatError'
                  - $ref: '#/components/schemas/InvalidVersionError'
                  - $ref: '#/components/schemas/InvalidIdError'
              examples:
                InvalidIdError:
                  summary: Invalid Id
                  value:
                    message: '/webhookId: Expected string to match ''^[0-9]+$'''
                    docs: https://quo.com/docs
                    title: Bad Request
                    errors:
                      - path: /webhookId
                        message: Expected string to match '^[0-9]+$'
                        value: abc123
                        schema:
                          type: String
                          pattern: ^[0-9]+$
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - code
                  - status
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  code:
                    type: string
                    const: '0300401'
                  status:
                    type: number
                    const: 401
                  docs:
                    type: string
                    const: https://quo.com/docs
                  title:
                    type: string
                    const: Unauthorized
                  trace:
                    type: string
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                        - path
                        - message
                        - schema
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                        value: {}
                        schema:
                          type: object
                          required:
                            - type
                          properties:
                            type:
                              type: string
              example:
                message: You are unauthorized to access the webhook
                docs: https://quo.com/docs
                title: Unauthorized
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - code
                  - status
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  code:
                    type: string
                    const: '0300403'
                  status:
                    type: number
                    const: 403
                  docs:
                    type: string
                    const: https://quo.com/docs
                  title:
                    type: string
                    const: Forbidden
                  trace:
                    type: string
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                        - path
                        - message
                        - schema
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                        value: {}
                        schema:
                          type: object
                          required:
                            - type
                          properties:
                            type:
                              type: string
              example:
                message: You are forbidden to access the webhook
                docs: https://quo.com/docs
                title: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                  - code
                  - status
                  - docs
                  - title
                properties:
                  message:
                    type: string
                  code:
                    type: string
                    const: '0300404'
                  status:
                    type: number
                    const: 404
                  docs:
                    type: string
                    const: https://quo.com/docs
                  title:
                    type: string
                    const: Not Found
                  trace:
                    type: string
                  errors:
                    type: array
                    items:
                      type: object
                      required:
                        - path
                        - message
                        - schema
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                        value: {}
                        schema:
                          type: object
                          required:
                            - type
                          properties:
                            type:
                              type: string
              example:
                message: Webhook with ID 123 not found
                docs: https://quo.com/docs
                title: Not Found
        '500':
          description: Unexpected Error | Unknown Error
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/UnexpectedError2'
                  - $ref: '#/components/schemas/UnknownError2'
              examples:
                UnexpectedError2:
                  summary: Unexpected Error
                  value:
                    message: An unexpected error occurred
                    docs: https://quo.com/docs
                    title: Unexpected Error
                UnknownError2:
                  summary: Unknown Error
                  value:
                    message: An unknown error occurred
                    docs: https://quo.com/docs
                    title: Unknown Error
      security:
        - apiKey: []
components:
  schemas:
    InvalidResourceIdTypeError:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
        - description
      properties:
        message:
          type: string
        code:
          type: string
          const: '0301400'
        status:
          type: number
          const: 400
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Invalid Resource Id Type
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
        description:
          type: string
          const: Invalid Resource Id Type
      title: Invalid Resource Id Type
    InputTooLongError:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
        - description
      properties:
        message:
          type: string
        code:
          type: string
          const: '0302400'
        status:
          type: number
          const: 400
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Input Too Long
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
        description:
          type: string
          const: Input Too Long
      title: Input Too Long
    BadRequestError2:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
      properties:
        message:
          type: string
        code:
          type: string
          const: '0300400'
        status:
          type: number
          const: 400
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Bad Request
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
      title: Bad Request
    InvalidInputFormatError:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
        - description
      properties:
        message:
          type: string
        code:
          type: string
          const: '0304400'
        status:
          type: number
          const: 400
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Invalid Input Format
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
        description:
          type: string
          const: Invalid Input Format
      title: Invalid Input Format
    InvalidVersionError:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
        - description
      properties:
        message:
          type: string
        code:
          type: string
          const: '0305400'
        status:
          type: number
          const: 400
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Invalid Version
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
        description:
          type: string
          const: Invalid Version
      title: Invalid Version
    InvalidIdError:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
        - description
      properties:
        message:
          type: string
        code:
          type: string
          const: '0303400'
        status:
          type: number
          const: 400
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Invalid Id
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
        description:
          type: string
          const: Invalid Id
      title: Invalid Id
    UnexpectedError2:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
      properties:
        message:
          type: string
        code:
          type: string
          const: '0300500'
        status:
          type: number
          const: 500
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Unexpected
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
      title: Unexpected Error
    UnknownError2:
      type: object
      required:
        - message
        - code
        - status
        - docs
        - title
      properties:
        message:
          type: string
        code:
          type: string
          const: '0301500'
        status:
          type: number
          const: 500
        docs:
          type: string
          const: https://quo.com/docs
        title:
          type: string
          const: Unknown
        trace:
          type: string
        errors:
          type: array
          items:
            type: object
            required:
              - path
              - message
              - schema
            properties:
              path:
                type: string
              message:
                type: string
              value: {}
              schema:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
      title: Unknown Error
  securitySchemes:
    apiKey:
      in: header
      name: Authorization
      type: apiKey

````