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

# Refresh SDK Session

> Send a heartbeat to maintain an active SDK reporting session and extend token validity.



## OpenAPI

````yaml /openapi.json post /sdk/heartbeat
openapi: 3.0.0
info:
  description: >-
    This is the API server for Fivemanage, providing endpoints for media
    management, logging, and SDK integration.
  title: Fivemanage API
  termsOfService: https://fivemanage.com/legal/terms-of-service
  contact:
    name: Support
    email: support@fivemanage.com
  version: '1.0'
servers:
  - url: https://api.fivemanage.com/api
security: []
paths:
  /sdk/heartbeat:
    post:
      tags:
        - SDK Integration
      summary: Refresh SDK Session
      description: >-
        Send a heartbeat to maintain an active SDK reporting session and extend
        token validity.
      parameters:
        - description: SDK token
          name: Authorization
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.SdkHeartbeatResponse'
        '401':
          description: Unauthorized - missing token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
        '403':
          description: Forbidden - token expired or invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
components:
  schemas:
    api.SdkHeartbeatResponse:
      type: object
      properties:
        expiresAt:
          type: string
          example: '2024-03-24T15:04:05Z'
        message:
          type: string
          example: Heartbeat received
    api.ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Error message

````