Haptik Log File From User API

The Log File From User API from Haptik — 1 operation(s) for log file from user.

Operations 1

POST /v1.0/log_file_from_user/ File upload API allows you to upload user files via a POST request to the… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/haptik:haptik-log-file-from-user-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

haptik-log-file-from-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Haptik Log File From User API
  version: '2026-10-13'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-13: 12 operation(s) read from 6 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Haptik has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 5
    documentation: 7
    pages-with-code: 6
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-13'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.haptik.ai/bot-as-an-api/how-to-send-file-to-haptik-using-api
  - https://docs.haptik.ai/bot-as-an-api/how-to-send-message-to-haptik-using-api
  - https://docs.haptik.ai/bot-as-an-api/how-to-send-feedback-to-haptik-using-api
  - https://docs.haptik.ai/bot-as-an-api/how-to-createupdate-a-haptik-user-using-api
  - https://docs.haptik.ai/developer-guides/what-are-the-different-apis-that-can-be-used-on-conversation-studio
  - https://docs.haptik.ai/cibil-integration/how-to-generate-p12-certificate-for-cibil
servers:
- url: https://staging-messenger.haptikapi.com
security:
- bearer: []
tags:
- name: Log File From User
paths:
  /v1.0/log_file_from_user/:
    post:
      operationId: post_v1_0_log_file_from_user
      tags:
      - Log File From User
      summary: File upload API allows you to upload user files via a POST request to the…
      x-source: https://docs.haptik.ai/bot-as-an-api/how-to-send-file-to-haptik-using-api
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer token provided by Haptik
      - name: client-id
        in: header
        required: true
        schema:
          type: string
        description: Client id for your account provided by Haptik
      - name: Content-Type
        in: header
        required: true
        schema:
          type: string
        description: multipart/form-data
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV10LogFileFromUserRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV10LogFileFromUserResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostV10LogFileFromUserRequest:
      type: object
      properties:
        auth_id:
          type: string
          description: Alphanumeric User identifier from your system
        business_id:
          type: string
          description: Numeric identifier for channel/queue on which the message is to be registered
        message_type:
          type: string
          description: The message type should be 1 for image and 52 for document
        file:
          type: string
          description: Contents of the file (binary). Max file size allowed is 10MB
        message_body:
          type: string
          description: The message body containing the message to be sent to the bot or agent
      required:
      - auth_id
      - business_id
      - message_type
      - file
    PostV10LogFileFromUserResponse:
      type: object
      properties:
        message_id:
          type: integer
          description: Message id generated by Haptik system
        message_body:
          type: string
          description: Message body that was logged in the Haptik system
        created_at:
          type: string
          description: ISO timestamp denoting when the message was created in the Haptik system
        message_type:
          type: integer
          description: The message type should be 1 for image and 52 for document
        file_url:
          type: string
          description: The URL for the uploaded file
  securitySchemes:
    bearer:
      type: http
      scheme: bearer