Skip to main content

Base API Url

All API endpoints in the reference documentation are relative to the following base URL:
https://ah-api.merge.dev/api/v1

Authentication

For any request you make when communicating with Merge Agent Handler, you will need an API key to authenticate yourself as an authorized user. You should have saved your access key after creating it in Merge, but if you no longer have it, you can regenerate your Production Access Key or create a Test Access Key in your dashboard. Add your API Key with a “Bearer ” prefix as a header called Authorization to authorize your Merge API requests. This header must be included in every request in this format:
Authorization: Bearer <your_api_key>