Skip to main content
POST
/
core.v1.UserService
/
CreateUserKey
cURL
curl -X POST "https://api.joinformal.com/core.v1.UserService/CreateUserKey" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "privateKey": "<string>",
  "publicKey": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
userId
string
Minimum string length: 1

Response

Success

privateKey
string
Minimum string length: 1
publicKey
string
Minimum string length: 1
createdAt
string<date-time>

timestamp.lt_now = true

Examples:

"2023-01-15T01:30:15.01Z"

"2024-12-25T12:00:00Z"