Skip to content

Device Registration

Before generating APIs, you need to register your current device with a valid token to authenticate and enable API generation.

Registration Command

Global command:

shell
autoapi register -t <your-token> -r <your-remarks>

Local command:

shell
npx autoapi register -t <your-token> -r <your-remarks>

Replace <your-token> with your actual token configured in the console and <your-remarks> with your username or identifier (e.g., "john_doe", "alice_smith", etc.).

What happens during registration?

When you run the registration command:

  1. Your device gets authenticated with the AutoAPI service
  2. The token is validated and associated with your device
  3. Your device is authorized to generate APIs from configured services
  4. Registration credentials are stored locally for future API generation

Next Steps

After successful device registration, you can:

Troubleshooting

If you encounter issues during registration:

  • Ensure your token is valid and not expired
  • Check your internet connection
  • Verify you have the necessary permissions to write to the local configuration directory

For additional help, please refer to our support documentation or contact support.