Integrate your external CRM with the B2COPY API

Connect a third-party CRM to the platform.

For admins

Authorize requests from your external CRM to the B2COPY API using a service admin and signed JWT tokens (ES256). This page covers prerequisites, key generation, token issuance, and obtaining/refreshing B2COPY tokens.

Prerequisites

  • Create a service admin in the Admin panel on whose behalf the CRM makes API requests (it is recommended to restrict it to specific IP addresses).
  • Configure your CRM to generate signed JWTs whose claims include admin_id (the service admin id), device_ip (the request IP), and key_id (the private key id).

Generate keys

Generate an EC (P-256) key pair for signing and verifying tokens:

# Private key
openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 \
  -out ec_private_pkcs8.pem

# Public key
openssl pkey -in ec_private_pkcs8.pem -pubout -out ec_public.pem

Security

Keep the private key secret and never share it. Provide only the public key to the B2COPY support team — it is used to verify your signed JWTs.

Contact B2COPY support

To finish the integration, send the support team your public key (ec_public.pem), the unique key identifier, and the IP addresses that will call the API. Support registers your integration and configures the public key.

Obtain access and refresh tokens

POST [host]/api/admin/auth/v2/admin/adminservice/authexternalcrm
NameTypeRequiredDescription
external_tokenstringYesThe signed JWT generated by your CRM.
curl -X POST "[host]/api/admin/auth/v2/admin/adminservice/authexternalcrm" \
  -d '{ "external_token": "<your-generated-jwt-token>" }'

The response returns access and refresh tokens for the service admin; include the access token in the Authorization header of all other requests.

{
  "accessToken": "<access-token>",
  "refreshToken": "<refresh-token>"
}

Refresh the access token

POST [host]/api/admin/auth/v2/admin/adminservice/refreshtoken
curl -X POST "[host]/api/admin/auth/v2/admin/adminservice/refreshtoken" \
  -H "Authorization: Bearer <refreshToken>"

Returns a new access/refresh token pair.

Not a B2COPY client yet?

Bring B2COPY to your brokerage and grow on autopilot

Launch copy trading, PAMM, and MAM on your existing servers and turn your best traders into a growth engine — with hosting, monitoring, and support included. Not sure where to start? Talk to us and we’ll walk you through it.

2–4 weeks

Time to launch

$0

Infrastructure cost

40%+

Volume increase

Newsletter

Join our community and stay tuned for the latest innovations in the FX, Crypto, Prime Brokerage & FinTech industries

Next to you

Follow the life of the company in the social networks that are convenient for you

Awards

FMLS:25 London Expo

Best White Label Solution

FMLS:25 London Expo

Money Expo India

Leading White Label Propfirm Solution Provider

Money Expo India

Forex Traders Summit in Dubai

Best Liquidity Provider

Forex Traders Summit in Dubai

Money Expo Mexico

Best B2B Liquidity Provider

Money Expo Mexico

Forex Expo Dubai

Best FX/Crypto Technology & Liquidity Provider

Forex Expo Dubai

Crypto Expo Dubai

Best Crypto Liquidity Solution

Crypto Expo Dubai

Forex Traders Summit

The Best Fintech & Solutions

Forex Traders Summit

Forex Traders Summit

Best Technology Provider

Forex Traders Summit

Forex Traders Summit

Best Payment Solutions Provider

Forex Traders Summit

Forex Traders Summit

Best CEO Arthur Azizov

Forex Traders Summit

Crypto Expo Dubai

Most Trusted Liquidity Provider

Crypto Expo Dubai

Crypto Expo Dubai

Best Crypto Payment Service

Crypto Expo Dubai

Fintech & Crypto Summit Bahrain

Most Trusted Liquidity Provider

Fintech & Crypto Summit Bahrain

Fintech & Crypto Summit Bahrain

Appreciation Award to Arthur Azizov

Fintech & Crypto Summit Bahrain

Finance Magnates London Summit

Best White Label Solution

Finance Magnates London Summit

Forex Expo Dubai

Best Liquidity Provider & Best Crypto Processing System

Forex Expo Dubai

Wiki Finance Expo Dubai

Best Payment Solutions Provider & Best Technology Provider

Wiki Finance Expo Dubai

iFX Asia

Best Liquidity Provider & Best Crypto Processing company

iFX Asia

Fazzaco Hall of Fame

Best Founder (Fintech)

Fazzaco Hall of Fame

Fazzaco Expo Dubai

Best Liquidity Provider

Fazzaco Expo Dubai

Money Expo India

Best Liquidity Provider

Money Expo India

Money Expo India

Best Crypto Processing System

Money Expo India

Forex Traders Summit Dubai

Best Crypto Payment Solution Provider

Forex Traders Summit Dubai

Forex Traders Summit Dubai

Middle East 50 Most Influential Figures: Arthur Azizov

Forex Traders Summit Dubai

Forex Traders Summit Dubai

Best Multi-Assets Liquidity Provider

Forex Traders Summit Dubai

Crypto Expo Dubai

Best Liquidity Provider

Crypto Expo Dubai

Crypto Expo Dubai

Best Crypto Payment Provider

Crypto Expo Dubai

Crypto Expo Dubai

Best Crypto Technology Provider

Crypto Expo Dubai

FOREX EXPO

Best FX/Crypto Technology & liquidity provider

FOREX EXPO

Global FOREX Awards

Best Crypto CFD Liquidity Provider

Global FOREX Awards

FM Awards

Best White Label Solution

FM Awards

Global FOREX Awards

Best FX CRM Provider

Global FOREX Awards

FM Awards

Best Crypto Solution for Payments

FM Awards

Global Brands Magazine

Best White Label Multi-Asset Liquidity Platform

Global Brands Magazine

B2BROKER

© Copyright 2026 B2BROKER. All rights reserved.

Website developed by wsa.design

*Other than B2BROKER, all third-party company names, logos, brands, and trademarks displayed are the property of the respective brand owners. B2BROKER is not affiliated with or endorse such companies.