improved

API Updates 10 Sept 2023

📘

Support for JSON Payload

  1. Support enabled for application/json in API request payload:
    1. Our Gen AI APIs now supports both application/json (for JSON payload) and multipart/form-data (for file uploads - file size < 8MB)
    2. Depending on your use-case you may choose any specific payload option without breaking your existing integrations.

👍

New API Additions

  • Webhooks
  • Use large files with APIs like Speech to Text and Image to Image.
  1. Register and use webhooks to get automatic real-time status updates on your API requests. Do check out webhook APIs
  2. Use large files (> 8MB size) using our Upload API. Do check out File Upload APIs

👍

Tutorials & Code Samples

We have now also added tutorials and code samples to get you started quickly with various use-cases on Monster API. Do check out our Recipes

❗️

Deprecation Notice

Updates on existing APIs

  1. AI Models APIs currently return "callback_url" in response payload. This field will be deprecated soon and replaced with "webhook_url"

Existing Response

{
  "callback_url": "",
  "message": "Request Accepted Successfully",
  "process_id": "aaaaaa-bbbbbb-cc-ggh",
  "status_url": "https://api.monsterapi.ai/v1/status/aaaaaa-bbbbbb-cc-ggh"
}

Updated Response

{
  "webhook_url": "",
  "message": "Request Accepted Successfully",
  "process_id": "aaaaaa-bbbbbb-cc-ggh",
  "status_url": "https://api.monsterapi.ai/v1/status/aaaaaa-bbbbbb-cc-ggh"
}
  1. Query Parameter updates in API request:
    1. callbackURL is now renamed as webhook_url_name
      • callbackURL will be deprecated soon. Going forward, it is advised to use "webhook_url_name" as query Parameter.