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

# List Onboardings

GET https://api.customerhub.com/web_api/onboardings

List the current user's journeys (onboardings) with progress and upcoming steps.

**Authentication:** Required — Bearer token.

**Query parameters:**
- `achievement` (optional) — Achievement slug; when it matches an achievement with associated journeys, the list is filtered to those journeys
- `page` (optional) — Page number

**Behavior:** Only journeys whose base journey is `published` are returned, unless the caller is in admin preview. Ordered by the base journey's `order`.

**Response:**
- `onboardings` — Array of journeys with `id`, `name`, `slug`, `progress`, `completed_at`, `goal_description`, `image_path`, `tags`, `author`, `upcoming_tasks`, and `steps`
- `products` — Empty array on this endpoint
- `completions` — Completion map
- `pinned_note` — `null` on this endpoint
- `navigation`, `featured_post`, `whats_new`, `stats`, `journey_achievement`, `onboardings_summary`
- `paging` — Pagination metadata

Reference: https://customerhub.com/api/api-reference/onboardings/list-onboardings

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Query parameters

- `achievement` (string, optional) — Optional achievement slug — restricts the list to journeys associated with that achievement

## Response

### 200

OK

## Examples

**Response**

```json
{
  "completions": {},
  "featured_post": null,
  "journey_achievement": null,
  "navigation": [],
  "onboardings": [
    {
      "author": {
        "avatar_url": null,
        "id": 1,
        "name": "Jane"
      },
      "completed_at": null,
      "created_at": "2026-07-01T09:00:00.000Z",
      "goal_description": "Set up your account",
      "id": 5,
      "image_path": null,
      "name": "Getting Started",
      "progress": 40,
      "slug": "getting-started",
      "steps": [],
      "tags": [],
      "upcoming_tasks": [
        {
          "name": "Complete your profile",
          "slug": "complete-your-profile"
        }
      ],
      "updated_at": "2026-07-18T12:00:00.000Z"
    }
  ],
  "onboardings_summary": null,
  "paging": {
    "current_page": 1,
    "per_page": 30,
    "total_count": 1,
    "total_pages": 1
  },
  "pinned_note": null,
  "products": [],
  "stats": null,
  "whats_new": null
}
```

**SDK Code**

```python Onboardings_listOnboardings_example
import requests

url = "https://api.customerhub.com/web_api/onboardings"

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

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

print(response.json())
```

```javascript Onboardings_listOnboardings_example
const url = 'https://api.customerhub.com/web_api/onboardings';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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

```go Onboardings_listOnboardings_example
package main

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

func main() {

	url := "https://api.customerhub.com/web_api/onboardings"

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

	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 Onboardings_listOnboardings_example
require 'uri'
require 'net/http'

url = URI("https://api.customerhub.com/web_api/onboardings")

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

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

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

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

HttpResponse<String> response = Unirest.get("https://api.customerhub.com/web_api/onboardings")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.customerhub.com/web_api/onboardings', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp Onboardings_listOnboardings_example
using RestSharp;

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

```swift Onboardings_listOnboardings_example
import Foundation

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

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