Activating a User via API

Subject: Activating a User via API

Dear HubSpot Support Team,

I’m reaching out to inquire about the process of activating a user through HubSpot’s API. I’ve reviewed the documentation for the user provisioning API, specifically the endpoint /settings/v3/users/{userId}.

While this endpoint seems promising, I’m unsure about the specific parameters or request body required to trigger user activation.

Could you please provide more detailed instructions or code examples on how to:

  1. Identify a user: How can I determine the userId for a specific user to target for activation?
  2. Trigger activation: What specific properties or actions are required in the API request to initiate the activation process?
  3. Handle activation status: Is there a way to check the activation status of a user after sending the API request?

Any guidance or additional documentation would be greatly appreciated.

Thank you for your time and assistance.

Hey, @DZenadmin :waving_hand: thanks for your question. I think the main roadblock here is you cannot “activate/deactivate” Users via the API. We can “create” Users, add them to teams, and set permission sets (Roles) via the API. But any actions involving “activate/deactivate” must be done in-app via Settings > Users. I found this Ideas request for this exact functionality.

Best,

Jaycee