Create an additional API key for an existing signer
Create a new API key pair for an already registered signer.
This endpoint generates additional API credentials (key and secret) for a user who has previously registered a signing wallet. The new API key will be associated with the authenticated user's existing signer configuration. Use the is_read_only flag to restrict the key to read-only operations if needed.
Requires authentication.
OBSIDIAN-KEY<token>
In: header
OBSIDIAN-SECRET<token>
In: header
name?string
Human-friendly display name for the new API key. Maximum 255 characters.
is_read_only?boolean
When true, restricts the API key to read-only operations (cannot trade, deposit, withdraw, or modify account settings).
Response Body
application/json
application/json
curl -X POST "https://api.dev.obsidian.exchange/auth/api-keys" \ -H "Content-Type: application/json" \ -d '{}'{
"api_key": {
"api_key": "string",
"api_secret": "string",
"name": "string",
"sender": "string",
"signer": "string",
"created_at": "string",
"expired_at": "string",
"is_read_only": true
}
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}