Get a connector's logo - Spacefast Docs
Get a connector's logo
Serves a provider logo through Spacefast so the browser never requests it from the registry directly. Answers an image or 404; nothing about a team is readable here, so it needs no credential and caches for a day.
GET /v1/connectors/catalog/logo/{domain}
Authorization
Authorization Bearer token · header required
Authorization: Bearer <token>
with an API key (sfa_ prefix), an OAuth access token, a session token, or a Space machine credential (sfm_ prefix).
Path parameters
domain string required
- min length 1
- max length 255
Responses
- 200 The provider logo, as an image.
- 404 No logo for that domain.
Try it
Server
Base URL https://api.spacefast.com
Custom base URL Overrides the selected server when set.
Authorization
Bearer token Remember on this device Include my values in samples
Parameters
domain path *
Request
cURL
curl -X GET "https://api.spacefast.com/v1/connectors/catalog/logo/string" \
-H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const response = await fetch("https://api.spacefast.com/v1/connectors/catalog/logo/string", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});
Python
import requests
response = requests.get(
"https://api.spacefast.com/v1/connectors/catalog/logo/string",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)
Response
- 200
- 404
The provider logo, as an image.
No logo for that domain.