> This page is for version v1 (default).
> For other versions, use one of these documentation indexes:
> - v1 (default): https://developers.outpave.com/v1/llms.txt
> - v2: https://developers.outpave.com/v2/llms.txt

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

# Retrieve onboarding record

GET https://api.outpave.com/api/v1/platform/onboard/{companyId}

Returns the current onboarding status and details for the company. Requires **ReadOnly** role.

Reference: https://developers.outpave.com/api-reference/platform-api/onboarding/get-api-platform-onboard-companyid

## Authentication

- `Authorization` header (bearer token, required) — A short-lived UUID access token from `GET /api/v1/platform/token`. Send as `Authorization: Bearer {token}`.

## Request

### Path parameters

- `companyId` (string, required) — The company's unique identifier (returned by `Create onboarding record`).

## Response

### 200

Onboarding record retrieved.

- `platformId` (string, required) — Your platform's unique identifier.
- `companyId` (string, required) — The onboarded company's unique identifier.
- `companyName` (string, required) — The company's display name.
- `status` (string, required) — The current onboarding status.
- `errorMessage` (list of OnboardErrorMessage, required) — Any errors blocking onboarding. Empty when there are none.
- `manualResolutionUrl` (string, required) — A URL to resolve any blocking errors manually. Empty when no action is required.
- `metadata` (OnboardResponseMetadata, required) — Additional metadata about the onboarding. On initial submission this echoes back the submitted `OnboardPayload`. Once the account is created, this contains the connected account.

## Errors

### 401 Unauthorized Error

The credential is missing, invalid, expired, or doesn't have permission for this endpoint.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

### 403 Forbidden Error

The credential is valid but doesn't have permission to access this resource, or your plan does not include API access.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

### 404 Not Found Error

The requested resource doesn't exist or isn't accessible to your platform.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

### 500 Internal Server Error

An unexpected server error occurred. Retry the request; if the problem persists, contact support.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

## Types

### OnboardErrorMessage

A single onboarding error. Each entry is either a string code (e.g. `requirements.past_due`) or a structured object.

- string
- map from string to any

### OnboardResponseMetadata

Additional metadata about the onboarding. On initial submission this echoes back the submitted `OnboardPayload`. Once the account is created, this contains the connected account.

## Examples

**Response**

```json
{
  "platformId": "cb8993c2-fdb8-4104-b503-49fb215acb94",
  "companyId": "d3f103e4-9175-4de3-98f5-b36e0b0a0fbd",
  "companyName": "Acme Co",
  "status": "success",
  "errorMessage": [],
  "manualResolutionUrl": "",
  "metadata": {}
}
```

**SDK Code**

```python
import requests

url = "https://api.outpave.com/api/v1/platform/onboard/companyId"

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

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

print(response.json())
```

```javascript
const url = 'https://api.outpave.com/api/v1/platform/onboard/companyId';
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
package main

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

func main() {

	url := "https://api.outpave.com/api/v1/platform/onboard/companyId"

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

url = URI("https://api.outpave.com/api/v1/platform/onboard/companyId")

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
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.outpave.com/api/v1/platform/onboard/companyId")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.outpave.com/api/v1/platform/onboard/companyId', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.outpave.com/api/v1/platform/onboard/companyId");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.outpave.com/api/v1/platform/onboard/companyId")! 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()
```