Docs
Workspace

The workspace this credential belongs to

Request

Synthetic example for the production API. Replace YOUR_API_KEY and the ids. Do not send it against a live account until you mean to.

curl -X GET "https://api.fxapis.com/v1/workspace" \
  -H "Authorization: Bearer YOUR_API_KEY"
GET
/v1/workspace

Its plan, and whether trading is switched off. Our staff switch trading off for a whole workspace only during an incident; this is where to see it.

Authorization

apiKey
AuthorizationBearer <token>

Authorization: Bearer fx_live_<id>_<secret>.

A key is shown once, at creation. We cannot show it again or recover it for you. Keys carry a label (live or test) in the key itself, so each configuration is easy to tell apart. Both reach real brokers: test with a broker demo account.

Scopes are per key. A key without accounts:write can read accounts and nothing else.

In: header

Response Body

application/json

application/json

curl -X GET "https://api.fxapis.com/v1/workspace"
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "plan": "string",    "planName": "string",    "planAssigned": true,    "tradingDisabled": true  }}