Skip to main content
POST
Link PSN Id

Authorizations

X-SecretKey
string
header
required

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

Body

application/json
PlayFabId
string
required

Unique PlayFab assigned ID of the user on whom the operation will be performed.

PSNUserId
string
required

Id of the PlayStation™ Network user. Also known as the PSN Account Id.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

If another user is already linked to the account, unlink the other user and re-link.

IssuerId
number

Id of the PlayStation™ Network issuer environment. If null, defaults to the production environment. This must match the issuer the account signs in under, otherwise the link will not be resolved by that sign in.

SandboxId
string

The PlayStation™ Network sandbox to key the link under. Sandbox membership is per account, not per title: supply this only when the account signs in from a sandbox, and omit it otherwise, including for all retail accounts. This must match the sandbox the account signs in from, otherwise the link will not be resolved by that sign in.

Response

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Last modified on October 1, 2026