Solución de problemas

How to find newly-added user via API?

1 min de lectura

When you add a user to a workspace via API, you may want to identify the new user in the returned memberships array.

Solución #

  • Check the last entry:
    The newly added user will always be the last item en la memberships array.

You can also identify the userID by checking the last entry in the list of returned memberships.

¿Te resultó útil este artículo?

Thank you! If you’d like a member of our support team to respond to you, please drop us a note at support@clockify.me