Support API access using an MFA User Token
under review
D
Damon Rand
Some API features, such as the sim transfer API feature only work with User tokens. Application token's don't have enough permissions to work.
I've put together a demo script that shows the failure.
You can see it using the workspace app token and that working fine for fetching sim data.
But then using the token for migration between workspaces is failing, because those tokens only give permissions to one workspace, not both as is needed for a migration between workspaces.
The feature requests asks that a way be provided to authenticate and get a token that has enough rights to call the sim transfer API call.
Log In
D
Damon Rand
Ok thanks for the confirmation. I've found that I can manually extract the auth_token from my user session and use it for a few hours, and that let's me programmatically transfer sims (many hundreds). So I have a workaround for now..
Pasha
under review
Thank you for your feedback and request.
You're absolutely right - currently, application tokens do not support SIM transfers between workspaces, because these tokens are limited in scope to the workspace in which they were created.
Supporting cross-workspace operations like SIM transfers via app tokens would require significant architectural changes. This is something we’re considering for the future, especially in the context of our upcoming permission system improvements.
For now, we recommend performing SIM transfers via the emnify portal, which handles the necessary authentication and permissions securely.