{
"status": true,
"message": "",
"data": {
"templateID": 123
}
}{
"status": false,
"message": "Missing Brand Logo Image File",
"data": []
}{
"status": false,
"message": "Missing Brand Alignment (bAlignment value)",
"data": []
}{
"status": false,
"message": "File Not Allowed: Replace Background [background.png] with valid image file",
"data": []
}File Not Allowed: Replace {FieldName} [{FileName}] with valid image file{
"status": false,
"message": "File Max Size Exceeded! Allowed Background [background.jpg] Size: 15 MB",
"data": []
}File Max Size Exceeded! Allowed {FieldName} [{FileName}] Size: 15 MB{
"status": false,
"message": "File Not Allowed, Background [背景.jpg] should only contain English Character Set. Please rename the file and try again."
}File Not Allowed, {FieldName} [{FileName}] should only contain English Character Set. Please rename the file and try again.{
"status": false,
"message": "Background Suported Formats: [jpg, jpeg]",
"data": []
}{
"status": false,
"message": "Side Backdrop Suported Formats: [jpg, jpeg]",
"data": []
}{
"status": false,
"message": "Front/Rear Backdrop Suported Formats: [jpg, jpeg]",
"data": []
}{
"status": false,
"message": "Enter a valid background hex code for a transparent number plate.",
"data": []
}{
"status": false,
"message": "Something is missing or incorrect. Please recheck all inputs.",
"data": []
}namenamenumPlatebAlignment{
"status": false,
"message": "Error saving template.",
"data": []
}{
"status": false,
"message": "Unique constraint failed"
}libraryBackdropIDbackgroundbackground + side + frontRear{
"status": false,
"message": "Valid combinations are: only libraryBackdropID, only background, or background + side + frontRear."
}{
"status": false,
"message": "You are not Authorized"
}{
"status": false,
"message": "Not Found"
}100 requests per minute per user/API key{
"status": false,
"message": "Rate limit exceeded."
}{
"status": false,
"message": "Service unavailable"
}{
"status": false,
"message": "<error message>"
}"status": false in the response body. Always inspect the status field to determine whether the operation succeeded.curl --location 'https://apis.autobg.ai/public/api/v1/templates/create' \
--header 'Authorization: <api-key>' \
--form 'name="API-Template-1"' \
--form 'libraryBackdropID="1"' \
--form 'background=@""' \
--form 'side=@""' \
--form 'frontRear=@""' \
--form 'numPlate=""' \
--form 'numberPlate=@""' \
--form 'numPlateBgHexCode="\#FFFFFF"' \
--form 'brandLogo=@""' \
--form 'bAlignment=""'{
"status": true,
"message": "",
"data": {
"templateID": 367
}
}