> This page is for Unified.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# /available-actions

GET https://api.merge.dev/api/crm/v1/available-actions

Returns a list of models and actions available for an account.

Reference: https://docs.merge.dev/merge-unified/crm/linked-account/available-actions/retrieve

## Authentication

- `Authorization` header (bearer token, required) — Token-based authentication with required prefix "Bearer"

## Servers

- `https://api.merge.dev/api` (Production, default)
- `https://api-eu.merge.dev/api` (ProductionEU)
- `https://api-ap.merge.dev/api` (ProductionAPSE1)

## Request

### Headers

- `X-Account-Token` (string, required) — Token identifying the end user.

## Response

### 200

- `integration` (AccountIntegration, required)
- `passthrough_available` (boolean, required)
- `available_model_operations` (list of ModelOperation, optional)

## Types

### AccountIntegration

- `name` (string, required) — Company name.
- `abbreviated_name` (string, optional, nullable) — Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors)
- `categories` (list of enum, optional) — Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris].
  - Allowed values: `hris`, `ats`, `accounting`, `ticketing`, `crm`, `mktg`, `filestorage`, `knowledgebase`
- `image` (string, optional, nullable) — Company logo in rectangular shape.
- `square_image` (string, optional, nullable) — Company logo in square shape.
- `color` (string, optional) — The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color.
- `slug` (string, optional)
- `api_endpoints_to_documentation_urls` (map from string to any, optional) — Mapping of API endpoints to documentation urls for support. Example: \{'GET': \[\['/common-model-scopes', '[https://docs.merge.dev/accounting/common-model-scopes/#common\_model\_scopes\_retrieve'\],\['/common-model-actions](https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],\['/common-model-actions)', '[https://docs.merge.dev/accounting/common-model-actions/#common\_model\_actions\_retrieve](https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve)']], 'POST': \[]}
- `webhook_setup_guide_url` (string, optional, nullable) — Setup guide URL for third party webhook creation. Exposed in Merge Docs.
- `category_beta_status` (AccountIntegrationCategoryBetaStatus, optional) — Category or categories this integration is in beta status for.

### ModelOperation

# The ModelOperation Object ### Description The `ModelOperation` object is used to represent the operations that are currently supported for a given model. ### Usage Example View what operations are supported for the `Candidate` endpoint.

- `model_name` (string, required)
- `available_operations` (list of string, required)
- `required_post_parameters` (list of string, required)
- `supported_fields` (list of string, required)

### AccountIntegrationCategoryBetaStatus

Category or categories this integration is in beta status for.

## Examples

**Response**

```json
{
  "integration": {
    "name": "Lever",
    "categories": [
      "ats"
    ],
    "image": "https://merge-api-production.s3.amazonaws.com/media/Lever_Logo.png",
    "square_image": "https://merge-api-production.s3.amazonaws.com/media/Lever_Square_Logo.png",
    "color": "#262A34",
    "api_endpoints_to_documentation_urls": "{'GET': [('/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve')], 'POST': []}",
    "is_in_beta": "true"
  },
  "passthrough_available": true,
  "available_model_operations": [
    {
      "model_name": "Candidate",
      "available_operations": [
        "FETCH",
        "CREATE"
      ],
      "required_post_parameters": [
        "remote_user_id"
      ],
      "supported_fields": [
        "first_name",
        "last_name",
        "company",
        "title"
      ]
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.merge.dev/api/crm/v1/available-actions"

headers = {
    "X-Account-Token": "X-Account-Token",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.merge.dev/api/crm/v1/available-actions';
const options = {
  method: 'GET',
  headers: {'X-Account-Token': 'X-Account-Token', Authorization: 'Bearer <token>'}
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.merge.dev/api/crm/v1/available-actions"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Account-Token", "X-Account-Token")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.merge.dev/api/crm/v1/available-actions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Account-Token"] = 'X-Account-Token'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.merge.dev/api/crm/v1/available-actions")
  .header("X-Account-Token", "X-Account-Token")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.merge.dev/api/crm/v1/available-actions', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'X-Account-Token' => 'X-Account-Token',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.merge.dev/api/crm/v1/available-actions");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Account-Token", "X-Account-Token");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Account-Token": "X-Account-Token",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.merge.dev/api/crm/v1/available-actions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```