Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 5.1

...

If you do not already have a token, get it from the Frosmo Control Panel. You can also recreate or revoke an existing token.

Warning

Do not make Graniitti API requests in client-side code that is accessible to parties you do not trust, as this will expose your token to them. Use the Graniitti API only in server-side code and in client-side code that is only accessible to parties you trust.

Getting your personal access token

...

  1. In the Control Panel, select Utilities > Frosmo APIs.
  2. In the Graniitti API

    .

    Click section, click Create token.

    Getting your personal access token

  3. Copy the token. It will not be shown on the page again.

    Getting your personal access token

...

If you forget your personal access token, or if you need a new one for some other reason, you can recreate the token.

Warning

Recreating the token renders your previous token invalid. If you have applications that use the previous token, their Graniitti API requests will no longer work after you recreate the token.

To recreate your personal access token:

  1. In the Control Panel, select Utilities > Frosmo APIs.
  2. In the Graniitti API

    .

    Click section, click Recreate token.

    Recreating your personal access token

  3. Copy the token. It will not be shown on the page again.

...

If you no longer need your personal access token, you can revoke it.

Warning

Revoking the token renders it invalid. If you have applications that use the token, their Graniitti API requests will no longer work after you revoke the token.

To revoke your personal access token:

  1. In the Control Panel, select Utilities > Frosmo APIs.
  2. In the Graniitti API

    .

    Click section, click Revoke token.

    Revoking your personal access token

You have revoked your personal access token and can no longer use it to authenticate Graniitti API requests.