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