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:
List projects in an organization
Returns a paginated list of projects belonging to the organization.
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 projects 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}/projects"
Response example
{ "total": 42, "limit": 10, "offset": 0, "results": [ { "id": "7f3c9b2e-4a61-4c0f-9d2a-8b5e1c6f0a34", "organizationId": "9134567201", "organizationName": "Ada Studios", "name": "My Game", "iconUrl": "https://cdn.unity.com/projects/icon.png", "visibility": "Unrestricted", "defaultEnvironmentId": "05204e55-2795-421e-9ae0-3f1e715b5ccc", "archivedAt": "2026-03-01T09:30:00.000Z", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z" } ]}
Create a project
Creates a new project under the given organization. The name must be unique within the organization. A Restricted visibility needs a paid plan (Unity Cloud Pro or Unity Cloud Enterprise); without one, the request fails with 422.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Request body for "Create a project"
Media Type:
application/jsonWho can access the project. 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. Defaults to the organization's when omitted. Restricted needs a paid plan (Unity Cloud Pro or Unity Cloud Enterprise).
defaultProjectVisibilityenum:
"Unrestricted", "Restricted"example:
UnrestrictedCode samples for "Create a project":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "My Game", "visibility": "Unrestricted"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/projects"
Response example
{ "id": "7f3c9b2e-4a61-4c0f-9d2a-8b5e1c6f0a34", "organizationId": "9134567201", "organizationName": "Ada Studios", "name": "My Game", "iconUrl": "https://cdn.unity.com/projects/icon.png", "visibility": "Unrestricted", "defaultEnvironmentId": "05204e55-2795-421e-9ae0-3f1e715b5ccc", "archivedAt": "2026-03-01T09:30:00.000Z", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Get a project
Returns the details of the project with the given ID.
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 project":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/unity/v2/projects/{projectId}"
Response example
{ "id": "7f3c9b2e-4a61-4c0f-9d2a-8b5e1c6f0a34", "organizationId": "9134567201", "organizationName": "Ada Studios", "name": "My Game", "iconUrl": "https://cdn.unity.com/projects/icon.png", "visibility": "Unrestricted", "defaultEnvironmentId": "05204e55-2795-421e-9ae0-3f1e715b5ccc", "archivedAt": "2026-03-01T09:30:00.000Z", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Update a project
Updates the provided fields on the project; omitted fields are unchanged. Changing the visibility needs a paid plan (Unity Cloud Pro or Unity Cloud Enterprise); without one, the request fails with 422.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Request body for "Update a project"
Media Type:
application/jsonWho can access the project. 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. Changing it needs a paid plan (Unity Cloud Pro or Unity Cloud Enterprise).
enum:
"Unrestricted", "Restricted"example:
UnrestrictedCode samples for "Update a project":
Request example
curl -X PATCH \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "My Game 2", "visibility": "Unrestricted"}' \ "https://services.api.unity.com/unity/v2/projects/{projectId}"
Response example
{ "id": "7f3c9b2e-4a61-4c0f-9d2a-8b5e1c6f0a34", "organizationId": "9134567201", "organizationName": "Ada Studios", "name": "My Game", "iconUrl": "https://cdn.unity.com/projects/icon.png", "visibility": "Unrestricted", "defaultEnvironmentId": "05204e55-2795-421e-9ae0-3f1e715b5ccc", "archivedAt": "2026-03-01T09:30:00.000Z", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Delete a project
Deletes the project. The project must be archived first, through the archive operation.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Delete a project":
Request example
curl -X DELETE \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/projects/{projectId}"
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" } ]}
Archive a project
Archives the project. An archived project is excluded from the default project list. A project must be archived before it can be deleted. Succeeds whether or not the project is already archived. Fails when Apps are still linked to the project.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Archive a project":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/projects/{projectId}/archive"
Response example
{ "id": "7f3c9b2e-4a61-4c0f-9d2a-8b5e1c6f0a34", "organizationId": "9134567201", "organizationName": "Ada Studios", "name": "My Game", "iconUrl": "https://cdn.unity.com/projects/icon.png", "visibility": "Unrestricted", "defaultEnvironmentId": "05204e55-2795-421e-9ae0-3f1e715b5ccc", "archivedAt": "2026-03-01T09:30:00.000Z", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Restore an archived project
Restores an archived project. The project returns to the default project list. Succeeds whether or not the project is currently archived. When an active project in the organization already has its name, the restored project is renamed " (name conflict - unarchived at )", with the name shortened so the result stays within 64 characters.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Restore an archived project":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/projects/{projectId}/restore"
Response example
{ "id": "7f3c9b2e-4a61-4c0f-9d2a-8b5e1c6f0a34", "organizationId": "9134567201", "organizationName": "Ada Studios", "name": "My Game", "iconUrl": "https://cdn.unity.com/projects/icon.png", "visibility": "Unrestricted", "defaultEnvironmentId": "05204e55-2795-421e-9ae0-3f1e715b5ccc", "archivedAt": "2026-03-01T09:30:00.000Z", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Transfer a project to another organization
Moves the project to the destination organization. The caller must be a Manager or an Owner in both organizations (403 otherwise), and the project name must be free in the destination (409 otherwise). The project can't be transferred while the destination organization is locked, service accounts are attached to the project, or Apps are linked to it (422).
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Transfer a project to another organization":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "destinationOrganizationId": "9134567202"}' \ "https://services.api.unity.com/unity/v2/projects/{projectId}/transfer"
Response example
{ "id": "7f3c9b2e-4a61-4c0f-9d2a-8b5e1c6f0a34", "organizationId": "9134567201", "organizationName": "Ada Studios", "name": "My Game", "iconUrl": "https://cdn.unity.com/projects/icon.png", "visibility": "Unrestricted", "defaultEnvironmentId": "05204e55-2795-421e-9ae0-3f1e715b5ccc", "archivedAt": "2026-03-01T09:30:00.000Z", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Upload a project icon
Replaces the project icon. The body carries a single part of at most 128 KB, in PNG, JPEG or WebP format. Returns the project, whose points to the new icon.
fileiconUrlAuthorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Upload a project 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/projects/{projectId}/icon"
Response example
{ "id": "7f3c9b2e-4a61-4c0f-9d2a-8b5e1c6f0a34", "organizationId": "9134567201", "organizationName": "Ada Studios", "name": "My Game", "iconUrl": "https://cdn.unity.com/projects/icon.png", "visibility": "Unrestricted", "defaultEnvironmentId": "05204e55-2795-421e-9ae0-3f1e715b5ccc", "archivedAt": "2026-03-01T09:30:00.000Z", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}
Delete a project icon
Removes the project icon. Succeeds whether or not the project currently has one. Afterwards the project's is null, unless an App Store or Google Play icon is linked to the project, which then shows.
iconUrliconUrlAuthorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
Code samples for "Delete a project icon":
Request example
curl -X DELETE \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/projects/{projectId}/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" } ]}