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
Log in to your Popin Dashboard
Go to Settings β Developers
Select Popin API
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_idA join URL for a Popin video call
π Required Fields (in Body)
name
string
Customer name
mobile
string
Mobile number
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
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)
customer_id
string
ID returned by Capture API
time
string
Date and time in specified format
π¦ Example Request
β Successful Response
β Summary of Endpoints
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