Dock

App · 20 actions

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

Actions

ActionWhat it does
Create tagCreate tag.
Delete tagDelete tag.
Get accountGet account.
Get assetGet asset.
Get dealGet deal.
Get formGet form.
Get tagGet tag.
Get templateGet template.
Get userGet user.
Get workspaceGet workspace.
List accountsList accounts.
List assetsList assets.
List dealsList deals.
List form responsesList form responses.
List published formsList published forms.
List tagsList tags.
List templatesList templates.
List usersList users.
List workspacesList workspaces.
Rename tagRename tag.

Create tag

Create tag.

Inputs

Propertiespropertieslist
Select the tag properties that should be returned.One or more of: id, object, url, updatedAt, createdAt, title.
TitletitletextRequired
Title of the tag.
Creator IDcreator_idtext
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 emailcreator_emailtext
Email of the company member shown as having done this, instead of creatorId (creatorId wins when both are sent).

Outputs

dataobject
The response from Dock.
Example output
{
  "data": {
    "data": {
      "tag": {
        "createdAt": "example",
        "id": "example",
        "object": "example",
        "title": "example",
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}

Delete tag

Delete tag.

Inputs

Tagtag_idtextRequired
The tag id.

Outputs

dataobject
The response from Dock.
Example output
{
  "data": {
    "data": {
      "id": "example"
    }
  }
}

Get account

Get account.

Inputs

Accountaccount_idtextRequired
Unique identifier.
Propertiespropertieslist
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

dataobject
The response from Dock.
Example output
{
  "data": {
    "data": {
      "account": {
        "customFields": [
          {}
        ]
      }
    }
  }
}

Get asset

Get asset.

Inputs

Assetasset_idtextRequired
Unique identifier.
Propertiespropertieslist
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

dataobject
The response from Dock.
Example output
{
  "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

Dealdeal_idtextRequired
Unique identifier.
Propertiespropertieslist
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

dataobject
The response from Dock.
Example output
{
  "data": {
    "data": {
      "deal": {
        "customFields": [
          {}
        ]
      }
    }
  }
}

Get form

Get form.

Inputs

Formform_idtextRequired
Unique identifier.
Propertiespropertieslist
Select the form properties that should be returned.One or more of: title, description, creatorId, allowAnswerAgain, createdAt, updatedAt, id, object, url.

Outputs

dataobject
The response from Dock.
Example output
{
  "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

Tagtag_idtextRequired
The tag id.
Propertiespropertieslist
Select the tag properties that should be returned.One or more of: id, object, url, updatedAt, createdAt, title.

Outputs

dataobject
The response from Dock.
Example output
{
  "data": {
    "data": {
      "tag": {
        "createdAt": "example",
        "id": "example",
        "object": "example",
        "title": "example",
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}

Get template

Get template.

Inputs

Templatetemplate_idtextRequired
Unique identifier.
Propertiespropertieslist
Select the template properties that should be returned.One or more of: name, types, title, slackChannelEnabled, messagesEnabled, stagesEnabled, id, object, url, createdAt, updatedAt.

Outputs

dataobject
The response from Dock.
Example output
{
  "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 userdock_user_idtextRequired
Unique identifier.
Propertiespropertieslist
Select the user properties that should be returned.One or more of: firstName, lastName, avatar, email, name, createdAt, updatedAt, id, object, url.

Outputs

dataobject
The response from Dock.
Example output
{
  "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

Workspaceworkspace_idtextRequired
The workspace id.
Propertiespropertieslist
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

dataobject
The response from Dock.
Example output
{
  "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

Pagepagenumber
Page number.
Limitlimitnumber
Number of results to return.
Propertiespropertieslist
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

dataobject
The response from Dock.
Example output
{
  "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

Pagepagenumber
Page number.
Limitlimitnumber
Number of results to return.
Propertiespropertieslist
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

dataobject
The response from Dock.
Example output
{
  "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

Pagepagenumber
Page number.
Limitlimitnumber
Number of results to return.
Propertiespropertieslist
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

dataobject
The response from Dock.
Example output
{
  "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

Formform_idtextRequired
Unique identifier.
Pagepagenumber
Page number.
Limitlimitnumber
Number of results to return.

Outputs

dataobject
The response from Dock.
Example output
{
  "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

Pagepagenumber
Page number.
Limitlimitnumber
Number of results to return.
Propertiespropertieslist
Select the form properties that should be returned.One or more of: title, description, creatorId, allowAnswerAgain, createdAt, updatedAt, id, object, url.

Outputs

dataobject
The response from Dock.
Example output
{
  "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

Limitlimitnumber
Number of results to return.From 1 to 100.
Pagepagenumber
Page number.From 1 to 90071992547409.
Propertiespropertieslist
Select the tag properties that should be returned.One or more of: id, object, url, updatedAt, createdAt, title.

Outputs

dataobject
The response from Dock.
Example output
{
  "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

Propertiespropertieslist
Select the template properties that should be returned.One or more of: name, types, title, slackChannelEnabled, messagesEnabled, stagesEnabled, id, object, url, createdAt, updatedAt.
Pagepagenumber
Page number.
Limitlimitnumber
Number of results to return.

Outputs

dataobject
The response from Dock.
Example output
{
  "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

Pagepagenumber
Page number.
Limitlimitnumber
Number of results to return.
Propertiespropertieslist
Select the user properties that should be returned.One or more of: firstName, lastName, avatar, email, name, createdAt, updatedAt, id, object, url.

Outputs

dataobject
The response from Dock.
Example output
{
  "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

Limitlimitnumber
Number of results to return.From 1 to 100.
Pagepagenumber
Page number.From 1 to 90071992547409.
Propertiespropertieslist
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

dataobject
The response from Dock.
Example output
{
  "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

Tagtag_idtextRequired
The tag id.
Propertiespropertieslist
Select the tag properties that should be returned.One or more of: id, object, url, updatedAt, createdAt, title.
Titletitletext
Title of the tag.

Outputs

dataobject
The response from Dock.
Example output
{
  "data": {
    "data": {
      "tag": {
        "createdAt": "example",
        "id": "example",
        "object": "example",
        "title": "example",
        "updatedAt": "example",
        "url": "example"
      }
    }
  }
}

On this page