Unity Relay API

NAT-traversal relay service that allows peer-to-peer multiplayer sessions without exposing player IPs. Allocates host/join codes, encrypted DTLS connections, and short-lived relay endpoints across global regions.

API entry from apis.yml

apis.yml Raw ↑
aid: unity-com:unity-relay-api
name: Unity Relay API
tags:
- Multiplayer
- Relay
- Networking
- Gaming
humanURL: https://services.docs.unity.com/relay-allocations/v1/
properties:
- url: https://services.docs.unity.com/relay-allocations/v1/
  type: Documentation
description: NAT-traversal relay service that allows peer-to-peer multiplayer sessions without exposing
  player IPs. Allocates host/join codes, encrypted DTLS connections, and short-lived relay endpoints across
  global regions.