Export a board as a file download
GET
/boards/{board}/export
const url = 'https://projects.work.optidata.cloud/api/boards/1/export?format=csv&fields%5B%5D=assignees';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);}curl --request GET \ --url 'https://projects.work.optidata.cloud/api/boards/1/export?format=csv&fields%5B%5D=assignees' \ --header 'Authorization: Bearer <token>'Exports the board’s cards to CSV, Excel or JSON and streams the file as a download. Requires export permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”board
required
integer
Board id.
Query Parameters
Section titled “Query Parameters”format
required
string
fields[]
required
Array<string>
Card fields to include in the export.
Responses
Section titled “Responses”The exported file (content type depends on format).
string
string format: binary
object
Examplegenerated
{}Missing, invalid or expired bearer passport.
Media typeapplication/json
object
error
string
Example
{ "error": "JWT passport exception: Missing bearer token in request"}The authenticated user lacks the required board permission.
Media typeapplication/json
object
message
string
Example
{ "message": "This action is unauthorized."}Resource not found, or a nested resource does not belong to its parent in the path.
Media typeapplication/json
object
message
string
Example
{ "message": "Not found."}Validation failed.
Media typeapplication/json
object
message
First validation error message.
string
errors
Map of field name → list of error messages.
object
key
additional properties
Array<string>
Example
{ "message": "The name field is required.", "errors": { "name": [ "The name field is required." ] }}