Links users in your CRM to the DoubleTick agents they sign in as, so they can open DoubleTick inside your CRM.
Before you call
identifier (your Custom CRM integration) and mappings (at least one) are required.
Each mapping has a crmUserId (up to 255 characters) and a doubleTickAgentNumber.
The Custom CRM integration must be connected and must have a List Users API configured.
Each crmUserId must appear in your List Users API response.
Your account needs permission to add integrations.
Write agent numbers with a leading + and country code. Numbers without + are also tried as Indian numbers.
How it works
This does the same as mapping agents by hand under Settings → Integrations → Custom CRM.
Until a CRM user is mapped, creating an embed login for them fails with 403 user_not_mapped.
Before mapping, DoubleTick calls your List Users API. If that call fails, this endpoint returns 502.
Each row is handled separately, and the response is 200 even if every row fails. Read mapped and failed, not just the status code.
Failed rows are listed in failures with a reason: invalid_phone_number, duplicate_crm_user, crm_user_not_found, agent_not_found or agent_already_mapped.
Only the first 100 failed rows are listed. When there are more, failuresTruncated is true.
You can safely re-send a batch. A new mapping replaces that CRM user's earlier one, including a mapping set by hand in the dashboard.
An agent can belong to only one CRM user. agent_already_mapped includes ownedByCrmUserId, the CRM user who holds that agent now.
Conflicts are checked against the mappings as they were before the call. A chain (A takes B's agent while B moves) needs the batch sent twice. A straight swap must be done in the dashboard.
This endpoint cannot remove a mapping.
Rate limit
60 requests per minute.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Responses
400
Request body failed validation, or the integration has no List Users API configured yet (list_users_api_not_configured).
401
Missing or invalid API key.
403
The integration is not connected (integration_disabled), or the API key’s user lacks permission to manage integrations.
404
No Custom CRM integration with this identifier exists in your organisation (integration_not_found).
413
Request body larger than 1 MiB.
429
Too Many Requests
502
Your List Users API could not be reached, returned an error, or returned an unexpected shape (EXTERNAL_API_ERROR).
Updated 9 days ago
Did this page help you?
Yes
No
Language
ShellNodeRubyPHPPython
Credentials
Header
Header
Loading…
Response
Click Try It! to start a request and see the response here! Or choose an example: