← Developers
Start here
QuickstartSDKAuthentication
Identity
Sign in with Shin ID
Access
EntitlementsUsage & Qualified Active Days
Money
Purchases & refundsWebhooksVerifying signatures
Selling
Importing a productGitHub importSelling without the SDKCurrencies and pricingBuy with Guiru from your own site
Operating
Integration diagnosticsErrors & rate limitsTestingMobile API
Reference
ReferenceVersioning & changesFor agents
Machine-readable
llms.txt
Start here

Authentication

Two credentials: a product API key for server-to-server, an OAuth token for acting as a person.

Two things authenticate against Guiru, and they are not interchangeable.

Credentials
gk_live_… / gk_test_…product API key
Server to server. Scoped to one product — the key *is* the product, which is why no endpoint takes a product id. Never ship it in a client.
gat_…OAuth access token
Acts for one person who consented. Obtained through Sign in with Shin ID. Valid 30 days, revocable by that person at any time.

Both travel the same way — and the SDK takes whichever one an endpoint needs, so the wrong credential in the wrong place fails before it becomes a request:

http
Authorization: Bearer gk_live_…

Storage

Keys and tokens are stored hashed on our side; a key is displayed exactly once, at creation. There is no endpoint that reads a credential back, for you or for us. Lost key means new key.

Revocation

Revoke a key in the product console; it stops working on the next request. A person revokes your access under Settings → Apps, which kills every gat_ token for that client — treat a sudden 401 as consent withdrawn, not as an outage, and send them back through sign-in.

Careful

A gk_ key answers for its own product only. Passing another product's id is not a permission error, it is impossible: the id is never a parameter.

PreviousSDKNextSign in with Shin ID
Guiru
AboutStoreHow Guiru worksQuality BarGSPGuiru MemberStatus
Buying
Buy with GuiruYour libraryRefundsBuyer termsTrust & safety
Builders
For buildersSubmit a productGuiru ProPricing & feesPromoteDeveloper docs
Help
Help centreYour libraryBuying & refundsHow a product gets listedHow ranking worksReport a problem
Legal
All policiesTermsPrivacyCookiesCreator PoolAffiliate disclosure
Your account
Account settingsSign in
Shin AI
Shin WebsiteKatsuiTrouble? Message Mario
Find your next favourite. Software, games and digital products on Guiru.Guiru Beta · Feedback© 2026 Shinai Tecnologias I.S.
Beta
StoreLibraryBuildersMember
Sign in
StoreSearchLibraryMemberSign in