teams
PUT
https://linkyhub.net/api/v3 /teams/{teamId}/branding Scope teams:writeSet the logo and colours. Colours replace the whole set; anything but #rgb or #rrggbb is dropped.
Parameters
teamIdstringpathrequiredRequest body
application/json
logoUrlstringNull removes it.
brandColorsobject{
"logoUrl": "string",
"brandColors": {}
}Code samples
cURL
curl -X PUT "https://linkyhub.net/api/v3/teams/{teamId}/branding" \
-H "Authorization: Bearer $LINKYHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"logoUrl":"string","brandColors":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Done.
{}Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Example
{
"error": "string",
"message": "string"
}Schema
errorstringrequiredA stable code to branch on, e.g. insufficient_scope.
messagestringrequiredA sentence to show a person.
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
GET
https://linkyhub.net/api/v3 /teams/{teamId}/profiles Scope teams:readThe extra profiles a team publishes.
Parameters
teamIdstringpathrequiredCode samples
cURL
curl -X GET "https://linkyhub.net/api/v3/teams/{teamId}/profiles" \
-H "Authorization: Bearer $LINKYHUB_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Done.
Example
{
"data": [
{}
]
}Schema
dataobject[]requiredHeaders
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Same as default · PUT /teams/{teamId}/branding
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
POST
https://linkyhub.net/api/v3 /teams/{teamId}/profiles Scope teams:writeAdd a profile to a team, under a new username, as a draft page.
Parameters
teamIdstringpathrequiredRequest body
application/json
usernamestringrequired{
"username": "string"
}Code samples
cURL
curl -X POST "https://linkyhub.net/api/v3/teams/{teamId}/profiles" \
-H "Authorization: Bearer $LINKYHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Done.
{}Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Same as default · PUT /teams/{teamId}/branding
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
Updated