Skip to main content
POST
/
v1
/
auth
/
register
Register a new API account
curl --request POST \
  --url https://api.trydocent.com/v1/auth/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "my-trading-bot"
}
'
{
  "agentId": "<string>",
  "apiKey": "dk_live_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
}

Documentation Index

Fetch the complete documentation index at: https://docs.trydocent.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
name
string
required

Human-readable name for this API agent

Required string length: 1 - 64
Example:

"my-trading-bot"

Response

API agent created. API key returned once.

agentId
string
required

Your API agent ID

apiKey
string
required

Your API key. Shown exactly once. Store it securely.

Example:

"dk_live_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"