Popin Insta Call API Documentation

This documentation covers the Popin Insta Call APIs for:

  • Capturing users

  • Creating video call links

  • Retrieving available slots

  • Scheduling video calls


🔐 Authentication

All API requests require the following headers:

🔑 How to Generate API Key

  1. Log in to your Popin Dashboard

  2. Go to Settings → Developers

  3. Select Popin API

  4. Click Generate API Key

📋 Example Headers

X-API-KEY: {{apiKey}}
X-TOKEN: {{sellerToken}}
Accept: application/json

📥 1. Capture User API

📌 Endpoint

🎯 Purpose

Captures and registers a customer. Returns:

  • A unique customer_id

  • A join URL for a Popin video call

📝 Required Fields (in Body)

Field
Type
Description

name

string

Customer name

mobile

string

Mobile number

email

string

Email address

group

string

Group identifier

pin_code

string

PIN/ZIP code

🔁 Optional Fields

No optional fields defined explicitly.

📦 Example Request

✅ Successful Response


📅 2. Get Available Slots API

📌 Endpoint

🎯 Purpose

Fetches a list of available 15-minute time slots for scheduling a call.

⚠️ No request body is required.

📦 Sample Response (Partial)

🔍 Response Fields

Field
Type
Description

availability

array

Dates with available time slots

slotDiff

integer

Time difference between each slot (minutes)

timezone

string

Timezone of the slots

⏰ Scheduling Format

To schedule a call, combine the date and time into a single string using this format:

Use this exact format in the Schedule API.


📆 3. Schedule a Call API

📌 Endpoint

🎯 Purpose

Schedules a Popin video call using:

  • A valid customer_id (from Capture API)

  • A valid time slot (from Slots API)

📝 Required Fields (in Body)

Field
Type
Description

customer_id

string

ID returned by Capture API

time

string

Date and time in specified format

📦 Example Request

✅ Successful Response


✅ Summary of Endpoints

Function
Method
Endpoint

Capture User

POST

https://widget01.popin.to/api/v1/external/capture

Get Available Slots

GET

https://widget01.popin.to/api/v1/external/slots

Schedule a Call

POST

https://widget01.popin.to/api/v1/external/schedule

Last updated