API Method user_get
This method’s default response returns the user account identified by the supplied authorization credentials.
This method can also provide sub-user account information if an optional user_id or email is supplied. Sub-user account visibility is limited to authorized primary user accounts.
Request Parameters
| Name | description |
|---|---|
| user_id | The ID of the subuser account. (optional) |
| The email address of the subuser account. (optional) |
Example Request URL
https://www.eventbrite.com/xml/user_get?app_key=[APP_KEY]&user_key=[USER_KEY]&user_id=[ID_OF_USER]
Example Response
<?xml version="1.0" encoding="utf-8" ?> <user> <user_id>60640</id> <email>User email address</name> <first_name>john</first_name> <last_name>smith</last_name> <user_key>23456712234</user_key> <date_created>2009-01-01 13:00:00</date_created> <date_modified>2009-12-01 13:00:00</date_modified> <subusers> <subuser> <id>70567</id> <email>stone@hotmail.com</email> </subuser> </subusers> </user>
Method-Specific Errors
More information about error-handling and common error messages are available in our error docs.
| error_type | error_message |
|---|---|
| Authentication Error | The specified user was not found or the login credentials didn’t match. |
| Not found Error | Invalid email and/or password. |
| Not found Error | No User found for this User ID. |
| Not found Error | No User found for this Email address. |
| User Error | This sub-user can not be viewed by the current user. |