Skip to main content
GET
/
icon
/
{name}
Get social icon or logo as image
curl --request GET \
  --url https://api.example.com/icon/{name}
"<string>"

Path Parameters

name
string
required

Name of the social icon or 'logo'

Query Parameters

width
integer
default:40

Width of the returned image in pixels

height
integer
default:40

Height of the returned image in pixels

color
string
default:black

Color of the icon (without # prefix)

Response

Successfully returned the icon or logo image

The response is of type file.