Dock
App · 20 actions
Work with Dock accounts, workspaces, forms, templates, tags and assets.
Actions
| Action | What it does |
|---|---|
| Create tag | Create tag. |
| Delete tag | Delete tag. |
| Get account | Get account. |
| Get asset | Get asset. |
| Get deal | Get deal. |
| Get form | Get form. |
| Get tag | Get tag. |
| Get template | Get template. |
| Get user | Get user. |
| Get workspace | Get workspace. |
| List accounts | List accounts. |
| List assets | List assets. |
| List deals | List deals. |
| List form responses | List form responses. |
| List published forms | List published forms. |
| List tags | List tags. |
| List templates | List templates. |
| List users | List users. |
| List workspaces | List workspaces. |
| Rename tag | Rename tag. |
Create tag
Create tag.
Inputs
- Properties
propertieslist - Select the tag properties that should be returned.One or more of:
id,object,url,updatedAt,createdAt,title. - Title
titletextRequired - Title of the tag.
- Creator ID
creator_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 email
creator_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
- Tag
tag_idtextRequired - The tag id.
Outputs
dataobject- The response from Dock.
Example output
{
"data": {
"data": {
"id": "example"
}
}
}Get account
Get account.
Inputs
- Account
account_idtextRequired - Unique identifier.
- Properties
propertieslist - 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
- Asset
asset_idtextRequired - Unique identifier.
- Properties
propertieslist - 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
- Deal
deal_idtextRequired - Unique identifier.
- Properties
propertieslist - 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
- Form
form_idtextRequired - Unique identifier.
- Properties
propertieslist - 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
- Tag
tag_idtextRequired - The tag id.
- Properties
propertieslist - 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
- Template
template_idtextRequired - Unique identifier.
- Properties
propertieslist - 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 user
dock_user_idtextRequired - Unique identifier.
- Properties
propertieslist - 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
- Workspace
workspace_idtextRequired - The workspace id.
- Properties
propertieslist - 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
- Page
pagenumber - Page number.
- Limit
limitnumber - Number of results to return.
- Properties
propertieslist - 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
- Page
pagenumber - Page number.
- Limit
limitnumber - Number of results to return.
- Properties
propertieslist - 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
- Page
pagenumber - Page number.
- Limit
limitnumber - Number of results to return.
- Properties
propertieslist - 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
- Form
form_idtextRequired - Unique identifier.
- Page
pagenumber - Page number.
- Limit
limitnumber - 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
- Page
pagenumber - Page number.
- Limit
limitnumber - Number of results to return.
- Properties
propertieslist - 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
- Limit
limitnumber - Number of results to return.From 1 to 100.
- Page
pagenumber - Page number.From 1 to 90071992547409.
- Properties
propertieslist - 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
- Properties
propertieslist - Select the template properties that should be returned.One or more of:
name,types,title,slackChannelEnabled,messagesEnabled,stagesEnabled,id,object,url,createdAt,updatedAt. - Page
pagenumber - Page number.
- Limit
limitnumber - 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
- Page
pagenumber - Page number.
- Limit
limitnumber - Number of results to return.
- Properties
propertieslist - 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
- Limit
limitnumber - Number of results to return.From 1 to 100.
- Page
pagenumber - Page number.From 1 to 90071992547409.
- Properties
propertieslist - 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
- Tag
tag_idtextRequired - The tag id.
- Properties
propertieslist - Select the tag properties that should be returned.One or more of:
id,object,url,updatedAt,createdAt,title. - Title
titletext - 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"
}
}
}
}