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

# Refresh Instagram Token

> Refreshes the Instagram access token if it's close to expiring



## OpenAPI

````yaml POST /instagram/refresh-token
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /instagram/refresh-token:
    post:
      summary: Refresh Instagram Token
      description: Refreshes the Instagram access token if it's close to expiring
      responses:
        '200':
          description: Token refresh status
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
        '400':
          description: Instagram account not connected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````