Import a client logo
Fetches a public HTTP(S) image for use as a Client logo.
POST https://app.upfour.io/v1/clients/logo-import
Body
urlstringrequired
The http:// or https:// address of the image to fetch.
Returns
A successful request returns 200 with application/json.
Response fields 1 top-level fields
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
data | ClientLogoImportResponse | |||||||
ClientLogoImportResponse · 1 fields
| ||||||||
Errors
Only the errors this operation can return. Every error uses the same envelope.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request is malformed or fails validation. |
| 400 | logo_fetch_failed | The image is not a public HTTP(S) image of at most 1 MiB or could not be fetched. When: Importing a client logo from a URL that cannot be reached or that does not return an acceptable image. Fix: Check the URL, or upload the logo file instead. logo_fetch_failed: the address is not a public HTTP(S) image of at most 1 MiB, or could not be fetched. |
| 404 | not_found | The requested resource does not exist or is outside the caller's scope. |
| 403 | permission_denied | The credentials do not permit this action. |
Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.