Skip to main content
POST
/
permissions.v1.PermissionService
/
GenerateApiKey
GenerateApiKey
curl --request POST \
  --url https://api.fairground.fi/permissions.v1.PermissionService/GenerateApiKey \
  --header 'Authorization: Bearer <token>' \
  --header 'Connect-Protocol-Version: <connect-protocol-version>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userAddress": "<string>"
}
'
{
  "apiKey": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
userAddress
string

Response

Success

apiKey
string