Unity Resource Management API
Public unity/v2 API for organizations, projects, environments, apps, and membership. Service accounts can call resource-scoped reads and environment create and delete. User access tokens work on every operation, and are required for the routes, the organization list, and all organization, project, and app mutations.
/users/meDownload OpenAPI specification:
Get the authenticated user
Returns the identity of the authenticated caller.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Get the authenticated user":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/users/me"
Response example
{ "id": "1374446889638", "name": "Jane Doe", "email": "jane@studio.com", "isVerified": true, "username": "janedoe", "avatarUrl": "https://cdn.unity.com/avatars/1374446889638.png", "locale": "en_US", "timezone": "Europe/Copenhagen", "country": "US", "stateCode": "CA", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
List organizations for the authenticated user
Returns a paginated list of organizations the caller belongs to, including any they reach only through a project.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "List organizations for the authenticated user":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/organizations"
Response example
{ "total": 42, "limit": 10, "offset": 0, "results": [ { "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z" } ]}
Create an organization
Creates a new organization for the authenticated user.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Request body for "Create an organization"
Media Type:
application/jsontype
Individual
Billing details for an organization owned by a person, set when it's created. is rejected. The response's is the organization's billing address as stored, which can differ from what was sent: a country that can't be used in an address is replaced as describes, a region for MX isn't returned, the email is the creator's, and the phone number, street, locality and postal code are not set.
companyNameaddresscountryISO-3166 Alpha-2 country code. Some countries (AN, AQ, CU, IR, KP, SY, XP) can't be used in an organization's address. When one is requested on create, the returned address carries the creator's country instead, and their state or province where the address uses one. If the creator has no country set, the organization is created without an address. The requested country is still kept for financial purposes, and can be found in Unity Cloud.
pattern:
^[A-Z]{2}$example:
USISO 3166-2 subdivision code without the country prefix, for example CA for California or ON for Ontario. Required for CA, US and MX. Forbidden for all other countries. For MX the region is not returned in , but it is kept for financial purposes and can be found in Unity Cloud.
address.regionminLength:
2maxLength: 3example:
CAFirst name. 1 to 70 characters, after trimming. Only the letters A to Z, digits, spaces, dots and hyphens are allowed. It must start with a letter or a digit, and contain at least one letter.
minLength:
1maxLength: 70pattern: ^(?=.*[A-Za-z])[A-Za-z0-9][A-Za-z0-9 .-]*$example:
JaneLast name. 1 to 70 characters, after trimming. Only the letters A to Z, digits, spaces, dots and hyphens are allowed. It must start with a letter or a digit, and contain at least one letter.
minLength:
1maxLength: 70pattern: ^(?=.*[A-Za-z])[A-Za-z0-9][A-Za-z0-9 .-]*$example:
DoeCode samples for "Create an organization":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme Studio", "type": "Individual", "address": { "country": "US", "region": "CA", "firstName": "Jane", "lastName": "Doe" }}' \ "https://services.api.unity.com/unity/v2/organizations"
Response example
{ "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Get an organization
Returns the details of the organization with the given ID. An organization created, updated or deleted moments before may take a moment to show the change.
Authorizations
Use any one of the following options.
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
or
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic
Code samples for "Get an organization":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}"
Response example
{ "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Update an organization
Updates the provided fields on the organization; omitted fields are unchanged. Only the billable user can change , and the new billable user must be an Owner of the organization. The organization type and its address can't be changed through this API. To change , use PUT /organizations/{organizationId}/icon.
billableUserIdiconUrlAuthorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Request body for "Update an organization"
Media Type:
application/jsonDefault visibility for newly created projects. Unrestricted projects can be accessed by all organization members except for guests. Restricted projects can only be accessed by organization Managers and Owners, and any other member explicitly added as a member to the project. Restricted requires a paid plan.
enum:
"Unrestricted", "Restricted"example:
UnrestrictedCode samples for "Update an organization":
Request example
curl -X PATCH \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme Studio", "industryType": "Gaming", "defaultProjectVisibility": "Unrestricted", "billableUserId": "5772678498965"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}"
Response example
{ "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Delete an organization
Deletes the organization. Only its billable user may delete it. It must have a billable user, and no active projects (archived projects do not count), apps, paid subscriptions, orders, or payout profiles. It must not be an Asset Store publisher, and must not be the caller's default organization.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Delete an organization":
Request example
curl -X DELETE \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}"
Response example
{ "type": "https://services.docs.unity.com/docs/errors/#55", "title": "Bad Request", "status": 400, "detail": "Validation failed for 1 field", "code": 55, "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01", "details": [ { "field": "name", "message": "must be 1-255 characters of letters, digits, hyphens or underscores" } ]}
Upload an organization icon
Replaces the organization icon. The body carries a single part of at most 128 KB, in PNG, JPEG or WebP format. Returns the organization, whose points to the new icon.
fileiconUrlAuthorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Upload an organization icon":
Request example
curl -X PUT \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: multipart/form-data" \ -d '{"file":"string"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/icon"
Response example
{ "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Delete an organization icon
Removes the organization icon. Succeeds whether or not the organization currently has one, and sets on the organization to null.
iconUrlAuthorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Delete an organization icon":
Request example
curl -X DELETE \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/icon"
Response example
{ "type": "https://services.docs.unity.com/docs/errors/#55", "title": "Bad Request", "status": 400, "detail": "Validation failed for 1 field", "code": 55, "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01", "details": [ { "field": "name", "message": "must be 1-255 characters of letters, digits, hyphens or underscores" } ]}
List groups in an organization
Returns a paginated list of the groups in the organization, sorted by name, ignoring letter case, then by ID. The default groups (Owners, Managers, Users and Guests) aren't listed. A group created, renamed or deleted moments before may take a moment to show in the list.
Authorizations
Use any one of the following options.
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
or
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic
Code samples for "List groups in an organization":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups"
Response example
{ "total": 42, "limit": 10, "offset": 0, "results": [ { "id": "3574462088180", "name": "Level designers", "organizationId": "3573664583385", "memberCount": 4 } ]}
Create a group
Creates a group in the organization, with no members. Create and rename fail if another group in the organization has the same name, ignoring letter case and surrounding whitespace. The failure is a 409 with code 44021.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Request body for "Create a group"
Media Type:
application/jsonGroup name, 1 to 255 characters, after trimming. Create and rename fail if another group in the organization has the same name, ignoring letter case and surrounding whitespace. It can't be the name of a default group (Owners, Managers, Users and Guests) in any letter case. Names that contain a link or a control character are rejected.
minLength:
1maxLength: 255example:
Level designersCode samples for "Create a group":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "Level designers"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups"
Response example
{ "id": "3574462088180", "name": "Level designers", "organizationId": "3573664583385", "memberCount": 4}
Get a group
Returns the group with the given ID. The default groups (Owners, Managers, Users and Guests) can be read too, although the list omits them. A group created, renamed or deleted moments before may take a moment to show the change.
Authorizations
Use any one of the following options.
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
or
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic
Code samples for "Get a group":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups/{groupId}"
Response example
{ "id": "3574462088180", "name": "Level designers", "organizationId": "3573664583385", "memberCount": 4}
Rename a group
Renames the group. Create and rename fail if another group in the organization has the same name, ignoring letter case and surrounding whitespace. The failure is a 409 with code 44021. The default groups (Owners, Managers, Users and Guests), and groups provisioned through SCIM, can't be renamed.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Request body for "Rename a group"
Media Type:
application/jsonGroup name, 1 to 255 characters, after trimming. Create and rename fail if another group in the organization has the same name, ignoring letter case and surrounding whitespace. It can't be the name of a default group (Owners, Managers, Users and Guests) in any letter case. Names that contain a link or a control character are rejected.
minLength:
1maxLength: 255example:
Level designersCode samples for "Rename a group":
Request example
curl -X PATCH \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "Level designers"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups/{groupId}"
Response example
{ "id": "3574462088180", "name": "Level designers", "organizationId": "3573664583385", "memberCount": 4}
Delete a group
Deletes the group. Its members leave the group and it is removed from every project it was assigned to. The default groups (Owners, Managers, Users and Guests), and groups provisioned through SCIM, can't be deleted.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Delete a group":
Request example
curl -X DELETE \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups/{groupId}"
Response example
{ "type": "https://services.docs.unity.com/docs/errors/#55", "title": "Bad Request", "status": 400, "detail": "Validation failed for 1 field", "code": 55, "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01", "details": [ { "field": "name", "message": "must be 1-255 characters of letters, digits, hyphens or underscores" } ]}