Lodol Docs

Coda

API actions for the Coda integration.

Coda

Access Coda docs, tables, and rows.


Add row

Add a new row to a Coda table.

Parameters

ParameterTypeRequiredDescription
doc_idstringYesCoda doc ID
table_idstringYesCoda table ID
row_valuesobjectYesColumn values for the new row

Response

{
  "addedRowCount": 1,
  "requestId": "abc-123-def"
}

List docs

Retrieve all accessible Coda docs for the connected account.

Response

[
  {
    "id": "AbCdEfGhIj",
    "name": "My Project Doc",
    "owner": "user@example.com",
    "type": "doc"
  }
]

List rows

Retrieve rows from a Coda table with optional limit.

Parameters

ParameterTypeRequiredDescription
doc_idstringYesCoda doc ID
table_idstringYesCoda table ID
limitnumberNoMaximum number of rows to return

Response

[
  {
    "id": "i-abc123",
    "name": "Task 1",
    "type": "row",
    "values": {
      "Assignee": "John",
      "Status": "In Progress"
    }
  }
]

List tables in a doc

Fetch all tables for a specific Coda doc.

Parameters

ParameterTypeRequiredDescription
doc_idstringYesCoda doc ID

Response

[
  {
    "id": "grid-abc123",
    "name": "Tasks",
    "parent": {
      "id": "AbCdEfGhIj",
      "type": "doc"
    },
    "type": "table"
  }
]

Update row

Update an existing row in a Coda table.

Parameters

ParameterTypeRequiredDescription
doc_idstringYesCoda doc ID
table_idstringYesCoda table ID
row_idstringYesRow identifier to update
row_valuesobjectYesColumn values to update on the row

Response

{
  "id": "i-abc123",
  "requestId": "abc-123-def"
}

On this page