Take a look at the create a web console creation page ( http://<openfire-server>:<port>/user-create.php). It uses a simple HTTP GET form to create a new user. I assume that you can pull the submit URL and various required fields from the source of this page and create your own GET request from your Cocoa application.