Search...
Get startedGuidesUse casesAPI referenceSDKsIntegrations
Search docs...
⌘K
Log inGet a Demo
POST
/link-token

https://api.merge.dev/api/mktg/v1/link-token

US
EU
APAC

Creates a link token to be used when linking a new end user.


Body parameters

end_user_email_addressString
Required
Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.

end_user_organization_nameString
Required
Your end user's organization.

end_user_origin_idString
Required
This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.

categoriesArray
Required
The integration categories to show in Merge Link.

integrationString
Optional
The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.

link_expiry_minsInteger
Required
An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30.

should_create_magic_link_urlBoolean
Optional
Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.

hide_admin_magic_linkBoolean
Optional
Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.

category_common_model_scopesObjectBeta
Optional
When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings.

languageEnum
Optional
The following subset of IETF language tags can be used to configure localization. Must pass in one of the following choices: en, de.

To relink an account and prevent creating a new one:

Pass the existing account's end_user_origin_id to the /link-token endpoint.

Get started

Introduction
Unified API
Linked Account
Merge Link
SDKs
API reference

Merge API basics
Supplemental Data

Merge ATS
Activities
Applications
Attachments
Candidates
Departments
Eeocs
Interviews
Job Interview Stages
Job Postings
Jobs
Offers
Offices
Reject Reasons
Scorecards
Screening Questions
Tags
Users

Merge HRIS
Bank Info
Benefits
Companies
Dependents
Employee Payroll Runs
Employees
Employer Benefits
Employments
Groups
Locations
Pay Groups
Payroll Runs
Time Off
Time Off Balances
Timesheet Entries

Merge Accounting
Accounting Periods
Accounts
Addresses
Attachments
Balance Sheets
Bank Feed Accounts
Bank Feed Transactions
Cash Flow Statements
Company Info
Contacts
Credit Notes
Employees
Expenses
General Ledger Transactions
Income Statements
Invoices
Items
Journal Entries
Payment Methods
Payment Terms
Payments
Phone Numbers
Purchase Orders
Tax Rates
Tracking Categories
Transactions
Vendor Credits

Merge Ticketing
Accounts
Attachments
Collections
Comments
Contacts
Roles
Tags
Teams
Tickets
Users
Viewers

Merge CRM
Accounts
Contacts
Engagement Types
Engagements
Leads
Notes
Opportunities
Stages
Tasks
Users

Merge File Storage
Drives
Files
Folders
Groups
Users

© Merge 2025
Terms of Use
Privacy Policy