How can i create custom API token for custom page

How can I create a custom API tokens for a custom page