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

# Authorize Tokenize/Burn



## OpenAPI

````yaml POST /get-token-authorization
openapi: 3.0.0
info:
  version: 1.0.0
  title: Bison API
servers: []
security: []
paths:
  /get-token-authorization:
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                chain:
                  type: string
                  enum:
                    - base
                    - bsc
                  description: 'Chain to execute the action on; one of: base, bsc'
                  example: base
                marketId:
                  type: string
                  description: ID of the market to mint/burn in
                  example: PRES-2024
                ccontracts:
                  type: string
                  description: >-
                    Number of ccontracts as a positive integer string (scaled by
                    market precision). For precision 2, 1 contract = 100
                    ccontracts.
                  example: '1050'
                action:
                  type: string
                  enum:
                    - mint
                    - burn
                  description: >-
                    Action to execute; one of: mint (mint tokens), burn (burn
                    tokens)
                  example: mint
                side:
                  type: string
                  enum:
                    - 'yes'
                    - 'no'
                  description: Side of the market (yes or no)
                  example: 'yes'
                userAddress:
                  type: string
                  pattern: ^0x[a-fA-F0-9]{40}$
                  description: User wallet address
                  example: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
              required:
                - chain
                - marketId
                - ccontracts
                - action
                - side
                - userAddress
      responses:
        '200':
          description: Authorization generated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  uuid:
                    type: string
                    description: Unique authorization ID
                  signature:
                    type: string
                    description: EIP-712 signature for the authorization
                  expiresAt:
                    type: number
                    description: Unix timestamp when authorization expires
                required:
                  - uuid
                  - signature
                  - expiresAt
        '400':
          description: Invalid request (validation error)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '404':
          description: Market not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '500':
          description: Failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error

````