TraderMemos
API Reference

Accounts

GET/api/v1/accounts

Authorization

bearerAuth
AuthorizationBearer <token>

Session JWT access token or personal access token (tm_pat_…).

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/accounts"
[  {    "id": "string",    "name": "string",    "broker": "string",    "account_type": "string",    "base_currency": "string",    "starting_balance": 0  }]
POST/api/v1/accounts

Authorization

bearerAuth
AuthorizationBearer <token>

Session JWT access token or personal access token (tm_pat_…).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/accounts" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "name": "string",  "broker": "string",  "account_type": "string",  "base_currency": "string",  "starting_balance": 0}
GET/api/v1/accounts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Session JWT access token or personal access token (tm_pat_…).

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/accounts/string"
{  "id": "string",  "name": "string",  "broker": "string",  "account_type": "string",  "base_currency": "string",  "starting_balance": 0}
DELETE/api/v1/accounts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Session JWT access token or personal access token (tm_pat_…).

In: header

Path Parameters

id*string

Response Body

curl -X DELETE "https://example.com/api/v1/accounts/string"
Empty
PUT/api/v1/accounts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Session JWT access token or personal access token (tm_pat_…).

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/api/v1/accounts/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "name": "string",  "broker": "string",  "account_type": "string",  "base_currency": "string",  "starting_balance": 0}