Presence Service API (Deprecated)
Deprecation Notice: This service will be disabled.
Last Updated: 2026-01-16
Presence service will be disabled on April 20th, 2026. The recommended alternative for real-time presence and multiplayer functionality is Matchmaker.
Download OpenAPI specification:
Retrieves a list of rooms matching the filters.
Authorizations
Bearer
HTTP: Bearer
HTTP Authorization Scheme: bearer
Code samples for "Retrieves a list of rooms matching the filters.":
Request example
curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/presence/v1/organizations/{organizationId}/rooms"
Response example
[ { "Name": "string", "ResourceType": "string", "ResourceId": "string", "OrganizationId": "string", "Uid": "string" }]
Creates a room with the fields in the request.
Authorizations
Bearer
HTTP: Bearer
HTTP Authorization Scheme: bearer
Code samples for "Creates a room with the fields in the request.":
Request example
curl -X POST \ -H "X-Digital-Twins-ClientTrace: <X-Digital-Twins-ClientTrace>" \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "ResourceType": "string", "ResourceId": "string", "Name": "string"}' \ "https://services.api.unity.com/presence/v1/organizations/{organizationId}/rooms"
Response example
[ { "Name": "string", "ResourceType": "string", "ResourceId": "string", "OrganizationId": "string", "Uid": "string" }]
Retrieves a Vivox login token for version 15.
Authorizations
Bearer
HTTP: Bearer
HTTP Authorization Scheme: bearer
Code samples for "Retrieves a Vivox login token for version 15.":
Request example
curl -X GET \ -H "X-Digital-Twins-ClientTrace: <X-Digital-Twins-ClientTrace>" \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/presence/v1/organizations/{organizationId}/rooms/{roomUid}/communication/vivox/v15/login"
Response example
{ "ServerAddress": "string", "UserId": "string", "Token": "string"}
Retrieves a Vivox join channel token for version 15.
Authorizations
Bearer
HTTP: Bearer
HTTP Authorization Scheme: bearer
Code samples for "Retrieves a Vivox join channel token for version 15.":
Request example
curl -X POST \ -H "X-Digital-Twins-ClientTrace: <X-Digital-Twins-ClientTrace>" \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "Muted": true, "VivoxActionTokenParams": { "SessionId": "string", "IsValid": true }}' \ "https://services.api.unity.com/presence/v1/organizations/{organizationId}/rooms/{roomUid}/communication/vivox/v15/join"
Response example
{ "ChannelId": "string", "Token": "string"}
Retrieves Vivox login token for version 16.
Authorizations
Bearer
HTTP: Bearer
HTTP Authorization Scheme: bearer
Code samples for "Retrieves Vivox login token for version 16.":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "VivoxUserId": "string"}' \ "https://services.api.unity.com/presence/v1/organizations/{organizationId}/rooms/{roomUid}/communication/vivox/v16/login"
Response example
{ "ServerAddress": "string", "UserId": "string", "Token": "string"}
Retrieves a Vivox join channel token for version 16.
Authorizations
Bearer
HTTP: Bearer
HTTP Authorization Scheme: bearer
Code samples for "Retrieves a Vivox join channel token for version 16.":
Request example
curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "Muted": true, "VivoxUserId": "string", "VivoxChannelId": "string"}' \ "https://services.api.unity.com/presence/v1/organizations/{organizationId}/rooms/{roomUid}/communication/vivox/v16/join"
Response example
{ "ChannelId": "string", "Token": "string"}