# List all identity verification secrets

`GET /secure_mode_secrets`

> This is a subset of the full specification, limited to the `GET /secure_mode_secrets` operation.
>
> You can find the full specification here: /_bundle/docs/references/@Preview/rest-api/api.intercom.io.yaml

```yaml
openapi: 3.0.1
info:
  title: Intercom API
  version: Preview
  description: This is a subset of the full specification, limited to the `GET /secure_mode_secrets` operation.
  contact:
    name: Intercom Developer Hub
    url: https://developers.intercom.com
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
servers:
  - url: https://api.intercom.io
    description: The production API server
  - url: https://api.eu.intercom.io
    description: The european API server
  - url: https://api.au.intercom.io
    description: The australian API server
security:
  - bearerAuth: []
tags:
  - name: Identity Verification Secrets
    description: Manage HMAC signing secrets for Messenger identity verification — list, create, and rotate out. Signing material is returned only once, at creation time.
paths:
  /secure_mode_secrets:
    get:
      summary: List all identity verification secrets
      parameters:
        - name: Intercom-Version
          in: header
          schema:
            $ref: '#/components/schemas/intercom_version'
      tags:
        - Identity Verification Secrets
      operationId: listIdentityVerificationSecrets
      description: |
        Returns the identity verification secrets configured for your workspace.

        Each entry includes metadata only — the HMAC signing material itself is **never** returned by this endpoint. The raw secret is only available once, in the response to `POST /secure_mode_secrets`. Persist it at that moment.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              examples:
                Successful response:
                  value:
                    type: list
                    data:
                      - type: identity_verification_secret
                        id: '102'
                        name: Production Web
                        supports_android: false
                        supports_ios: false
                        supports_web: true
                        created_at: 1734537243
                        environment_id: null
              schema:
                $ref: '#/components/schemas/identity_verification_secret_list'
        '401':
          description: Unauthorized
          content:
            application/json:
              examples:
                Unauthorized:
                  value:
                    type: error.list
                    request_id: 6f8e61d8-6a9a-4f1e-bfbb-6c7c0c0aef1c
                    errors:
                      - code: unauthorized
                        message: Access Token Invalid
              schema:
                $ref: '#/components/schemas/error'
components:
  schemas:
    error:
      type: object
      title: Error
      description: The API will return an Error List for a failed request, which will contain one or more Error objects.
      properties:
        type:
          type: string
          description: The type is error.list
          example: error.list
        request_id:
          type: string
          nullable: true
          format: uuid
          description: ''
          example: f93ecfa8-d08a-4325-8694-89aeb89c8f85
        errors:
          type: array
          description: An array of one or more error objects
          items:
            properties:
              code:
                type: string
                description: A string indicating the kind of error, used to further qualify the HTTP response code.
                example: unauthorized
              message:
                type: string
                nullable: true
                description: Optional. Human readable description of the error.
                example: Access Token Invalid
              data:
                type: object
                nullable: true
                additionalProperties: true
                description: Optional. Extra detail about the error, for example `required_permissions` on a 403 `action_forbidden` error.
                example:
                  required_permissions:
                    - read_conversations
            required:
              - code
      required:
        - type
        - errors
    identity_verification_secret:
      title: Identity Verification Secret
      type: object
      x-tags:
        - Identity Verification Secrets
      description: Metadata for an HMAC secret used to sign `user_hash` values for Messenger identity verification. The `secret` field is intentionally omitted — it is only returned once, in the response to `POST /secure_mode_secrets`.
      properties:
        type:
          type: string
          description: value is "identity_verification_secret"
          example: identity_verification_secret
        id:
          type: string
          description: The id of the secret
          example: '102'
        name:
          type: string
          description: Human-readable name for the secret, used to identify it in rotation flows
          example: Production Web
        supports_android:
          type: boolean
          description: Whether the secret is enabled for the Android SDK
          example: false
        supports_ios:
          type: boolean
          description: Whether the secret is enabled for the iOS SDK
          example: false
        supports_web:
          type: boolean
          description: Whether the secret is enabled for the Messenger on web
          example: true
        created_at:
          type: integer
          description: The time the secret was created, as a Unix timestamp
          example: 1734537243
        environment_id:
          type: string
          nullable: true
          description: The `messenger_environment` value of the environment the secret is limited to, or `null` if the secret works in every environment
          example: k3x9q2m7pa
    identity_verification_secret_list:
      title: Identity Verification Secrets
      type: object
      description: A list of identity verification secrets for the workspace. The `secret` field is intentionally omitted from each entry.
      properties:
        type:
          type: string
          description: The type of the object
          enum:
            - list
          example: list
        data:
          type: array
          description: The identity verification secrets configured for the workspace.
          items:
            $ref: '#/components/schemas/identity_verification_secret'
    intercom_version:
      description: Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
      type: string
      example: Preview
      enum:
        - '1.0'
        - '1.1'
        - '1.2'
        - '1.3'
        - '1.4'
        - '2.0'
        - '2.1'
        - '2.2'
        - '2.3'
        - '2.4'
        - '2.5'
        - '2.6'
        - '2.7'
        - '2.8'
        - '2.9'
        - '2.10'
        - '2.11'
        - '2.12'
        - '2.13'
        - '2.14'
        - '2.15'
        - '2.16'
        - '2.17'
        - '2.18'
        - Preview
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
