Skip to main content

how to use in python

import superu
import time
import json

superu_client = superu.SuperU('<YOUR_API_KEY>') #Your Api Key

phone_number = '919327434748' #Number to call

create_call = superu_client.calls.create(
            from_='918035737904', #Buy this number from dev.superu.ai
            to_=phone_number,
            assistant_id='83789bdd-ab1b-40f2-9a91-8457dbb8b7d8', #Get this id when creating the assistant
            max_duration_seconds=120
        )

print(create_call.text)
I