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

# returns a list of tokens for a snippet

> returns a list of tokens for a snippet
<br /><br />
<b>Authentication:</b> required

Use this endpoint to get a list of tokens for a snippet.


## OpenAPI

````yaml get /snippet/{canonical}/token
openapi: 3.0.0
info:
  title: Xano Metadata API
  description: >-
    The <a href="https://docs.xano.com/xano-features/metadata-api"
    target="_blank">Metadata API</a>

    is currently in <strong>beta</strong> and is the next
      evolution of the Developer API. It provides support
    to programatically manage your Xano schema and content and uses Access
    Tokens to

    control access.

    <br /><br />

    This portion of the Metadata supports retrieving details on the instances
    linked to your Xano account. Additional Metadata API functionality is
    available within the <strong>meta_api</strong> key of each instance.
  version: 0.0.1
servers:
  - url: https://app.xano.com/api:meta
security: []
paths:
  /snippet/{canonical}/token:
    get:
      tags:
        - snippet / token
      summary: returns a list of tokens for a snippet
      description: |-
        returns a list of tokens for a snippet
        <br /><br />
        <b>Authentication:</b> required
      parameters:
        - name: canonical
          in: path
          description: ''
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success!
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    created_at:
                      type: string
                      format: timestamptz
                      description: ''
                      default: 2023-05-09 21:31:20+0000
                    updated_at:
                      type: string
                      format: timestamptz
                      description: ''
                      default: 2023-05-09 21:31:20+0000
                    token:
                      type: string
                      description: ''
                      default: OL3T4JYM
                    max_installs:
                      type: integer
                      format: int64
                      description: ''
                      default: 23
                    current_installs:
                      type: integer
                      format: int64
                      description: ''
        '400':
          description: Input Error. Check the request payload for issues.
        '401':
          description: Unauthorized
        '403':
          description: >-
            Access denied. Additional privileges are needed access the requested
            resource.
        '404':
          description: Not Found. The requested resource does not exist.
        '429':
          description: Rate Limited. Too many requests.
        '500':
          description: Unexpected error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````