For the complete documentation index, see llms.txt. This page is also available as Markdown.

Backend token endpoint

The app gets client tokens from an endpoint on your backend. The endpoint is the same for every January SDK: build it from Your token endpoint.

No backend yet? Run the token relay and continue to Authentication. Come back before launch.

What the iOS SDK reads

Return January's 201 body unchanged. The SDK reads token and expires_in (it also accepts expiresIn) and ignores the other fields.

Scopes

A JanuaryClient uses one token for every call it makes, so mint the token with the scopes of every feature your app uses (scope table). A call outside them fails with 403 scope_insufficient.

Enable client tokens

Minting fails with 403 forbidden until Enable client tokens is on in the Developer Dashboard → Client tokens.

Next: Authentication.

Last updated

Was this helpful?