improved
API Updates 10 Sept 2023
about 1 year ago by Saurabh Khaneja
Support for JSON Payload
- Support enabled for application/json in API request payload:
- Our Gen AI APIs now supports both application/json (for JSON payload) and multipart/form-data (for file uploads - file size < 8MB)
- 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.
- Register and use webhooks to get automatic real-time status updates on your API requests. Do check out webhook APIs
- 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
- 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"
}
- Query Parameter updates in API request:
- 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.
- callbackURL is now renamed as webhook_url_name