Record a palette search
const url = 'https://shareout.site/v1/home/recent-searches';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"q":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shareout.site/v1/home/recent-searches \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "q": "example" }'Records q as the newest search. A repeat (any case or accents) moves to the top; the list keeps 20.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Workspace id; omit for personal / all pages. Each scope keeps its own list.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Examplegenerated
{ "q": "example"}Responses
Section titled “Responses”The recent searches in the scope, newest first
object
object
Examplegenerated
{ "searches": [ { "q": "example", "at": "2026-04-15T12:00:00Z" } ]}Invalid request
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}Authentication required
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}