SynaptraDocs

    Reference

    Authentication and tokens

    People sign in with a code sent to their email. Code and machines use API tokens.

    #

    Signing in

    There are no passwords. Type your email on the sign-in page, and we send a 6-digit code from auth@synaptra.my. It works once and lasts 10 minutes. Your first sign-in creates your account and a personal workspace. A browser session lasts a week without use.

    #

    API tokens

    • Make one in the app under Connect → API tokens. Name it after what uses it: "eval box", "GitHub Actions".
    • It's shown once. We keep only a hash, so a lost token can't be shown again: revoke it and make a new one.
    • Tokens start with syn_. Send them as Authorization: Bearer syn_....
    • A token acts as you, in the workspace it was made for. It can't make or revoke tokens, sign in to the web app, or reach admin routes.
    • Up to 20 live tokens per person. Revoking takes effect at once.
    Terminal
    export SYNAPTRA_TOKEN=syn_...
    curl https://synaptra.my/api/me -H "Authorization: Bearer $SYNAPTRA_TOKEN"
    #

    Roles

    Everyone is a member. Synaptra's own staff have the admin role, which reaches the base harness's admin pages; admin routes need a signed-in browser session and refuse API tokens.

    Something unclear or missing? Email support@synaptra.my.