Skip to content

MODDER04/modder_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

API Documentation

Base URL

The url will be sent when you buy a key from @modder04

1. Create Call

Initiates a new call

  • Endpoint: /create_call
  • Method: POST
  • Description: Creates a new call to the specified destination.
  • Note: Don't add + before the number and the spoof

Request:

{
"number": "string",
"spoof": "string",
"callback_url": "string",
"api_key":"string",
}

Response:

{
    "call_uuid": "26444296-489f-42e0-8b47-d3fa172dd946",
    "message": "Call created successfully"
}

2. Play Audio

Plays an text during a call.

  • Endpoint: /play_audio
  • Method: POST
  • Description: Plays the provided text in an active call session.
  • Voices: Voice list

Request:

{
"uuid": "string",
"text": "string",
"voice" : "string",
}

3. Gather DTMF Input

Gathers DTMF (Dual-tone multi-frequency) input during a call.

  • Endpoint: /gather_dtmf
  • Method: POST
  • Description: Collects DTMF input from the user during an active call.
  • Voices: Voice list

Request:

{
"digits" : int,
"uuid": "string",
"text": "string",
"voice" : "string",
}

4. End Call

Ends an ongoing call.

  • Endpoint: /end_call
  • Method: POST
  • Description: Terminates an active call session.

Request:

{
  "uuid": "string"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors