Download logo file

GET/biz-partners/{partnerid}/download-logos/{logoid}

Returns logo file.

logoId can be id or status 'active', if status 'active' is provided, then the logo file with the status active will be returned. else the logo file with the id will be returned.

Privileges:

  • biz-core.view - Logged user can download logo file for all biz partners.
  • biz-core-own.view - Logged user can download logo file for his own biz partner.

Audit event:

  • biz.core.v2.biz.partner.logo.download

Errors:

  • LOGO_FILE_NOT_FOUND - Logo file not found
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

partneridstringrequired

Partner ID.

logoidstringrequired

Logo file id.

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/biz-core/v2/biz-partners/{partnerid}/download-logos/{logoid}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

JPEG- or PNG- file

image/jpeg
Example response
string
image/png
Example response
string