Test account

There is no shared sandbox. To try the API without touching real data, use a trial account of your own.

  1. 1Create a trial account. It is a complete CRM, separate from any production data.
  2. 2Sign in as the administrator and open Settings › Service Accounts.
  3. 3Create a Service Account with the permissions you want to test and copy the Client ID and Client Secret.
  4. 4Request a token and call the API at your account address.

Try it

cURL
# 1. Token
TOKEN=$(curl -s -X POST https://magnetcustomer.net/realms/platform/protocol/openid-connect/token \
  -d "grant_type=client_credentials" \
  -d "client_id=YOUR_CLIENT_ID" \
  -d "client_secret=YOUR_CLIENT_SECRET" \
  | jq -r .access_token)

# 2. List contacts
curl "https://your-account.platform-api.magnetcustomer.com/api/contacts?page=1&limit=5" \
  -H "Authorization: Bearer $TOKEN"

Already a customer? Do not test against your production account with a broad credential. Use a trial account, or a Service Account limited to read permissions.