Teleduce API Missed call campaign creation API

· 2 min read

Teleduce API

Missed call campaign creation API


Description 

Create missed call campaign via HTTP API request.

URL format

https://teleduce.corefactors.in/missedcall/create/campaign/api/?customer=<Customer name>&campaign=<campaign name>&from_validity=<from validity date>&to_validity=<to validity date>

Sample

https://teleduce.corefactors.in/missedcall/create/campaign/api/?customer=Nehaparashar&campaign=c6011&from_validity=2016-07-06 10:10&to_validity=2016-08-08 10:20

If you want to create campaign for specific inbound number then you should need to mention the inbound number in API

URL format

https://teleduce.corefactors.in/missedcall/create/campaign/api/?customer=<Customer name>&campaign=<campaign name>&from_validity=<from validity date>&to_validity=<to validity date>&inbound_number=<Inbound number>

Sample

https://teleduce.corefactors.in/missedcall/create/campaign/api/?customer=Nehaparashar&campaign=c6011&from_validity=2016-07-06 10:10&to_validity=2016-08-08 10:20&inbound_number=67519025

Parameters

ParametersDescription
<customer>Specify the customer name.Stores valid customer name to access HTTP API service
<campaign>Specify the campaign name for better identification
<from_validity>Specify the from_validity.Stores valid date to access HTTP API service
<to_validity>Specify the to_validity.Stores valid date to access HTTP API service
<Inbound number>Specify the Inbound number.Stores valid Inbound number to access HTTP API service


Response Codes

S.NOCodesResponse
110    Campaign name already exist.
220Invalid user account. Not associated with any missed call
330Email ID should not empty
40Enter valid Email ID
550Mobile number should not empty
660Enter Valid mobile number
770Notification time line should not empty
880Campaign name should not be empty
990From validity should be less then to validity
10100Invalid from validity format. Format should be 1990-08-22 10:10
11110  Invalid to validity format. Format should be 1990-08-22            10:10
12120     Campaign already exists with this date to this inbound number
13130Campaign already exists with this date or request more missed call numbers from your account manager
14200Campaign created

Webhook for API:

Webhook format:

Sample URL:

https://teleduce.corefactors.in/teleduce/QueueHandle/upload/

Passing Parameters with webhook URL:

https://operator=xxxxxxxxxl&inbound=&circle=&from_number=“>https:///?operator=xxxxxxxxxl&inbound=&circle=&from_number=

Sample:

https://teleduce.corefactors.in/teleduce/QueueHandle/upload/?operator=Airtel&inbound=08067335000&circle=Mumbai+&from_number=07111111111&request_id=4e71f9ee-62e9-49cc-b825-3de5971a7642

Parameters that we are passing to your webhook URL:

ParametersDescription
operatorDefined the from_number operator(eg: Airtel, Aircel,Vodafone etc) 
inbound_numberDefined the customer inbound number
circle_nameDefined the state of the from_ number
from_numberDefined the received number who given a missed call
request_idEach missed call have a unique ID to give a request for webhook

If following codes is received, please report to us, so we can help you better.

For any support required on API. Please write to support@corefactors.in.