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

# Get all tasks

GET https://api.joincandidhealth.com/api/tasks/v3

Reference: https://docs.joincandidhealth.com/api-reference/tasks/v-3/get-multi

## Authentication

- OAuth2 — send the obtained token as `Authorization: Bearer <token>`

## Servers

- `https://api.joincandidhealth.com` (Production, default)
- `https://api-staging.joincandidhealth.com` (Staging)
- `https://sandbox-api.joincandidhealth.com` (CandidSandbox)
- `https://staging-api.joincandidhealth.com` (CandidStaging)
- `http://localhost:5050` (Local)

## Request

### Query parameters

- `limit` (integer, optional) — Defaults to 100
- `page_token` (string, optional)
- `status` (enum, optional)
  - Allowed values: `finished`, `addressed_by_provider_group`, `sent_to_provider_group`, `open`, `blocked`, `waiting_for_review`, `in_progress`
- `statuses` (string, optional) — Only return tasks with a status that matches one in this comma-separated list.
- `task_type` (enum, optional)
  - Allowed values: `CUSTOMER_DATA_REQUEST`, `CLAIM_SUBMISSION_RUN_VALIDATIONS_FAILURE`, `CLAIM_SUBMISSION_SUBMIT_CLAIM_FAILURE`, `CLAIM_SUBMISSION_TRANSFORM_FAILURE`, `CODE_CLAIM`, `CODE_CLAIM_REVIEW`, `ELIGIBILITY`, `CLAIM_FOLLOW_UP`, `REJECTION_RESOLUTION`, `PAYER_CONFIGURATION_ERROR`, `DENIAL_RESOLUTION`, `MISSING_ENROLLMENT`, `CHARGE_CAPTURE_UPDATE`
- `task_types` (string, optional) — Only return tasks with a task_type that matches one in this comma-separated list.
- `categories` (string, optional) — Only return tasks with categories that match one in this comma-separated list.
- `updated_since` (datetime, optional) — Only return tasks updated on or after this date-time
- `encounter_id` (UUID, optional) — Only return tasks associated with this encounter
- `search_term` (string, optional) — Query tasks by encounter_id, claim_id, task_id, or external_id
- `assigned_to_id` (UUID, optional) — Only return tasks assigned to this user
- `date_of_service_min` (date, optional) — The minimum date of service for the linked encounter
- `date_of_service_max` (date, optional) — The maximum date of service for the linked encounter
- `billing_provider_npi` (string, optional) — The NPI of the billing provider associated with the task's claim
- `sort` (enum, optional) — Defaults to updated_at:desc
  - Allowed values: `updated_at:asc`, `updated_at:desc`, `patient_name:asc`, `patient_name:desc`, `patient_external_id:asc`, `patient_external_id:desc`, `payer_name:asc`, `payer_name:desc`, `payer_id:asc`, `payer_id:desc`, `status:asc`, `status:desc`, `task_type:asc`, `task_type:desc`, `category:asc`, `category:desc`, `agg_updated_at:asc`, `agg_updated_at:desc`, `date_of_service:asc`, `date_of_service:desc`, `blocks_claim_submission:asc`, `blocks_claim_submission:desc`

## Response

### 200

- `items` (list of Task, required)
- `next_page_token` (string, optional)
- `prev_page_token` (string, optional)

## Errors

### 422 Unprocessable Entity Error

- `errorName` ("UnprocessableEntityError", required)
- `content` (UnprocessableEntityErrorMessage, required)

## Types

### Task

- `task_id` (UUID, required)
- `encounter_id` (UUID, required)
- `task_type` (enum, required)
  - Allowed values: `CUSTOMER_DATA_REQUEST`, `CLAIM_SUBMISSION_RUN_VALIDATIONS_FAILURE`, `CLAIM_SUBMISSION_SUBMIT_CLAIM_FAILURE`, `CLAIM_SUBMISSION_TRANSFORM_FAILURE`, `CODE_CLAIM`, `CODE_CLAIM_REVIEW`, `ELIGIBILITY`, `CLAIM_FOLLOW_UP`, `REJECTION_RESOLUTION`, `PAYER_CONFIGURATION_ERROR`, `DENIAL_RESOLUTION`, `MISSING_ENROLLMENT`, `CHARGE_CAPTURE_UPDATE`
- `description` (string, required)
- `blocks_claim_submission` (boolean, required)
- `external_id` (string, required)
- `patient_name` (string, required)
- `patient_external_id` (string, required)
- `status` (enum, required)
  - Allowed values: `finished`, `addressed_by_provider_group`, `sent_to_provider_group`, `open`, `blocked`, `waiting_for_review`, `in_progress`
- `notes` (list of TaskNote, required)
- `created_at` (datetime, required)
- `updated_at` (datetime, required) — The time of most recent update to the task only
- `agg_updated_at` (datetime, required) — The time of most recent update to the task or any of its notes
- `date_of_service` (date, required)
- `assignments` (list of TaskAssignment, required)
- `payer_name` (string, optional)
- `payer_id` (string, optional)
- `category` (enum, optional)
  - Allowed values: `other`, `provider_credentialing`, `authorization_required`, `inactive_coverage`, `unknown_eligibility_or_patient_not_found`, `incorrect_member_id`, `documentation_addendum_request`, `coordination_of_benefits`, `missing_or_incorrect_gender`, `incorrect_date_of_birth`, `incorrect_payer`, `incorrect_name`, `invalid_diagnosis_code`, `non_covered_diagnosis_codes`, `information_requested_from_patient`, `incorrect_rendering_provider_info`, `missing_or_incorrect_modifier`, `coding_frequency_error`, `incorrect_patient_address`, `multiple_em_claims`, `missing_or_incorrect_charge_amount`, `medical_records_request`, `provider_enrollment_or_contracting`, `missing_or_incorrect_group_number`, `missing_diagnosis_codes`, `missing_patient_authorization`, `incorrect_billing_provider_info`, `incorrect_procedure_code`, `incorrect_quantity`, `incorrect_place_of_service_code`, `incorrect_service_facility_info`, `incorrect_date_of_service`, `missing_or_incorrect_ndc`, `patient_collections`, `submit_to_secondary`, `transient_server_error`, `missing_remittance_enrollment`, `missing_claims_enrollment`, `held_by_customer`, `pending_manual_remit_posting`, `incorrect_referring_provider_info`, `payer_configuration_error`, `downcoding_review`
- `configurable_rule_id` (UUID, optional)
- `persisted_rule_id` (UUID, optional)
- `organization_id` (UUID, optional)

### UnprocessableEntityErrorMessage

- `message` (string, optional)

### TaskNote

- `task_note_id` (UUID, required)
- `text` (string, required)
- `created_at` (datetime, required)
- `author_name` (string, required)
- `author_organization_name` (string, required)

### TaskAssignment

- `task_assignment_id` (UUID, required)
- `assignee_user_id` (UUID, optional)

## Examples

**Response**

```json
{
  "items": [
    {
      "task_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "task_type": "CUSTOMER_DATA_REQUEST",
      "description": "description",
      "blocks_claim_submission": true,
      "external_id": "external_id",
      "patient_name": "patient_name",
      "patient_external_id": "patient_external_id",
      "status": "finished",
      "notes": [
        {
          "task_note_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
          "text": "text",
          "created_at": "2024-01-15T09:30:00Z",
          "author_name": "author_name",
          "author_organization_name": "author_organization_name"
        },
        {
          "task_note_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
          "text": "text",
          "created_at": "2024-01-15T09:30:00Z",
          "author_name": "author_name",
          "author_organization_name": "author_organization_name"
        }
      ],
      "created_at": "2024-01-15T09:30:00Z",
      "updated_at": "2024-01-15T09:30:00Z",
      "agg_updated_at": "2024-01-15T09:30:00Z",
      "date_of_service": "2023-01-15",
      "assignments": [
        {
          "task_assignment_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
          "assignee_user_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
        },
        {
          "task_assignment_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
          "assignee_user_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
        }
      ],
      "payer_name": "payer_name",
      "payer_id": "payer_id",
      "category": "other",
      "configurable_rule_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "persisted_rule_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "organization_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    },
    {
      "task_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "task_type": "CUSTOMER_DATA_REQUEST",
      "description": "description",
      "blocks_claim_submission": true,
      "external_id": "external_id",
      "patient_name": "patient_name",
      "patient_external_id": "patient_external_id",
      "status": "finished",
      "notes": [
        {
          "task_note_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
          "text": "text",
          "created_at": "2024-01-15T09:30:00Z",
          "author_name": "author_name",
          "author_organization_name": "author_organization_name"
        },
        {
          "task_note_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
          "text": "text",
          "created_at": "2024-01-15T09:30:00Z",
          "author_name": "author_name",
          "author_organization_name": "author_organization_name"
        }
      ],
      "created_at": "2024-01-15T09:30:00Z",
      "updated_at": "2024-01-15T09:30:00Z",
      "agg_updated_at": "2024-01-15T09:30:00Z",
      "date_of_service": "2023-01-15",
      "assignments": [
        {
          "task_assignment_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
          "assignee_user_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
        },
        {
          "task_assignment_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
          "assignee_user_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
        }
      ],
      "payer_name": "payer_name",
      "payer_id": "payer_id",
      "category": "other",
      "configurable_rule_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "persisted_rule_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "organization_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    }
  ],
  "next_page_token": "next_page_token",
  "prev_page_token": "prev_page_token"
}
```

**SDK Code**

```python
import requests

url = "https://api.joincandidhealth.com/api/tasks/v3"

headers = {"Authorization": "<token>."}

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

print(response.json())
```

```javascript
const url = 'https://api.joincandidhealth.com/api/tasks/v3';
const options = {method: 'GET', headers: {Authorization: '<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.joincandidhealth.com/api/tasks/v3"

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

	req.Header.Add("Authorization", "<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.joincandidhealth.com/api/tasks/v3")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<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.joincandidhealth.com/api/tasks/v3")
  .header("Authorization", "<token>.")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.joincandidhealth.com/api/tasks/v3', [
  'headers' => [
    'Authorization' => '<token>.',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.joincandidhealth.com/api/tasks/v3");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "<token>.");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "<token>."]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.joincandidhealth.com/api/tasks/v3")! 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()
```