Skip to main content
POST
/
api
/
developer
/
keys
Create developer key
curl --request POST \
  --url https://x402.20.208.46.195.nip.io/api/developer/keys \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>"
}
'
{
  "ok": true,
  "key": "<string>",
  "record": {
    "id": "<string>",
    "label": "<string>",
    "key_prefix": "<string>",
    "scopes": [
      "<string>"
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "last_used_at": "2023-11-07T05:31:56Z",
    "revoked_at": "2023-11-07T05:31:56Z"
  }
}

Body

application/json
label
string

Response

200 - application/json

Developer key created.

ok
boolean
key
string
record
object