1. Autobg Enterprise Api's
Autobg
  • Operational Guidelines
    • AI/Collab Processing Webhook Notification Doc
    • Reported Image Review Webhook Notification Doc
  • Autobg Enterprise Api's
    • Create Template
      POST
    • List Templates
      POST
    • List Autobg Library
      GET
    • Upload/Process Images without Template.
      POST
    • Upload/Process Images with Template
      POST
    • Upload/Process Images with Template with Dynamic Branding
      POST
    • (Beta Mode) Upload/Process Images with Default Library Backdrop Templates
      POST
    • Upload/Process S3 Urls without Template.
      POST
    • Upload/Process S3 Urls with Template
      POST
    • Upload/Process S3 Urls with Template with Dynamic Branding
      POST
    • Report Images
      POST
    • Get Image Status
      POST
    • Download Processed Images
      POST
    • User Usage
      POST
    • User Credit Details
      POST
    • Get Raw Image in Base64 Format
      GET
    • Get Raw Image
      GET
  • Autobg Custom APIs
    • replaceNumPlate-v3
      POST
    • replaceNumPlateS3-v3
      POST
    • Send Images For QA
      POST
  1. Autobg Enterprise Api's

Get Raw Image

GET
https://apis.autobg.ai/public/api/v1/images/getImagesRaw

Description#

This API retrieves the original image associated with the specified image ID and returns the image file directly in its original format.
This API is rate-limited to 100 requests per minute per user.

API Request & Response Guidelines#

🟢 200 OK#

Image Retrieved Successfully (Raw Binary)#

Returned when the requested image is successfully fetched from storage and returned as a raw PNG image response.
Response type: image
This endpoint does not return JSON. Instead, it streams the image buffer directly.

🟢 200 OK (Business Validation Errors)#

Invalid or Missing Pic ID#

Returned when the requested picID does not exist or does not belong to the authenticated user.
{
  "status": false,
  "message": "Authentication Error: Pic Not Found",
  "data": ""
}

File Not Found / Missing Image#

Returned when the image exists in DB but file is missing in storage or fallback image is used.
{
  "status": false,
  "message": "The specified key does not exist.",
  "data": ""
}

Internal File Read Failure#

Returned when the system fails to read local fallback file (no_file_found.png).
{
  "status": false,
  "message": "<error reading local file>",
  "data": ""
}

Invalid Input#

Returned when picID is missing or invalid.
{
  "status": false,
  "message": "Pic ID is required",
  "data": ""
}

🟠 401 Unauthorized#

Missing or Invalid Authorization#

Returned when:
Authorization header is missing
API key is invalid
API key is not associated with a user
{
  "status": false,
  "message": "You are not Authorized"
}

🟠 429 Too Many Requests#

Returned when the request limit is exceeded.
Limit:
100 requests per minute per user/API key
{
  "status": false,
  "message": "Rate limit exceeded."
}

🔴 500 Internal Server Error#

Unexpected Server Error#

Returned when an unexpected error occurs outside normal validation flow.
{
  "status": false,
  "message": "Service unavailable"
}
Generic format:
{
  "status": false,
  "message": "<error message>"
}

Important Note#

Consumers of this API should not rely solely on the HTTP status code. Some validation and business-rule failures may return HTTP 200 OK with "status": false in the response body. Always inspect the status field to determine whether the operation succeeded.

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Query Params

Responses

🟢200OK
text/plain
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://apis.autobg.ai/public/api/v1/images/getImagesRaw?picID=642112' \
--header 'Authorization: <api-key>'
Response Response Example
200 - Exception
image
Modified at 2026-06-15 07:37:46
Previous
Get Raw Image in Base64 Format
Next
replaceNumPlate-v3
Built with