USERS API and Token per device


#1

Hi

Two questions, for industrial platform

  1. do you plan on adding user management API so that we can create and assign users to organizations using API ? Or is there anyway to integrate with oauth or JWT tokens? The idea here is to automate user creation from an app.

  2. We like to have an api token per device, so if we have 1000 devices, that’s 1000 tokens right? Do they expire? There isn’t a limit on how many we can have correct?


#2

Greetings, answering your questions:

- Do you plan on adding user management API so that we can create and assign users to organizations using API?

Yes, our frontend already uses an internal API to create users and assign them to an org. While we haven’t added it to our official documentation (as it might have internal changes), we do plan to add it in the next months.

- Or is there anyway to integrate with oauth or JWT tokens?

We have done integrations using JWT tokens. Please contact our support team at support@ubidots.com for more information.

- We like to have an api token per device, so if we have 1000 devices, that’s 1000 tokens right? Do they expire?

There isn’t a limit on how many we can have correct? If you create these tokens from our web interface (“My Profile” tab) then they won’t expire. If you create them using our API key end-point (see here) then they will expire after 6 hours if not used. There’s no limit on how many you can create.

All the best