Popin Export Report API Documentation

Popin Export Report API Documentation

The Popin Export Report API allows you to export and download reports related to customer calls or scheduled video calls for a specific date.


๐Ÿ”— API Endpoint

POST https://dashboard.popin.to/api/v1/export

๐Ÿ” Authentication

You need an API key to access this API.

How to generate your API key:

  1. Log in to your Popin Dashboard

  2. Go to Settings โ†’ Developers

  3. Select Popin Report API

  4. Click Generate API Key


๐Ÿงพ Request Headers

  • X-API-KEY: Your API key

  • Content-Type: application/json


๐Ÿ“ฅ Request Body

The request body must include the following fields:

  • type: Use "call_report" to export call logs, or "scheduled_report" to export scheduled call data

  • date: The date for the report in YYYY-MM-DD format

Example:

{
  "type": "call_report",
  "date": "2025-07-04"
}

๐Ÿงช Sample cURL Request

curl --location 'https://dashboard.popin.to/api/v1/export' \
--header 'X-API-KEY: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
  "type": "call_report",
  "date": "2025-07-04"
}'

Replace <your-api-key> with your actual API key.


๐Ÿ“Œ Important Notes

  • Both type and date fields are mandatory.

  • The date must be in the format YYYY-MM-DD.

  • Only two values are allowed for type: "call_report" or "scheduled_report".

  • If the API key is missing or invalid, the request will fail with a 401 Unauthorized error.


โœ… Use Cases

  • Automate daily exports of call logs

  • Retrieve scheduled call records for customer tracking

  • Integrate reports with internal systems or dashboards

  • Enable data analysis and reporting workflows