Search...
Get startedGuidesUse casesAPI referenceSDKsIntegrations
Search docs...
⌘K
Log inGet a Demo
Merge API basicsHR, Payroll, and Directory (HRIS)Recruiting (ATS)AccountingTicketingCRMFile StorageSupplemental Data
Overview
File Picker
Common Models
Drives
GET/drivesGET/drives/{id}
Files
GET/filesPOST/filesGET/files/{id}GET/files/{id}/downloadGET/files/{id}/download/request-metaGET/files/download/request-metaGET/files/meta/post
Folders
GET/foldersPOST/foldersGET/folders/{id}GET/folders/meta/post
Groups
GET/groupsGET/groups/{id}
Users
GET/usersGET/users/{id}
Linked Account
Account Details
Account Token
Delete Account
Issues
Linked Accounts
Link Token
Field Mapping
Data Management
Scopes
Force Resync
Passthrough
Async Passthrough
Sync Status
Org Management
Generate Key
Regenerate Key
Audit Trail
POST
/link-token

https://api.merge.dev/api/filestorage/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.

Previous
Linked Accounts
Next Up
Field Mapping
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