Logo v1
[GET] /logo
Returns the logo url of the compay that owns the API KEY
).
Request
app.js
import axios from 'axios'
const result = await axios.get('https://api.sliko.io/v1/logo',
{
headers: {
apiKey: <YOUR_API_KEY>
},
});
curl -i -H "apiKey: <YOUR_API_KEY>" -H "Accept: application/json" -H "Content-Type: application/json" https://api.sliko.io/v1/logo
Optional query params
You can request the version of your company logo with a specific format and color.
color
:
Query param brand
returns the logo with its brand colorsmonochromatic
returns the logo in SVG format which can be manipulated by the consumer to have the desired fill color
format
:
Query param square
returns the logo in a 1x1 ratio.horizontal
returns the logo in a 2.5:1 ratio.
Default values are: color
brand
and formathorizontal
// Example requesting the logo in
// color monochromatic and format square
https://api.sliko.io/v1/logo?color=monochromatic&format=square
Response
string
200:
https:/companies/0debc65c-fe3c-4f52-b8df-d830e3dfb3b9/logo?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XLZOICAJDLNX1VO6QKKA%2F20210628%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20210628T084250Z&X-Amz-Expires=1200&X-Amz-Signature=e1214e51f3bdfc1feab67ee2f0fb777d4055a0c08d40f0ad893edac94f0c8cb6&X-Amz-SignedHeaders=host