Downloading results: when it is present in an API response, actionResultsDownloadURLs contains the authenticated URLs for downloading each generated result file.

MXPROCESS

API : रियल एस्टेट, गैरेज, फ़ार्मेसी और चिकित्सा क्लीनिकों के लिए इंटरैक्टिव वर्चुअल फ़ोन सहायक।

    This API is simple to use. You just have to follow these steps

  • Create a free account
  • Click on the link you receive by email to confirm your address
  • Generate a token with credentials
  • You can use any language to make this CURL call. (Python, PHP, Java, JavaScript...) Need help ?



    If your credentials are correct, our server will provide you with a token as a response :
    YOUR_TOKEN is valid for one hour, its duration can be extended using YOUR_REFRESH_TOKEN

  • Use the token to start the process asynchronously
  • Action parameters

    Send parameters as a JSON object. Required fields are marked with required.

    • businessDomain — enum:real_estate,garage,pharmacy,medical,dental,veterinary,physiotherapy,chiropractic,optician,hair_salon,beauty_salon,spa_wellness,restaurant,hotel,law_firm,accounting_firm,insurance_agency,travel_agency,plumbing,electrician,hvac,locksmith,cleaning_service,pest_control,moving_company,landscaping,fitness_gym,driving_school,tutoring_center,daycare,software_development,data_ai,cybersecurity,cloud_infrastructure_devops,networks_telecom,it_support_operations.
    • businessProfileId — integer; minimum 1.
    • businessName — string; maximum 120 characters.
    • businessContext — string; maximum 2000 characters.
    • businessPhoneNumber — string; maximum 32 characters.
    • businessLanguage — enum:en,fr,es,de,hi,zh,ar.
    • sessionId — integer; minimum 1.
    • language — enum:en,fr,es,de,hi,zh,ar.

    If your file is accessible by URL, you can ignore the "file=@.." field and directly use the URL of your file in the "fileUrl" field

    The API sends you a Json response to confirm that the process has started. take note of the "trackingUrl" field, it is the one that allows you to follow the process that you have launched. In this answer you also find the ID of your process, here in our example the ID is 643 :

  • So to follow the progress, you do a simple GET(you can make this http call every 10 seconds):


  • If the process is not yet completed, you will receive this type of response with "accomplished": false

    If the process is completed, you will receive this type of response with "accomplished": true. The actionResultsDownloadURLs field contains the authenticated URLs for downloading the generated results:

    Use each URL supplied in actionResultsDownloadURLs directly to download its corresponding result.


This documentation is not clear? (Python, PHP, Java, JavaScript...) Need help ?



Contact us This API is also available in synchronous mode : Developer API : VirtualPhoneAssistant