バックオフィスでの認証

バックオフィスAPIに対するサーバー間リクエストを認証します。

管理者向け

The B2COPY API uses bearer-token authorization. Call the sign-in method below to get an access/refresh token pair, then include the access token in the Authorization: Bearer <token> header of every subsequent request.

Prerequisite

To obtain tokens you must already be registered in the Back Office and have credentials to access it.

Endpoint

POST [host]/api/v2/signin

Request Body

NameTypeRequiredDescription
emailstringYesThe email address used to access the Back Office.
passwordstringYesThe password used to access the Back Office.
curl --location --request POST 'https://host.name/api/v2/signin' \
--data-raw '{
  "email": "username@example.com",
  "password": "Secret123"
}'

Response

The response returns a pair of access and refresh tokens, each with a token string and createdAt / expiresAt timestamps.

{
  "2faRequired": false,
  "accessToken": {
    "token": "eyJ0eXAiOiJKV1Qi…",
    "createdAt": "2024-01-01T00:00:00+00:00",
    "expiresAt": "2024-01-01T00:00:00+00:00"
  },
  "refreshToken": {
    "token": "eyJ0eXAiOiJKV1Qi…",
    "createdAt": "2024-01-01T00:00:00+00:00",
    "expiresAt": "2024-01-01T00:00:00+00:00"
  }
}
まだB2COPYのクライアントではありませんか?

B2COPYをブローカレッジに導入し、自動で成長する

既存サーバー上でコピー取引、PAMM、MAMを立ち上げ、優秀なトレーダーを成長エンジンに変えましょう。ホスティング、監視、サポート込み。何から始めればよいかわからない場合は、ご相談ください。ご案内します。

2–4週間

ローンチまでの期間

$0

インフラ費用

40%+

取引量の増加