# Dock

> Work with Dock accounts, workspaces, forms, templates, tags and assets.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/dock

## Actions

### Create tag

Create tag.

**Inputs**

- Properties (`properties`, list): Select the tag properties that should be returned. One or more of: `id`, `object`, `url`, `updatedAt`, `createdAt`, `title`.
- Title (`title`, text, required): Title of the tag.
- Creator ID (`creator_id`, text): Dock user id of the company member shown as having done this. With an API key and neither this nor creatorEmail, the key's creator is used (a key whose creator no longer exists must name one); a workspace grant is always the signed-in person.
- Creator email (`creator_email`, text): Email of the company member shown as having done this, instead of creatorId (creatorId wins when both are sent).

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "tag": {
        "createdAt": "example",
        "id": "example",
        "object": "example",
        "title": "example",
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}
```

### Delete tag

Delete tag.

**Inputs**

- Tag (`tag_id`, text, required): The tag id.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "id": "example"
    }
  }
}
```

### Get account

Get account.

**Inputs**

- Account (`account_id`, text, required): Unique identifier.
- Properties (`properties`, list): Select the account properties that should be returned. One or more of: `name`, `website`, `ownerId`, `logo`, `salesforceAccountId`, `hubspotCompanyId`, `createdAt`, `updatedAt`, `customFields.name`, `customFields.type`, and 14 more.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "account": {
        "customFields": [
          {}
        ]
      }
    }
  }
}
```

### Get asset

Get asset.

**Inputs**

- Asset (`asset_id`, text, required): Unique identifier.
- Properties (`properties`, list): Select the asset properties that should be returned. One or more of: `name`, `description`, `updatedAt`, `createdAt`, `views`, `shares`, `assetType`, `assetUrl`, `isInternal`, `transcript`, and 10 more.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "asset": {
        "assetType": "example",
        "assetUrl": "example",
        "createdAt": "example",
        "description": "example",
        "id": "example",
        "isInternal": true,
        "name": "example",
        "object": "example",
        "shares": 1,
        "tags": [
          {}
        ],
        "thumbnailUrl": "example",
        "transcript": "example",
        "updatedAt": "example",
        "url": "example",
        "views": 1
      }
    }
  }
}
```

### Get deal

Get deal.

**Inputs**

- Deal (`deal_id`, text, required): Unique identifier.
- Properties (`properties`, list): Select the deal properties that should be returned. One or more of: `hubspotDealId`, `salesforceOpportunityId`, `name`, `amount`, `closeDate`, `createdDate`, `stage`, `type`, `customFields.name`, `customFields.type`, and 16 more.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "deal": {
        "customFields": [
          {}
        ]
      }
    }
  }
}
```

### Get form

Get form.

**Inputs**

- Form (`form_id`, text, required): Unique identifier.
- Properties (`properties`, list): Select the form properties that should be returned. One or more of: `title`, `description`, `creatorId`, `allowAnswerAgain`, `createdAt`, `updatedAt`, `id`, `object`, `url`.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "form": {
        "allowAnswerAgain": true,
        "createdAt": "example",
        "creatorId": "example",
        "description": "example",
        "id": "example",
        "object": "example",
        "title": "example",
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}
```

### Get tag

Get tag.

**Inputs**

- Tag (`tag_id`, text, required): The tag id.
- Properties (`properties`, list): Select the tag properties that should be returned. One or more of: `id`, `object`, `url`, `updatedAt`, `createdAt`, `title`.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "tag": {
        "createdAt": "example",
        "id": "example",
        "object": "example",
        "title": "example",
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}
```

### Get template

Get template.

**Inputs**

- Template (`template_id`, text, required): Unique identifier.
- Properties (`properties`, list): Select the template properties that should be returned. One or more of: `name`, `types`, `title`, `slackChannelEnabled`, `messagesEnabled`, `stagesEnabled`, `id`, `object`, `url`, `createdAt`, `updatedAt`.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "template": {
        "createdAt": "example",
        "id": "example",
        "messagesEnabled": true,
        "name": "example",
        "object": "example",
        "slackChannelEnabled": true,
        "stagesEnabled": true,
        "title": "example",
        "types": [
          "example"
        ],
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}
```

### Get user

Get user.

**Inputs**

- Dock user (`dock_user_id`, text, required): Unique identifier.
- Properties (`properties`, list): Select the user properties that should be returned. One or more of: `firstName`, `lastName`, `avatar`, `email`, `name`, `createdAt`, `updatedAt`, `id`, `object`, `url`.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "user": {
        "avatar": "example",
        "createdAt": "example",
        "email": "example",
        "firstName": "example",
        "id": "example",
        "lastName": "example",
        "name": "example",
        "object": "example",
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}
```

### Get workspace

Get workspace.

**Inputs**

- Workspace (`workspace_id`, text, required): The workspace id.
- Properties (`properties`, list): Select the workspace properties that should be returned. One or more of: `id`, `object`, `url`, `createdAt`, `updatedAt`, `name`, `workspaceUrl`, `templateId`, `startDate`, `targetEndDate`, and 94 more.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "workspace": {
        "account": {
          "createdAt": "example",
          "hubspotCompanyId": "example",
          "id": "example",
          "logo": "example",
          "name": "example",
          "object": "example",
          "ownerId": "example",
          "salesforceAccountId": "example",
          "updatedAt": "example",
          "url": "example",
          "website": "example"
        },
        "actualEndDate": "example",
        "contactsCount": 1,
        "createdAt": "example",
        "customFields": [
          {}
        ],
        "deal": "example",
        "id": "example",
        "lastContactView": "example",
        "name": "example",
        "object": "example",
        "projectAge": 1,
        "startDate": "example",
        "targetEndDate": "example",
        "taskProgress": "example",
        "templateId": "example",
        "totalActions": 1,
        "totalTimeSpent": 1,
        "totalViews": 1,
        "updatedAt": "example",
        "url": "example",
        "workspaceDomains": [
          {}
        ],
        "workspaceUrl": "example",
        "workspaceUsers": [
          {}
        ]
      }
    }
  }
}
```

### List accounts

List accounts.

**Inputs**

- Page (`page`, number): Page number.
- Limit (`limit`, number): Number of results to return.
- Properties (`properties`, list): Select the account properties that should be returned. One or more of: `name`, `website`, `ownerId`, `logo`, `salesforceAccountId`, `hubspotCompanyId`, `createdAt`, `updatedAt`, `customFields.name`, `customFields.type`, and 14 more.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "accounts": [
        {
          "customFields": [
            {}
          ],
          "id": "example",
          "name": "example"
        }
      ],
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      }
    }
  }
}
```

### List assets

List assets.

**Inputs**

- Page (`page`, number): Page number.
- Limit (`limit`, number): Number of results to return.
- Properties (`properties`, list): Select the asset properties that should be returned. One or more of: `name`, `description`, `updatedAt`, `createdAt`, `views`, `shares`, `assetType`, `assetUrl`, `isInternal`, `transcript`, and 10 more.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "assets": [
        {
          "assetType": "example",
          "assetUrl": "example",
          "createdAt": "example",
          "description": "example",
          "id": "example",
          "isInternal": true,
          "name": "example",
          "object": "example",
          "shares": 1,
          "tags": [
            {}
          ],
          "thumbnailUrl": "example",
          "transcript": "example",
          "updatedAt": "example",
          "url": "example",
          "views": 1
        }
      ],
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      }
    }
  }
}
```

### List deals

List deals.

**Inputs**

- Page (`page`, number): Page number.
- Limit (`limit`, number): Number of results to return.
- Properties (`properties`, list): Select the deal properties that should be returned. One or more of: `hubspotDealId`, `salesforceOpportunityId`, `name`, `amount`, `closeDate`, `createdDate`, `stage`, `type`, `customFields.name`, `customFields.type`, and 16 more.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "deals": [
        {
          "customFields": [
            {}
          ],
          "id": "example",
          "name": "example"
        }
      ],
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      }
    }
  }
}
```

### List form responses

List form responses.

**Inputs**

- Form (`form_id`, text, required): Unique identifier.
- Page (`page`, number): Page number.
- Limit (`limit`, number): Number of results to return.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "formResponses": [
        {
          "formQuestionResponses": [
            {}
          ],
          "formQuestions": [
            {}
          ],
          "id": "example",
          "object": "example",
          "respondent": {},
          "submittedAt": "example"
        }
      ],
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      }
    }
  }
}
```

### List published forms

List published forms.

**Inputs**

- Page (`page`, number): Page number.
- Limit (`limit`, number): Number of results to return.
- Properties (`properties`, list): Select the form properties that should be returned. One or more of: `title`, `description`, `creatorId`, `allowAnswerAgain`, `createdAt`, `updatedAt`, `id`, `object`, `url`.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "forms": [
        {
          "allowAnswerAgain": true,
          "createdAt": "example",
          "creatorId": "example",
          "description": "example",
          "id": "example",
          "object": "example",
          "title": "example",
          "updatedAt": "example",
          "url": "example"
        }
      ],
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      }
    }
  }
}
```

### List tags

List tags.

**Inputs**

- Limit (`limit`, number): Number of results to return. From 1 to 100.
- Page (`page`, number): Page number. From 1 to 90071992547409.
- Properties (`properties`, list): Select the tag properties that should be returned. One or more of: `id`, `object`, `url`, `updatedAt`, `createdAt`, `title`.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      },
      "tags": [
        {
          "createdAt": "example",
          "id": "example",
          "object": "example",
          "title": "example",
          "updatedAt": "example",
          "url": "example"
        }
      ]
    }
  }
}
```

### List templates

List templates.

**Inputs**

- Properties (`properties`, list): Select the template properties that should be returned. One or more of: `name`, `types`, `title`, `slackChannelEnabled`, `messagesEnabled`, `stagesEnabled`, `id`, `object`, `url`, `createdAt`, `updatedAt`.
- Page (`page`, number): Page number.
- Limit (`limit`, number): Number of results to return.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      },
      "templates": [
        {
          "createdAt": "example",
          "id": "example",
          "messagesEnabled": true,
          "name": "example",
          "object": "example",
          "slackChannelEnabled": true,
          "stagesEnabled": true,
          "title": "example",
          "types": [
            "example"
          ],
          "updatedAt": "example",
          "url": "example"
        }
      ]
    }
  }
}
```

### List users

List users.

**Inputs**

- Page (`page`, number): Page number.
- Limit (`limit`, number): Number of results to return.
- Properties (`properties`, list): Select the user properties that should be returned. One or more of: `firstName`, `lastName`, `avatar`, `email`, `name`, `createdAt`, `updatedAt`, `id`, `object`, `url`.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      },
      "users": [
        {
          "avatar": "example",
          "createdAt": "example",
          "email": "example",
          "firstName": "example",
          "id": "example",
          "lastName": "example",
          "name": "example",
          "object": "example",
          "updatedAt": "example",
          "url": "example"
        }
      ]
    }
  }
}
```

### List workspaces

List workspaces.

**Inputs**

- Limit (`limit`, number): Number of results to return. From 1 to 100.
- Page (`page`, number): Page number. From 1 to 90071992547409.
- Properties (`properties`, list): Select the workspace properties that should be returned. One or more of: `id`, `object`, `url`, `createdAt`, `updatedAt`, `name`, `workspaceUrl`, `templateId`, `startDate`, `targetEndDate`, and 94 more.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "pageInfo": {
        "hasNextPage": true,
        "hasPrevPage": true,
        "page": 1,
        "pageTotal": 1,
        "pages": 1,
        "total": 1
      },
      "workspaces": [
        {
          "account": {},
          "actualEndDate": "example",
          "contactsCount": 1,
          "createdAt": "example",
          "customFields": [
            {}
          ],
          "deal": "example",
          "id": "example",
          "lastContactView": "example",
          "name": "example",
          "object": "example",
          "projectAge": 1,
          "startDate": "example",
          "targetEndDate": "example",
          "taskProgress": "example",
          "templateId": "example",
          "totalActions": 1,
          "totalTimeSpent": 1,
          "totalViews": 1,
          "updatedAt": "example",
          "url": "example",
          "workspaceDomains": [
            {}
          ],
          "workspaceUrl": "example",
          "workspaceUsers": [
            {}
          ]
        }
      ]
    }
  }
}
```

### Rename tag

Rename tag.

**Inputs**

- Tag (`tag_id`, text, required): The tag id.
- Properties (`properties`, list): Select the tag properties that should be returned. One or more of: `id`, `object`, `url`, `updatedAt`, `createdAt`, `title`.
- Title (`title`, text): Title of the tag.

**Outputs**

- `data` (object): The response from Dock.

**Example output**

```json
{
  "data": {
    "data": {
      "tag": {
        "createdAt": "example",
        "id": "example",
        "object": "example",
        "title": "example",
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}
```
