1. GET server status

    /status
  2. POST raw json data

    /audio/send/urls

    Example payload:

    
    {
      "key": "81fe67d2461b426694a8cc7d68bd355a",
      "caller_id": "+17045030240",
      "date": "6/10/2024 9:43:31 PM",
      "campaign": "Fan_Install/Repair",
      "adset": "Ceiling_Fan",
      "revenue": "0.0",
      "recording": "https://media.ringba.com/recording-public?v=v1&k=QJzfYixETpA%2fMC7zpVwWB9OKs6skNKBtq2TZ3ooe2H8z%2fomCPavKkDMkUtxJP2dZSrinPiEDmu76jhAtMlZlBz%2fJ01fTc9s9wZRMObzHq191Nwfn9RbxCEpVvKWsSsi2wK%2f4sh%2bwCatEEcQDG3zv2Lwpfle7r4O6vveme91U5jkch2rdzpwkS2jWZijrSBIYuHGoezb9e14Zp35kXOskG%2fL70xB930u2uSMJihrAojWkZL078%2f3k3JZPXs7Xutr3NjcQXj9YO4uDFysPEAAJxT%2bk5mk%3d",
      "locationID": "12312511112",
      "endsource": "caller",
      "duration": "00:03:39",
      "term": "ceiling fans installation near me",
      "target": "elocal",
      "zip": "01472",
      "publisher": "Local Electrician Quote",
      "timetocall": "0242",
      "timetoconnect": "timetoconnect"
    }
    
    
  3. GET process logs

    /pm2/logs/:process
  4. GET list of processes

    /pm2/list
  5. GET remove consumer file (aviod using this, use when required ❗❗)

    /pm2/remove/consumer/file/:filename
  6. GET consumer to restart (aviod using this, use when required ❗❗)

    /pm2/restart/assembly.consumer
  7. GET total transcripts left in consumer folder

    /pm2/consumer/size?path='/home/sam/kabir'
  8. GET files in consumer folder

    /pm2/consumer/folder
  9. GET consumer file data

    /pm2/consumer/file?filename="06ca70b3-5e0b-4105-90b7-66b0c3272d9c.json

    Example payload: