> This page is for RakeSign.

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

# Post bulk preview

POST https://api.cloudraker.com/v1/signing/bulk/preview
Content-Type: application/json

Uses the same resource permissions and lifecycle as the RakeSign application. Integration access is limited to its shared team. Required scopes: templates:read, jobs:read.

Reference: https://docs.cloudraker.com/rakesign/api/rake-sign/signing-post-bulk-preview

## Authentication

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

## Request

### Body (application/json)

This endpoint expects an object.

- `templateId` (string, required)
- `csv` (string, required)
- `mapping` (V1SigningBulkPreviewPostRequestBodyContentApplicationJsonSchemaMapping, required)
- `templateVersion` (integer, optional)

## Response

### 200

Authorized signing resource.

- `rows` (list of V1SigningBulkPreviewPostResponsesContentApplicationJsonSchemaRowsItems, required)
- `total` (integer, required)
- `valid` (integer, required)
- `invalid` (integer, required)
- `template` (V1SigningBulkPreviewPostResponsesContentApplicationJsonSchemaTemplate, required)

## Errors

### 400 Bad Request Error

The request could not complete.

- `code` (string, required)
- `message` (string, required)
- `retryable` (boolean, required)
- `requestId` (string, required)
- `docUrl` (string, optional)

### 401 Unauthorized Error

The request could not complete.

- `code` (string, required)
- `message` (string, required)
- `retryable` (boolean, required)
- `requestId` (string, required)
- `docUrl` (string, optional)

### 403 Forbidden Error

The request could not complete.

- `code` (string, required)
- `message` (string, required)
- `retryable` (boolean, required)
- `requestId` (string, required)
- `docUrl` (string, optional)

### 404 Not Found Error

The request could not complete.

- `code` (string, required)
- `message` (string, required)
- `retryable` (boolean, required)
- `requestId` (string, required)
- `docUrl` (string, optional)

### 409 Conflict Error

The request could not complete.

- `code` (string, required)
- `message` (string, required)
- `retryable` (boolean, required)
- `requestId` (string, required)
- `docUrl` (string, optional)

### 429 Too Many Requests Error

Rate limited. The `/v1` API allows at least **67 requests per minute per organization** (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the `Retry-After` interval and retry — the error is `retryable`.

- `code` (enum, required)
  - Allowed values: `rate_limited`
- `message` (string, required)
- `retryable` (boolean, required)
- `requestId` (string, required)
- `docUrl` (string, optional)

### 503 Service Unavailable Error

The request could not complete.

- `code` (string, required)
- `message` (string, required)
- `retryable` (boolean, required)
- `requestId` (string, required)
- `docUrl` (string, optional)

## Types

### V1SigningBulkPreviewPostRequestBodyContentApplicationJsonSchemaMapping

- `nameColumn` (string, required)
- `emailColumn` (string, required)
- `requesterSlot` (integer, required)
- `requesterRoleId` (string, optional)
- `variables` (map from string to string, optional, default: {})

### V1SigningBulkPreviewPostResponsesContentApplicationJsonSchemaRowsItems

- `index` (integer, required)
- `name` (string, required)
- `email` (string, required)
- `variables` (map from string to Schema0, required)
- `errors` (list of string, required)

### V1SigningBulkPreviewPostResponsesContentApplicationJsonSchemaTemplate

- `id` (string, required)
- `title` (string, required)
- `version` (integer, required)

### Schema0

- string
- double
- boolean
- list of Schema0
- map from string to Schema0

## Examples

**Request**

```json
{
  "templateId": "string",
  "csv": "string",
  "mapping": {
    "nameColumn": "string",
    "emailColumn": "string",
    "requesterSlot": 1
  }
}
```

**Response**

```json
{
  "rows": [
    {
      "index": 1,
      "name": "string",
      "email": "string",
      "variables": {},
      "errors": [
        "string"
      ]
    }
  ],
  "total": 1,
  "valid": 1,
  "invalid": 1,
  "template": {
    "id": "string",
    "title": "string",
    "version": 1
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.cloudraker.com/v1/signing/bulk/preview"

payload = {
    "templateId": "string",
    "csv": "string",
    "mapping": {
        "nameColumn": "string",
        "emailColumn": "string",
        "requesterSlot": 1
    }
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.cloudraker.com/v1/signing/bulk/preview';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"templateId":"string","csv":"string","mapping":{"nameColumn":"string","emailColumn":"string","requesterSlot":1}}'
};

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"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.cloudraker.com/v1/signing/bulk/preview"

	payload := strings.NewReader("{\n  \"templateId\": \"string\",\n  \"csv\": \"string\",\n  \"mapping\": {\n    \"nameColumn\": \"string\",\n    \"emailColumn\": \"string\",\n    \"requesterSlot\": 1\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	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.cloudraker.com/v1/signing/bulk/preview")

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

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"templateId\": \"string\",\n  \"csv\": \"string\",\n  \"mapping\": {\n    \"nameColumn\": \"string\",\n    \"emailColumn\": \"string\",\n    \"requesterSlot\": 1\n  }\n}"

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.post("https://api.cloudraker.com/v1/signing/bulk/preview")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"templateId\": \"string\",\n  \"csv\": \"string\",\n  \"mapping\": {\n    \"nameColumn\": \"string\",\n    \"emailColumn\": \"string\",\n    \"requesterSlot\": 1\n  }\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.cloudraker.com/v1/signing/bulk/preview', [
  'body' => '{
  "templateId": "string",
  "csv": "string",
  "mapping": {
    "nameColumn": "string",
    "emailColumn": "string",
    "requesterSlot": 1
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.cloudraker.com/v1/signing/bulk/preview");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"templateId\": \"string\",\n  \"csv\": \"string\",\n  \"mapping\": {\n    \"nameColumn\": \"string\",\n    \"emailColumn\": \"string\",\n    \"requesterSlot\": 1\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "templateId": "string",
  "csv": "string",
  "mapping": [
    "nameColumn": "string",
    "emailColumn": "string",
    "requesterSlot": 1
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cloudraker.com/v1/signing/bulk/preview")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```