Skip to main content
POST
/
customer
/
v2
/
api-keys
Create API Key
curl --request POST \
  --url https://orbitflare.com/api/customer/v2/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "api_key": {
      "id": 123,
      "name": "<string>",
      "key": "<string>",
      "enabled": true
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer token from device or wallet auth

Body

application/json
name
string
required

Friendly name for the key

Response

API key created. Full key returned once.

success
boolean
Example:

true

message
string
data
object