# Build an Event Binder for the On-Site Team

> Download an Event Binder as PDF or Word with the sections your on-site team needs.

This is the Markdown copy of https://api.exhibitday.com/Help/V1?guide=export-event-binder for AI tools. Code examples are in curl, JavaScript, Python and C#; the help page shows all 8 languages, and https://api.exhibitday.com/llms-full.txt has the complete reference in one file. Index of all pages: https://api.exhibitday.com/llms.txt

Download an Event Binder as PDF or Word with the sections your on-site team needs.

Example use case

Your booth crew needs one document with the venue details, booth setup, asset reservations, shipments and Tasks for show week.

What you'll end up with

A PDF you can open offline or print. If your plan includes Word Binders, you can download a Word document to edit before sharing.

Before you start

Have the Event ID and a workspace API key that can read the Event. In the app, the same report is available from the Event's **Event Binder (.pdf export)** menu item.

Good to know

The Binder contains selected Event sections. Files attached to the Event and Task comments are outside the export.

## At a glance

Time to try

About 5 minutes

Effect on your data

Read-only

Endpoints

1

ExhibitDay creates a private download without editing the Event or sending notifications. The example saves the file on your computer.

- [`GET /v1/events/binder/export`](https://api.exhibitday.com/Help/V1?epf=1#get-v1-events-binder-export)

## How it works

1. Choose the Event and the sections the on-site team needs.
2. Request the Binder and save the successful file response.
3. Open the file and review the sections and details before you send it to the crew.

## Export a Binder for show week

## Step 1: Pick the sections to include

For this crew, keep the cover page, Event Information, Booth, Booth Services, Asset Reservations, Shipments and Tasks. Those are on by default. The example switches off the other default sections and all cost switches. Budget, ROI and ROO are already off by default.

Use separate switches for a section and its costs. For example, set `include_shipments=true` and `include_shipments_costs=false` to include shipment logistics without permitted shipment costs and payment details. Review Staff and Travel before sharing either section, since they can contain personal information.

## Step 2: Download the PDF

Replace `23456` with the Event ID and use your API key in the Authorization header. PDF is the default. Use `format=docx` for Word if your plan includes Word Binders, and save it with a `.docx` extension.

```
# bash; inspect an error body instead of saving it as the requested file.
status=$(curl --silent --show-error -X GET "https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false" -H "Authorization: Bearer YOUR_API_KEY" --output response-body.tmp --write-out "%{http_code}")
if [ "$status" != 200 ]; then cat response-body.tmp; exit 1; fi
mv response-body.tmp 'event-binder.pdf'
```

**Example response headers (shortened)**

```
HTTP/1.1 200 OK
Content-Type: application/pdf
Content-Disposition: attachment; filename=event-binder.pdf
```

**Check:** The complete example saves the body only after HTTP 200. In your own integration, also check `Content-Type` before saving the response body as a file. For Word, the media type is `application/vnd.openxmlformats-officedocument.wordprocessingml.document`. If the API returns an error, read the JSON response.

## Try it

## Before running the example

| Value | What to put in it |
| --- | --- |
| `YOUR_API_KEY` | Your workspace API key. Keep it out of shared code and logs. |
| `event_id` | The ID of the Event for which you want a Binder. |
| `format` | The sample uses `pdf`. To request Word, use `docx` and change the output filename. |
| `event-binder.pdf` | The local output file. Choose a fresh folder or output name to keep an earlier Binder. |

Copy the complete example in your language and run it from an empty, private folder. It saves the PDF as `event-binder.pdf`. Open the saved file and confirm the Event name, the included sections and the details you intend to share.

## Complete example program

Code Samples

```bash
# bash; inspect an error body instead of saving it as the requested file.
status=$(curl --silent --show-error -X GET "https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false" -H "Authorization: Bearer YOUR_API_KEY" --output response-body.tmp --write-out "%{http_code}")
if [ "$status" != 200 ]; then cat response-body.tmp; exit 1; fi
mv response-body.tmp 'event-binder.pdf'
```

```javascript
// Node.js 18+; use a local file only for a declared multipart operation.
import { readFile, writeFile } from 'node:fs/promises';
const response = await fetch("https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false", { method: "GET", headers: { Authorization: 'Bearer YOUR_API_KEY' } });
if (response.status !== 200) throw new Error(`${response.status}: ${await response.text()}`);
await writeFile("event-binder.pdf", new Uint8Array(await response.arrayBuffer()));
```

```python
import requests
import json
response = requests.request("GET", "https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false", headers={'Authorization': 'Bearer YOUR_API_KEY'}, timeout=30)
if response.status_code != 200:
    raise RuntimeError(f'{response.status_code}: {response.text}')
with open("event-binder.pdf", 'wb') as destination:
    destination.write(response.content)
```

```csharp
using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
using var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false");
using var response = await client.SendAsync(request);
if ((int)response.StatusCode != 200) throw new Exception(await response.Content.ReadAsStringAsync());
await File.WriteAllBytesAsync("event-binder.pdf", await response.Content.ReadAsByteArrayAsync());
```

```java
import java.net.URI;
import java.net.http.*;
import java.nio.file.*;
import java.nio.charset.StandardCharsets;
import java.io.ByteArrayOutputStream;
import java.util.UUID;

public class ExhibitDayExample {
  public static void main(String[] args) throws Exception {
    HttpRequest.Builder request = HttpRequest.newBuilder(URI.create("https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false")).header("Authorization", "Bearer YOUR_API_KEY");
    HttpResponse<byte[]> response = HttpClient.newHttpClient().send(request.method("GET", HttpRequest.BodyPublishers.noBody()).build(), HttpResponse.BodyHandlers.ofByteArray());
    if (response.statusCode() != 200) throw new RuntimeException(new String(response.body(), StandardCharsets.UTF_8));
    Files.write(Path.of("event-binder.pdf"), response.body());
  }
}
```

```php
<?php
$curl = curl_init('https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($curl);
if ($response === false) throw new RuntimeException(curl_error($curl));
$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
curl_close($curl);
if ($status !== 200) throw new RuntimeException($response);
file_put_contents('event-binder.pdf', $response);
```

```ruby
require 'net/http'
require 'uri'
uri = URI('https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false')
request = Net::HTTP::Get.new(uri)
request['Authorization'] = 'Bearer YOUR_API_KEY'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') { |http| http.request(request) }
raise response.body unless response.code == '200'
File.binwrite('event-binder.pdf', response.body)
```

```go
package main
import (
  "fmt"
  "io"
  "log"
  "net/http"
  "os"
)
func main() {
  request, err := http.NewRequest("GET", "https://api.exhibitday.com/v1/events/binder/export?event_id=23456&format=pdf&include_special_tab=false&include_booth_costs=false&include_booth_services_costs=false&include_staff=false&include_staff_costs=false&include_travel=false&include_travel_costs=false&include_giveaways=false&include_giveaways_costs=false&include_shipments_costs=false&include_sponsorships=false&include_sponsorships_costs=false&include_playbook=false&include_playbook_costs=false&include_misc_expenses_credits=false&include_misc_expenses_credits_costs=false", nil)
  if err != nil { log.Fatal(err) }
  request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
  response, err := (&http.Client{}).Do(request)
  if err != nil { log.Fatal(err) }
  defer response.Body.Close()
  data, err := io.ReadAll(response.Body)
  if err != nil { log.Fatal(err) }
  if response.StatusCode != 200 { log.Fatalf("%d %s", response.StatusCode, data) }
  if err := os.WriteFile("event-binder.pdf", data, 0600); err != nil { log.Fatal(err) }
  fmt.Println("File saved")
}
```

## Example response

Response 200 — OK 400 — Bad Request 401 — Unauthorized 404 — Not Found 409 — Conflict 429 — Too Many Requests 500 — Internal Server Error

Example File download

**File:** event-binder.pdf **Content type:** application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document

Note: The response body contains file bytes.

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "HTTP method override is not supported.",
  "error_code": "invalid_request",
  "errors": [
    "Send the documented HTTP method directly. X-HTTP-Method-Override cannot change a request's HTTP method."
  ],
  "error_params": [
    "X-HTTP-Method-Override"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "Missing Event ID. Send a valid Event ID in event_id.",
  "error_code": "invalid_request",
  "errors": [
    "Missing Event ID. Send a valid Event ID in event_id."
  ],
  "error_params": [
    "event_id"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "Invalid Event ID in event_id. Use a valid Event ID.",
  "error_code": "invalid_request",
  "errors": [
    "Invalid Event ID in event_id. Use a valid Event ID."
  ],
  "error_params": [
    "event_id"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "The format parameter was sent more than once with different values in the query string and the JSON body. Nothing was changed. Send it once, or send the same value each time.",
  "error_code": "invalid_request",
  "errors": [
    "The format parameter was sent more than once with different values in the query string and the JSON body. Nothing was changed. Send it once, or send the same value each time."
  ],
  "error_params": [
    "format"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "Send the request body as one JSON object with documented Binder parameter names and values. Nothing was downloaded.",
  "error_code": "invalid_request",
  "errors": [
    "Send the request body as one JSON object with documented Binder parameter names and values. Nothing was downloaded."
  ],
  "error_params": [
    "request_body"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "The format parameter in the query string must be pdf or docx. Leave it out to get a PDF.",
  "error_code": "invalid_request",
  "errors": [
    "The format parameter in the query string must be pdf or docx. Leave it out to get a PDF."
  ],
  "error_params": [
    "format"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "The include_tasks parameter in the query string must be true or false. Leave it out to use its default.",
  "error_code": "invalid_request",
  "errors": [
    "The include_tasks parameter in the query string must be true or false. Leave it out to use its default."
  ],
  "error_params": [
    "include_tasks"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "Word Binders are not included in your workspace's current plan. Set format to pdf, or leave it out.",
  "error_code": "not_allowed",
  "errors": [
    "Word Binders are not included in your workspace's current plan. Set format to pdf, or leave it out."
  ],
  "error_params": [
    "format"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "No Binder sections are selected. Set at least one section option, such as include_info, to true.",
  "error_code": "invalid_request",
  "errors": [
    "No Binder sections are selected. Set at least one section option, such as include_info, to true."
  ],
  "error_params": [],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 400,
  "status": "Bad Request",
  "message": "None of the selected Binder sections is available for this Event. Sections on hidden tabs, or not included in your plan, are left out. Select other sections and try again.",
  "error_code": "invalid_request",
  "errors": [
    "None of the selected Binder sections is available for this Event. Sections on hidden tabs, or not included in your plan, are left out. Select other sections and try again."
  ],
  "error_params": [],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 401,
  "status": "Unauthorized",
  "message": "No API key was provided. Send your key in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
  "error_code": "missing_api_key",
  "errors": [
    "Copy the key from Workspace Settings > API & Integrations > API Access in ExhibitDay."
  ],
  "error_params": [
    "api_key"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 401,
  "status": "Unauthorized",
  "message": "The API key is not valid. Check that you copied the whole key from Workspace Settings > API & Integrations > API Access, then send it in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
  "error_code": "invalid_api_key",
  "errors": [
    "Check that you sent the whole key. If it was regenerated, use the current key from Workspace Settings > API & Integrations > API Access."
  ],
  "error_params": [
    "api_key"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 401,
  "status": "Unauthorized",
  "message": "Access to the ExhibitDay API is not enabled for your workspace. Please contact support@exhibitday.com to enable API Access. Once access is enabled, send your key in the Authorization header as 'Bearer YOUR_API_KEY'.",
  "error_code": "api_access_disabled",
  "errors": [
    "Nothing was read or changed."
  ],
  "error_params": [
    "api_key"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 401,
  "status": "Unauthorized",
  "message": "The API key is not valid for this request. Send your current key in the Authorization header as 'Bearer YOUR_API_KEY'.",
  "error_code": "invalid_api_key",
  "errors": [
    "The API key is not valid for this request. Send your current key in the Authorization header as 'Bearer YOUR_API_KEY'."
  ],
  "error_params": [
    "api_key"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 401,
  "status": "Unauthorized",
  "message": "Access to the ExhibitDay API is not enabled for your workspace. Please contact support@exhibitday.com to enable API Access. Once access is enabled, send your key in the Authorization header as 'Bearer YOUR_API_KEY'.",
  "error_code": "api_access_disabled",
  "errors": [
    "Access to the ExhibitDay API is not enabled for your workspace. Please contact support@exhibitday.com to enable API Access. Once access is enabled, send your key in the Authorization header as 'Bearer YOUR_API_KEY'."
  ],
  "error_params": [
    "api_key"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 404,
  "status": "Not Found",
  "message": "Event not found. Invalid Event ID: 23456.",
  "error_code": "not_found",
  "errors": [
    "Event not found. Invalid Event ID: 23456."
  ],
  "error_params": [
    "event_id"
  ],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 409,
  "status": "Conflict",
  "message": "The Event, its selected records or available Binder sections changed. Retrieve the current information before deciding whether to retry the export.",
  "error_code": "record_changed",
  "errors": [
    "The Event, its selected records or available Binder sections changed. Retrieve the current information before deciding whether to retry the export."
  ],
  "error_params": [],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 409,
  "status": "Conflict",
  "message": "The Event is changing. Retrieve the current information before deciding whether to retry the export.",
  "error_code": "record_changed",
  "errors": [
    "The Event is changing. Retrieve the current information before deciding whether to retry the export."
  ],
  "error_params": [],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 429,
  "status": "Too Many Requests",
  "message": "Error 429 - Too Many Requests",
  "error_code": "rate_limited",
  "errors": [
    "Error 429 - Too Many Requests"
  ],
  "error_params": [],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 500,
  "status": "Unexpected Internal Error",
  "message": "An unexpected error occurred. Please try again later.",
  "error_code": "internal_error",
  "errors": [
    "An unexpected error occurred. Please try again later."
  ],
  "error_params": [],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

```json
{
  "status_code": 500,
  "status": "Unexpected Internal Error",
  "message": "An unexpected error occurred. Please try again later.",
  "error_code": "internal_error",
  "errors": [
    "An unexpected error occurred. Please try again later."
  ],
  "error_params": [],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

Note: Use the request_id from your own response when contacting support.

```json
{
  "status_code": 500,
  "status": "Unexpected Internal Error",
  "message": "An unexpected error occurred. Please try again later.",
  "error_code": "internal_error",
  "errors": [
    "Check whether your change was saved before trying again."
  ],
  "error_params": [],
  "request_id": "0123456789abcdef0123456789abcdef"
}
```

The curl example uses Bash. Node.js needs version 18 or later (save as .mjs). Python uses Requests. C# needs a .NET 8 console project (Program.cs). Java needs Java 11 or later (ExhibitDayExample.java). PHP needs PHP with cURL. Ruby and Go use their standard libraries.

## Things to keep in mind

- ExhibitDay includes selected sections that are available for this Event and workspace. A hidden Booth tab also removes Booth Services. Budget requires Budgeting. ROI and ROO require Analytics & ROI. ROO can still appear with the ROI tab hidden.
- Cost switches can hide financial details within their sections. They cannot grant financial access. Budget has its own switch, and a PDF may have a watermark depending on your plan.
- Each export reads current Event information as the report is prepared. Export again near show time if plans have changed. Check the new document before replacing the copy your crew has.

## If the request fails

If no selected section is available, the API returns HTTP 400 (`invalid_request`). Select one that is, such as Event Information. If Word is not in your plan, it returns HTTP 400 (`not_allowed`); request PDF. If you get `record_changed` (HTTP 409), review the current Event and selected sections before requesting a new Binder.

## Related guides

- [Upload and Verify an Event Attachment](https://api.exhibitday.com/Help/V1?guide=file-attachments)
- [Update Shipment Tracking and Status Automatically](https://api.exhibitday.com/Help/V1?guide=shipment-tracking)
