Users
Create user
Creates a new managed user in an enterprise. This endpoint is only available to users and applications with the right admin permissions.
post/users
Query parameters
fieldsstring[]
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Request body
Example request
{
"name": "Aaron Levie",
"login": "boss@box.com",
"is_platform_access_only": true,
"role": "user",
"language": "en",
"is_sync_enabled": true,
"job_title": "CEO",
"phone": "6509241374",
"address": "900 Jefferson Ave, Redwood City, CA 94063",
"space_amount": 11345156112,
"tracking_codes": [
{
"type": "tracking_code",
"name": "department",
"value": "Sales"
}
],
"can_see_managed_users": true,
"timezone": "Africa/Bujumbura",
"is_external_collab_restricted": true,
"is_exempt_from_device_limits": true,
"is_exempt_from_login_verification": true,
"status": "active",
"external_app_user_id": "my-user-1234"
}Response
Returns a user object for the newly created user.
Example response
{
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com",
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00",
"language": "en",
"timezone": "Africa/Bujumbura",
"space_amount": 11345156112,
"space_used": 1237009912,
"max_upload_size": 2147483648,
"status": "active",
"job_title": "CEO",
"phone": "6509241374",
"address": "900 Jefferson Ave, Redwood City, CA 94063",
"avatar_url": "https://www.box.com/api/avatar/large/181216415",
"notification_email": {
"email": "notifications@example.com",
"is_confirmed": true
},
"role": "admin",
"tracking_codes": [
{
"type": "tracking_code",
"name": "department",
"value": "Sales"
}
],
"can_see_managed_users": true,
"is_sync_enabled": true,
"is_external_collab_restricted": true,
"is_exempt_from_device_limits": true,
"is_exempt_from_login_verification": true,
"enterprise": {
"id": "11446498",
"type": "enterprise",
"name": "Acme Inc."
},
"my_tags": [
"important"
],
"hostname": "https://example.app.box.com/",
"is_platform_access_only": true,
"external_app_user_id": "my-user-1234"
}