Xsolla-logo

Generate RSA key

post/projects/{project_id}/keys

Generates new RSA key and returns public key. To validate user JWT, choose the library and pass an appropriate public key from the response to this call to the validation function.

Request
path Parameters
project_id
required
string <uuid>

Login project ID from Publisher Account.

Responses
200

OK

400

Bad Request

404

Not Found

429

Too Many Requests

Request samples
Response samples
application/json
{
  • "alg": "string",
  • "e": "string",
  • "kid": "string",
  • "kty": "string",
  • "n": "string",
  • "use": "string"
}