Skip to main content
POST
Assign keys to players by email

Authorizations

Authorization
string
header
required

Personal API key (prefix up_). Create one in the studio under Account → API keys.

Path Parameters

studioId
string
required
keyVaultId
string
required

Body

application/json
keyIds
string[]
required
Minimum array length: 1
emails
string[]
required

Players to assign the selected keys to. New players are created as needed.

Maximum array length: 1000
Maximum string length: 320

Response

200 - application/json

Number of keys assigned

data
object
required