Upload a logo
POST/v1/businesses/{businessId}/logos
Uploads a logo image for the business. Send the raw image bytes as the
request body with the matching Content-Type. The logo starts in
CREATED and becomes FINISHED once its sized variations are
generated — poll GET /v1/businesses/{businessId}/logos/{logoId} for the
status. The returned id is what you set as branding.logoId on a
phone number.
Allowed formats: PNG, JPEG, GIF, checked against both the
Content-Type and the image bytes. Maximum size 5 MB. Minimum
dimensions 600×600 pixels. An image outside these limits returns 400
with IMAGE_ERROR, and the message says which limit it broke. A
request body over 6 MB is refused by the API gateway with 413, without
the usual error body.
Path Parameters
The ID of the business, assigned by Hiya.
9b8a1c4e-2c0f-4f3d-9a1e-7b3a2b4c6d8fHeader Parameters
Your own correlation ID for this call, returned as requestId in the
response body. Hiya generates one if omitted. A value that doesn't
match the pattern is rejected with 400 INVALID_HEADER.
Possible values: <= 200 characters, Value must match regular expression ^[A-Za-z0-9._:/+=@-]+$
job-2f9c1a7e-0042Body
requiredstring
Responses
- 201
- 400
- 401
- 404
- 409
- 500
The logo was uploaded. It is CREATED, with no variations yet.
Response Body
Array [
]
The X-Hiya-Request-Id this call was handled under — the value you
sent, or one Hiya generated if you didn't send one.
job-2f9c1a7e-0042When Hiya handled the request.
string<date-time>Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
2026-05-28T14:32:10.264ZThe logo's ID, assigned by Hiya. Set this as branding.logoId on a
phone number.
string<uuid>550e8400-e29b-41d4-a716-446655440000A logo's processing status.
| Value | Meaning |
|-------|---------|
| CREATED | Uploaded; variations not generated yet. |
| FINISHED | Processed; variations are available. |
| FAILED | Processing failed — re-upload the logo. |
| REMOVED | The logo was removed. There is no delete endpoint — a logo only reaches this state through Hiya-side action, so it is a state you can observe but not cause. |
phone_LogoStatus (string)Possible values: [CREATED, FINISHED, FAILED, REMOVED]
FINISHEDThe image file extension, once known.
pngWhen the logo was uploaded.
string<date-time>Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
2026-05-28T14:32:10.264Zvariationsobject[]required
The generated image variations. Empty until status is
FINISHED.
URL of this variation.
string<uri>https://cdn.hiya.com/550e8400-e29b-41d4-a716-446655440000_600x600.pngWidth in pixels.
600Height in pixels.
600Example from Schema
{
"requestId": "job-2f9c1a7e-0042",
"timestamp": "2026-05-28T14:32:10.264Z",
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "FINISHED",
"extension": "png",
"createdAt": "2026-05-28T14:32:10.264Z",
"variations": [
{
"url": "https://cdn.hiya.com/550e8400-e29b-41d4-a716-446655440000_600x600.png",
"width": 600,
"height": 600
}
]
}
{
"requestId": "job-5b9e3a7c-0023",
"timestamp": "2026-05-28T14:32:10.264Z",
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "CREATED",
"extension": null,
"createdAt": "2026-05-28T14:32:10.264Z",
"variations": []
}
The image can't be used — the body is empty, the Content-Type or
the image itself isn't PNG, JPEG or GIF, the file is larger than 5
MB, or it is smaller than 600×600 pixels. Returned as IMAGE_ERROR;
the message says which. Also returned, as INVALID_HEADER, when the
X-Hiya-Request-Id header doesn't match its pattern.
Response Body
Array [
]
The X-Hiya-Request-Id this call was handled under — the value you
sent, or one Hiya generated if you didn't send one.
job-2f9c1a7e-0042When Hiya handled the request.
string<date-time>Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
2026-05-28T14:32:10.264Zerrorsobject[]required
The errors that occurred.
| Code | Status | Meaning |
|---|---|---|
| INVALID_HEADER | 400 | The X-Hiya-Request-Id header doesn't match its pattern. |
| IMAGE_ERROR | 400 | The image can't be used: the body is empty, the Content-Type or the image itself isn't PNG, JPEG or GIF, the file is larger than 5 MB, or it is smaller than 600×600 pixels. The message says which. |
| UNAUTHORIZED | 401 | The API key is missing or invalid. |
| NOT_FOUND | 404 | The business doesn't exist, or isn't yours. |
| CONFLICT | 409 | The resource isn't in a state that allows this action. |
| INTERNAL_ERROR | 500 | Something went wrong on our side. |
Possible values: [INVALID_HEADER, IMAGE_ERROR, UNAUTHORIZED, NOT_FOUND, CONFLICT, INTERNAL_ERROR]
IMAGE_ERRORA description of what went wrong.
The image must be at least 600×600 pixels.Example from Schema
{
"requestId": "job-2f9c1a7e-0042",
"timestamp": "2026-05-28T14:32:10.264Z",
"errors": [
{
"code": "IMAGE_ERROR",
"message": "The image must be at least 600×600 pixels."
}
]
}
The API key is missing or invalid.
Response Body
Array [
]
The X-Hiya-Request-Id this call was handled under — the value you
sent, or one Hiya generated if you didn't send one.
job-2f9c1a7e-0042When Hiya handled the request.
string<date-time>Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
2026-05-28T14:32:10.264Zerrorsobject[]required
The errors that occurred.
| Code | Status | Meaning |
|---|---|---|
| INVALID_HEADER | 400 | The X-Hiya-Request-Id header doesn't match its pattern. |
| IMAGE_ERROR | 400 | The image can't be used: the body is empty, the Content-Type or the image itself isn't PNG, JPEG or GIF, the file is larger than 5 MB, or it is smaller than 600×600 pixels. The message says which. |
| UNAUTHORIZED | 401 | The API key is missing or invalid. |
| NOT_FOUND | 404 | The business doesn't exist, or isn't yours. |
| CONFLICT | 409 | The resource isn't in a state that allows this action. |
| INTERNAL_ERROR | 500 | Something went wrong on our side. |
Possible values: [INVALID_HEADER, IMAGE_ERROR, UNAUTHORIZED, NOT_FOUND, CONFLICT, INTERNAL_ERROR]
IMAGE_ERRORA description of what went wrong.
The image must be at least 600×600 pixels.Example from Schema
{
"requestId": "job-2f9c1a7e-0042",
"timestamp": "2026-05-28T14:32:10.264Z",
"errors": [
{
"code": "IMAGE_ERROR",
"message": "The image must be at least 600×600 pixels."
}
]
}
The business doesn't exist, or isn't one of yours — the two are indistinguishable by design.
Response Body
Array [
]
The X-Hiya-Request-Id this call was handled under — the value you
sent, or one Hiya generated if you didn't send one.
job-2f9c1a7e-0042When Hiya handled the request.
string<date-time>Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
2026-05-28T14:32:10.264Zerrorsobject[]required
The errors that occurred.
| Code | Status | Meaning |
|---|---|---|
| INVALID_HEADER | 400 | The X-Hiya-Request-Id header doesn't match its pattern. |
| IMAGE_ERROR | 400 | The image can't be used: the body is empty, the Content-Type or the image itself isn't PNG, JPEG or GIF, the file is larger than 5 MB, or it is smaller than 600×600 pixels. The message says which. |
| UNAUTHORIZED | 401 | The API key is missing or invalid. |
| NOT_FOUND | 404 | The business doesn't exist, or isn't yours. |
| CONFLICT | 409 | The resource isn't in a state that allows this action. |
| INTERNAL_ERROR | 500 | Something went wrong on our side. |
Possible values: [INVALID_HEADER, IMAGE_ERROR, UNAUTHORIZED, NOT_FOUND, CONFLICT, INTERNAL_ERROR]
IMAGE_ERRORA description of what went wrong.
The image must be at least 600×600 pixels.Example from Schema
{
"requestId": "job-2f9c1a7e-0042",
"timestamp": "2026-05-28T14:32:10.264Z",
"errors": [
{
"code": "IMAGE_ERROR",
"message": "The image must be at least 600×600 pixels."
}
]
}
The business isn't verified yet, or is being deleted. Logos can be uploaded once verification completes.
Response Body
Array [
]
The X-Hiya-Request-Id this call was handled under — the value you
sent, or one Hiya generated if you didn't send one.
job-2f9c1a7e-0042When Hiya handled the request.
string<date-time>Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
2026-05-28T14:32:10.264Zerrorsobject[]required
The errors that occurred.
| Code | Status | Meaning |
|---|---|---|
| INVALID_HEADER | 400 | The X-Hiya-Request-Id header doesn't match its pattern. |
| IMAGE_ERROR | 400 | The image can't be used: the body is empty, the Content-Type or the image itself isn't PNG, JPEG or GIF, the file is larger than 5 MB, or it is smaller than 600×600 pixels. The message says which. |
| UNAUTHORIZED | 401 | The API key is missing or invalid. |
| NOT_FOUND | 404 | The business doesn't exist, or isn't yours. |
| CONFLICT | 409 | The resource isn't in a state that allows this action. |
| INTERNAL_ERROR | 500 | Something went wrong on our side. |
Possible values: [INVALID_HEADER, IMAGE_ERROR, UNAUTHORIZED, NOT_FOUND, CONFLICT, INTERNAL_ERROR]
IMAGE_ERRORA description of what went wrong.
The image must be at least 600×600 pixels.Example from Schema
{
"requestId": "job-2f9c1a7e-0042",
"timestamp": "2026-05-28T14:32:10.264Z",
"errors": [
{
"code": "IMAGE_ERROR",
"message": "The image must be at least 600×600 pixels."
}
]
}
Something went wrong on our side.
Response Body
Array [
]
The X-Hiya-Request-Id this call was handled under — the value you
sent, or one Hiya generated if you didn't send one.
job-2f9c1a7e-0042When Hiya handled the request.
string<date-time>Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
2026-05-28T14:32:10.264Zerrorsobject[]required
The errors that occurred.
| Code | Status | Meaning |
|---|---|---|
| INVALID_HEADER | 400 | The X-Hiya-Request-Id header doesn't match its pattern. |
| IMAGE_ERROR | 400 | The image can't be used: the body is empty, the Content-Type or the image itself isn't PNG, JPEG or GIF, the file is larger than 5 MB, or it is smaller than 600×600 pixels. The message says which. |
| UNAUTHORIZED | 401 | The API key is missing or invalid. |
| NOT_FOUND | 404 | The business doesn't exist, or isn't yours. |
| CONFLICT | 409 | The resource isn't in a state that allows this action. |
| INTERNAL_ERROR | 500 | Something went wrong on our side. |
Possible values: [INVALID_HEADER, IMAGE_ERROR, UNAUTHORIZED, NOT_FOUND, CONFLICT, INTERNAL_ERROR]
IMAGE_ERRORA description of what went wrong.
The image must be at least 600×600 pixels.Example from Schema
{
"requestId": "job-2f9c1a7e-0042",
"timestamp": "2026-05-28T14:32:10.264Z",
"errors": [
{
"code": "IMAGE_ERROR",
"message": "The image must be at least 600×600 pixels."
}
]
}