Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can i add guest user to Hipchat Guest Room by Fullname

I have created custom web app as per my requirement.


I wanted to add guest user using Full Name to Hipchat Guest Room.


When i am trying to add user i am getting response as below:


[error] => stdClass Object
     [code] => 400
     [message] => Unable to create user. You must purchase more licenses in order to      add additional users
     [type] => Bad Request

Here is my code:


public static function invite_user_to_group($email, $name){
     global $token;

     // Invite User Star
     $data = array(
          "email" => $email,
          "name" => $name
     $url_send = HOMEURL."/v2/invite/user?auth_token=".TOKEN;
     $str_data = json_encode($data);
     $res = Livechat::sendPostData($url_send, $str_data);

     if($res != '')
          return $res;
          return false;



Please help me how can i do that. Thank in advanced!!!


Syahrul Atlassian Team Sep 11, 2017

Hi Parth,


I'm quite confused here, are you trying to add a new user or a guest user? The reason is that the error and script you write indicates you are trying to add a new user into your HipChat group which then fail because you have exceeded your purchase license and not adding a guest user.


Also, may I know are you using HipChat server or HipChat cloud?

Thanks for your reply,


I wanted to added guest user to guest room via API.


I am using Hipchat Server.

Arbi Dridi Atlassian Team Oct 30, 2017

Hi Parth, 

This is currently not possible via the API, here's an existing feature request about it:

HCPUB-3580 - Create API endpoint to invite guest user to room

Please watch and up-vote the feature above. In the meantime, here's a workaround: 

  1. Create room with guest access enabled or enable guest access for an existing room via Update room
  2. Get the room's guest URL via Get room
  3. Share the room's guest URL with the guest user via email or UI

I hope this helps. 


Log in or Sign up to comment
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

36,033 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you