Developer Center

Images API

Last Updated: Feb 20, 2017 04:14PM CET

URL

/api/images/{id}

Description

Allow retrieving images.

Methods

GET Images

Allow retrieving images of client profiles/signatures and any other images via api calls.

Parameters

size Image size to be returned. Posible values
  • LARGE
  • MEDIUM
  • SMALL_THUMB
  • TINY_THUMB

Usage examples

//return image with kety 8a42711a4428c1f101442a1ee710001b. No image size specified.
    GET /api/images/8a42711a4428c1f101442a1ee710001b

    //return image with kety 8a42711a4428c1f101442a1ee710001b in a medium size
    GET /api/images/8a42711a4428c1f101442a1ee710001b?size=MEDIUM

Samples responses:

The image is encoded as a base64 string and returned in the json response. The image will have the specified size if requested.
//Image response encoded as base64
    data:image/jpg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a\r\nHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy\r\nMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAgACADASIA\r\nAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA\r\nAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3\r\nODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm\r\np6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA\r\nAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx\r\nBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK\r\nU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3\r\nuLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD34kAE\r\nk4A7msa31Iea0h3SLtZfkBbkBSOnrk1R0fUr6506a71GdTahtg/d4Zj7EYpthBc5njtdqyHLFmJy\r\nwDDv15ArheIc+WUFv95HNfY04NYK7luF+YHLbRnA3YGPXrn2FWF1a3kiLx5fDBcDGeen86y30u8E\r\njNBEqqpVETPy7R3Pqc5NTafJapbiK8kRZPMMTRkdHCbyMjjG0Z6entVU5Vm+VjTY3W72CFLe0hVG\r\nbeD5a8BR0zx25PtxUlldGORnkQlY4kRQo5OQv+NcvYaRq80sbNBMkURBPmfLwDnABrqtDSZt0lwj\r\nB+du4YO3cQP0Fc9CpOrU5mrEpts04LhbgOUB2qxXJ7kHBxWZcaPBPdSvsJkcOC3mY4YEHjHvj8q1\r\n0jSPdsULuJY4HU+tOr01e2pof//Z\r\n;

Note: The images are returned encoded with a CR/LF character every 76 characters, depending on the tool used, it might be necessary to remove this character before decoding from Base64.
support@mambu.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete