Skip to content

Authentication

import { Aside } from ‘@astrojs/starlight/components’;

Write endpoints need a token. Read access to public artifacts doesn’t.

Send your token in the Authorization header:

Terminal window
curl -H "Authorization: Bearer so_your_token_here" \
https://shareout.site/v1/artifacts

Tokens look like so_…. Keep them secret — anyone with your token can publish as you.

The CLI and example scripts read from ~/.shareout/credentials:

~/.shareout/credentials
{ "token": "so_your_token_here" }

Requests from a logged-in browser session are also accepted via cookie, set by the Google sign-in flow:

  • shareout_session — Google auth
  • shareout_access — password / credentials auth

For server-to-server calls, prefer the bearer token.

EndpointLimit
Publish60 / hour per user
Data API1000 / min per artifact
Email50 / day per user, 10 / day per artifact
CORS proxy100 / min per artifact

Exceeding a limit returns 429 with code RATE_LIMITED.