Download OpenAPI specification:Download
Teamdeck API is a RESTful interface, which allows you to access and update much of your data in the app.
Responses (including errors) are returned in JSON format. We use built-in HTTP features, like HTTP verbs, to receive commands and return responses. The API is designed to have predictable, resource-oriented URLs.
In order to authorize your account, you need to generate a token.
Log in to your Teamdeck account and go to Settings > Integrations > API keys.
Note: You have to be an owner of your Teamdeck organization to access this tab.
Type in the name of your token, select the permission you want to receive and click the plus icon.
There are two permission types in Teamdeck:
Teamdeck uses standard HTTP response codes to indicate API errors or successful requests:
Important changes happening in your Teamdeck account are recorded as events. For example, each time a new project is added, an event is created.
You can listen to these events and be notified about changes in your organization by configuring Webhook URL.
Log in to your Teamdeck account and go to Settings > Integrations > Webhooks.
Note: You have to be an owner of your Teamdeck organization to access this tab.
Here you can paste a payload URL and name it. You can create multiple webhooks, but all of the events (listed below) will be sent to any webhook you set up.
Note: You have to use HTTPS in your webhook URL.
Retry policy: In an event your request fails (the response status > 300), we will try sending a request after 30 seconds, and then the last one 60 seconds later.
The events are returned in JSON format, following this basic structure:
{
"id": 1,
"type": "booking_created",
"date": "2018-01-01 15:00:00",
"creator_resource_id": 1,
"data": {
"id": 1,
...
}
}
For update events the structure will be:
{
"id": 1,
"type": "booking_created",
"date": "2018-01-01 15:00:00",
"creator_resource_id": 1,
"data": {
"id": 1,
...
},
"data_before": {
"id": 1,
...
}
}
The following events are available:
Event type | Description |
---|---|
booking_created | New booking created |
booking_updated | Booking updated |
booking_deleted | Booking deleted |
time_entry_created | New time entry created |
time_entry_updated | Time entry updated |
time_entry_deleted | Time entry deleted |
vacation_created | New vacation created |
vacation_updated | Vacation updated |
vacation_deleted | Vacation deleted |
project_created | New project created |
project_updated | Project updated |
When you plan your team’s work in Teamdeck, every assignment is called a booking. Bookings are always assigned to resources and projects, have a start and end data, as well as a specified daily duration.
Returns a list of bookings in your organization.
sort | any Pick the order in which the bookings will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
expand | any Select the extended fields you want to be returned. Available fields: [ |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
resource_id | integer Filter the resource_id values of the bookings you want to be returned. Multiple IDs can be passed as comma-separated values. By default, all of the bookings are returned. |
project_id | integer Filter the project_id values of the bookings you want to be returned. Multiple IDs can be passed as comma-separated values. By default, all of the bookings are returned. |
external_id | string Filter the external_id values of the entries you want to be returned. Multiple IDs can be passed as comma-separated values. By default, all of the entries are returned. |
start_date_from | date Filter bookings by their start_date field. Use the YYYY-MM-DD format. |
start_date_to | date Filter bookings by their start_date field. Use the YYYY-MM-DD format. |
end_date_from | date Filter bookings by their end_date field. Use the YYYY-MM-DD format. |
end_date_to | date Filter bookings by their end_date field. Use the YYYY-MM-DD format. |
date | date Filter bookings by single date. Use the YYYY-MM-DD format. You can`t use this filter with date range filters. |
Successful operation
Invalid authorization response
Invalid input
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "resource_id": 1,
- "project_id": 1,
- "hours": 8,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "rrule": "FREQ=DAILY;COUNT=2",
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 1,
- "editor_resource_id": 1
}
]
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Booking object that needs to be added
resource_id required | integer (Resource identifier) ID of the resource assigned to this entry. |
project_id required | integer (Project identifier) ID of the project assigned to this entry. |
hours | int64 Deprecated The length of a booking in hours. |
minutes required | int64 The length of a booking in minutes. |
weekend_booking | boolean Default: false This is set to |
holidays_booking | boolean Default: false This is set to |
vacations_booking | boolean Default: false This is set to |
rrule | string The RRULE if you want to repeat the booking. We allow for FREQ=DAILY|WEEKLY|MONTHLY|YEARLY, BYDAY|BYMONTHDAY. We require to set UNTIL or COUNT, and max duration is 3 years. |
description | string Description of a booking. |
external_id | string External id of a booking for internal use. |
start_date required | string <YYYY-MM-DD> Starting date of a booking. |
end_date required | string <YYYY-MM-DD> End date of a booking. |
creator_resource_id | integer (Resource identifier) ID of the resource who has created this booking. |
editor_resource_id | integer (Resource identifier) ID of the resource who has updated this booking. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "resource_id": 1,
- "project_id": 1,
- "hours": 8,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "rrule": "FREQ=DAILY;COUNT=2",
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 1,
- "editor_resource_id": 1
}
{- "id": 0,
- "resource_id": 1,
- "project_id": 1,
- "hours": 8,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "rrule": "FREQ=DAILY;COUNT=2",
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 1,
- "editor_resource_id": 1
}
Return a single booking from your organization based on its ID.
id required | integer (Booking identifier) Example: 1 ID of a booking you want to get. |
expand | any Select the extended fields you want to be returned. Available fields: [ |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "resource_id": 1,
- "project_id": 1,
- "hours": 8,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "rrule": "FREQ=DAILY;COUNT=2",
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 1,
- "editor_resource_id": 1
}
Update information about any booking within your organization.
id required | integer (Booking identifier) Example: 1 ID of a booking you want to update. |
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Booking object that needs to be added
resource_id required | integer (Resource identifier) ID of the resource assigned to this entry. |
project_id required | integer (Project identifier) ID of the project assigned to this entry. |
hours | int64 Deprecated The length of a booking in hours. |
minutes required | int64 The length of a booking in minutes. |
weekend_booking | boolean Default: false This is set to |
holidays_booking | boolean Default: false This is set to |
vacations_booking | boolean Default: false This is set to |
rrule | string The RRULE if you want to repeat the booking. We allow for FREQ=DAILY|WEEKLY|MONTHLY|YEARLY, BYDAY|BYMONTHDAY. We require to set UNTIL or COUNT, and max duration is 3 years. |
description | string Description of a booking. |
external_id | string External id of a booking for internal use. |
start_date required | string <YYYY-MM-DD> Starting date of a booking. |
end_date required | string <YYYY-MM-DD> End date of a booking. |
creator_resource_id | integer (Resource identifier) ID of the resource who has created this booking. |
editor_resource_id | integer (Resource identifier) ID of the resource who has updated this booking. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "resource_id": 1,
- "project_id": 1,
- "hours": 8,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "rrule": "FREQ=DAILY;COUNT=2",
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 1,
- "editor_resource_id": 1
}
{- "id": 0,
- "resource_id": 1,
- "project_id": 1,
- "hours": 8,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "rrule": "FREQ=DAILY;COUNT=2",
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 1,
- "editor_resource_id": 1
}
Delete a booking using its ID.
id required | integer (Booking identifier) Example: 1 ID of a booking you want to delete. |
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Update information about tags connected to a booking.
id required | integer (Booking identifier) Example: 1 ID of a booking you want to update. |
List of tags ids
Booking Tag identifier
Success
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
[- 1,
- 2,
- 3
]
[ ]
Returns a list of booking tags from your organization. You can sort this list by any field, or return only selected booking tags.
sort | any Pick the order in which the booking tags will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
archived | boolean Default: 0 Filter by archived flag. By default, this is set to |
name | string Filter the names of the booking tags you want to be returned. By default, all of the booking tags are returned. |
Successful operation
Invalid request response
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
]
Booking Tag object that needs to be added
id | integer ID of a tag. |
name required | string Name of a tag. |
icon required | string (tag_icon) Enum: "alarm" "alarm_on" "alarm_off" "announcement" "bookmark" "assignment_turned_in" "build" "change_history" "check_circle" "description" "favorite" "favorite_border" "feedback" "grade" "label" "lightbulb_outline" "lock_open" "lock_outline" "schedule" "question_answer" "report_problem" "settings_applications" "settings_phone" "shopping_cart" "stars" "supervisor_account" "timeline" "work" "error" "warning" "fiber_manual_record" "new_releases" "mic" "videocam" "chat_bubble" "import_contacts" "mail_outline" "phonelink_setup" "content_paste" "drafts" "reply" "weekend" "brightness_high" "gps_fixed" "developer_mode" "devices" "attach_money" "money_off" "attach_file" "insert_photo" "pie_chart" "cloud" "folder" "desktop_mac" "computer" "keyboard_backspace" "phone_android" "phone_iphone" "tablet_mac" "tablet_android" "watch" "memory" "brightness_1" "assistant_photo" "details" "flash_on" "flash_off" "lens" "palette" "remove_red_eye" "timelapse" "tag_faces" "beenhere" "directions_run" "layers" "local_cafe" "local_offer" "local_movies" "my_location" "arrow_downward" "arrow_upward" "arrow_forward" "arrow_back" "more_horiz" "do_not_disturb" "event_available" "event_busy" "sync_problem" "notifications" "mood" "pool" "check_box" "check_box_outline_blank" "indeterminate_check_box" "radio_button_checked" "radio_button_unchecked" "star" "star_border" "star_half" "code" "looks_one" "looks_two" "looks_3" "looks_4" "looks_5" "looks_6" "done" "hourglass_empty" "home" "av_timer" "check" "clear" "card_giftcard" Available icons for a tag: e.g |
color required | string Color as hex code e.g. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Return a single booking tag of your choosing.
id required | integer (Booking Tag identifier) Example: 1 ID of a booking tag you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Update information about any booking tag within your organization.
id required | integer (Booking Tag identifier) Example: 1 ID of a booking tag you want to update. |
Booking Tag object that needs to be added
id | integer ID of a tag. |
name required | string Name of a tag. |
icon required | string (tag_icon) Enum: "alarm" "alarm_on" "alarm_off" "announcement" "bookmark" "assignment_turned_in" "build" "change_history" "check_circle" "description" "favorite" "favorite_border" "feedback" "grade" "label" "lightbulb_outline" "lock_open" "lock_outline" "schedule" "question_answer" "report_problem" "settings_applications" "settings_phone" "shopping_cart" "stars" "supervisor_account" "timeline" "work" "error" "warning" "fiber_manual_record" "new_releases" "mic" "videocam" "chat_bubble" "import_contacts" "mail_outline" "phonelink_setup" "content_paste" "drafts" "reply" "weekend" "brightness_high" "gps_fixed" "developer_mode" "devices" "attach_money" "money_off" "attach_file" "insert_photo" "pie_chart" "cloud" "folder" "desktop_mac" "computer" "keyboard_backspace" "phone_android" "phone_iphone" "tablet_mac" "tablet_android" "watch" "memory" "brightness_1" "assistant_photo" "details" "flash_on" "flash_off" "lens" "palette" "remove_red_eye" "timelapse" "tag_faces" "beenhere" "directions_run" "layers" "local_cafe" "local_offer" "local_movies" "my_location" "arrow_downward" "arrow_upward" "arrow_forward" "arrow_back" "more_horiz" "do_not_disturb" "event_available" "event_busy" "sync_problem" "notifications" "mood" "pool" "check_box" "check_box_outline_blank" "indeterminate_check_box" "radio_button_checked" "radio_button_unchecked" "star" "star_border" "star_half" "code" "looks_one" "looks_two" "looks_3" "looks_4" "looks_5" "looks_6" "done" "hourglass_empty" "home" "av_timer" "check" "clear" "card_giftcard" Available icons for a tag: e.g |
color required | string Color as hex code e.g. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Delete a booking tag using its ID. If tag has connection with bookings, the tag will be archived, but not deleted.
id required | integer (Booking Tag identifier) Example: 1 ID of a booking tag you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Teamdeck’s API allows you to access custom fields defined in your organization. In order to access their values check Custom field values section. Example flow:
custom-field-values/custom-field/{ID of found custom field}/resource/{ID of resource whose job title you want to check}
Returns a list of custom fields from your organization. You can sort this list by any field, or return only selected custom fields.
sort | any Pick the order in which the custom fields will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
name | string Filter the names of the custom fields you want to be returned. By default, all of the custom fields are returned. |
related_table | string Filter custom fields by the table they’re related to (either projects or resources). By default, all of the custom fields are returned. |
Successful operation
Invalid request response
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "type": 0,
- "name": "string",
- "required": true,
- "default_string_value": "string",
- "default_string_value_exists": true,
- "related_table": "string",
- "multiple": true
}
]
Custom field object that needs to be added
id | integer ID of a custom field. This is the model class for table |
type required | integer Type of a given custom field (list or string). |
name required | string Name of a custom field. |
required required | boolean True when a given custom field is required. |
default_string_value | string Default value for the custom field (only for string type). |
default_string_value_exists | boolean True when a given custom field has a default string value. |
related_table required | string The table a given custom field is related to. |
multiple | boolean True when connected object (resource/project) can have multiple values of this custom field. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "type": 0,
- "name": "string",
- "required": true,
- "default_string_value": "string",
- "default_string_value_exists": true,
- "related_table": "string",
- "multiple": true
}
{- "id": 0,
- "type": 0,
- "name": "string",
- "required": true,
- "default_string_value": "string",
- "default_string_value_exists": true,
- "related_table": "string",
- "multiple": true
}
Return a single custom field of your choosing.
id required | integer (Custom field identifier) Example: 1 ID of a custom field you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "type": 0,
- "name": "string",
- "required": true,
- "default_string_value": "string",
- "default_string_value_exists": true,
- "related_table": "string",
- "multiple": true
}
Update information about any custom field within your organization.
id required | integer (Custom field identifier) Example: 1 ID of a custom field you want to update. |
Custom field object that needs to be added
id | integer ID of a custom field. This is the model class for table |
type required | integer Type of a given custom field (list or string). |
name required | string Name of a custom field. |
required required | boolean True when a given custom field is required. |
default_string_value | string Default value for the custom field (only for string type). |
default_string_value_exists | boolean True when a given custom field has a default string value. |
related_table required | string The table a given custom field is related to. |
multiple | boolean True when connected object (resource/project) can have multiple values of this custom field. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "type": 0,
- "name": "string",
- "required": true,
- "default_string_value": "string",
- "default_string_value_exists": true,
- "related_table": "string",
- "multiple": true
}
{- "id": 0,
- "type": 0,
- "name": "string",
- "required": true,
- "default_string_value": "string",
- "default_string_value_exists": true,
- "related_table": "string",
- "multiple": true
}
Delete a custom field using its ID.
id required | integer (Custom field identifier) Example: 1 ID of a custom field you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Teamdeck’s API allows you to access the values of custom fields defined in your organization. The custom fields themselves can also be returned - check Custom fields to learn more.
Example flow:
Imagine you have a custom field called Job Title and you want to retrieve the job title of one of your resources. First, you should get the list of your custom fields, find the “job title” custom field and after that send request to:
custom-field-values/custom-field/{ID of found custom field}/resource/{ID of resource whose job title you want to check}
Returns a list of custom field values from your organization. You can sort them by any fields, or return only selected custom field values.
sort | any Pick the order in which the custom field values will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
custom_field_id | string Filter the list by the custom field these custom field values belong to. By default, all of the custom field values are returned. |
Successful operation
Invalid request response
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "value": "string",
- "custom_field_id": 1,
- "default": true
}
]
Custom field value object that needs to be added
id | integer ID of a custom field value. This is the model class for table |
value required | string Custom field value. |
custom_field_id required | integer (Custom field identifier) Custom field identifier |
default | boolean True when the value is default (only for list type). |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "value": "string",
- "custom_field_id": 1,
- "default": true
}
{- "id": 0,
- "value": "string",
- "custom_field_id": 1,
- "default": true
}
Return a single custom field value of your choosing, based on its ID.
id required | integer (Custom field value identifier) Example: 1 ID of a custom field value you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "value": "string",
- "custom_field_id": 1,
- "default": true
}
Update information about any custom field within your organization.
id required | integer (Custom field value identifier) Example: 1 ID of a custom field value you want to update. |
Custom field value object that needs to be added
id | integer ID of a custom field value. This is the model class for table |
value required | string Custom field value. |
custom_field_id required | integer (Custom field identifier) Custom field identifier |
default | boolean True when the value is default (only for list type). |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "value": "string",
- "custom_field_id": 1,
- "default": true
}
{- "id": 0,
- "value": "string",
- "custom_field_id": 1,
- "default": true
}
Delete a custom field value using its ID.
id required | integer (Custom field value identifier) Example: 1 ID of a custom field value you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Returns custom field values from a chosen custom field assigned to a chosen resource. You can sort them by any fields, or return only selected custom field values.
sort | any Pick the order in which the custom field values will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
custom_field_id required | string Select the custom field of the values you want to return. |
resource_id required | string Select the resource whose custom field values you want to return. |
Successful operation
Invalid request response
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "value": "string",
- "custom_field_id": 1,
- "default": true
}
]
Returns custom field values from a chosen custom field assigned to a chosen project. You can sort them by any fields, or return only selected custom field values.
sort | any Pick the order in which the custom field values will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
custom_field_id required | string Select the custom field of the values you want to return. |
project_id required | string Select the project which custom field values you want to return. |
Successful operation
Invalid request response
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "value": "string",
- "custom_field_id": 1,
- "default": true
}
]
Returns the name of your organization as a string.
Successful operation
Invalid authorization response
This is Teamdecks Public API documentation
{- "name": "Example organization",
- "work_week": [
- {
- "day": "1",
- "hours": "8",
- "from": "09:00:00",
- "to": "17:00:00"
}
], - "disable_vacation_approval": "1"
}
Access and update holidays in your organization. Holidays in Teamdeck are understood as bank holidays, days during which nobody is working.
sort | any Pick the order in which the holidays will be returned. You can sort by any field: |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
name | string Filter the names of the holidays you want to be returned. By default, all of the holidays are returned. |
from | string Return holidays from a chosen date. By default, all of the holidays are returned. |
to | string Return holidays to a chosen date. By default, all of the holidays are returned. |
Successful operation
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "name": "Example holiday",
- "date": "2019-01-01",
- "organization_unit_id": 1
}
]
Holiday object that needs to be added
name required | string (Holiday name) <= 255 characters Holiday name. |
date required | string <YYYY-MM-DD> Date of a holiday. |
organization_unit_id | integer (Organization Unit identifier, in not provided the default will be used.) ID of the unit assigned to this entry. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example holiday",
- "date": "2019-01-01",
- "organization_unit_id": 1
}
{- "id": 0,
- "name": "Example holiday",
- "date": "2019-01-01",
- "organization_unit_id": 1
}
Return any single holiday from your organization using its ID.
id required | integer (Holiday identifier) Example: 1 ID of a holiday you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "Example holiday",
- "date": "2019-01-01",
- "organization_unit_id": 1
}
Change information about any of the holidays in your organization.
id required | integer (Holiday identifier) Example: 1 ID of a holiday you want to update. |
Holiday object that needs to be added
name required | string (Holiday name) <= 255 characters Holiday name. |
date required | string <YYYY-MM-DD> Date of a holiday. |
organization_unit_id | integer (Organization Unit identifier, in not provided the default will be used.) ID of the unit assigned to this entry. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example holiday",
- "date": "2019-01-01",
- "organization_unit_id": 1
}
{- "id": 0,
- "name": "Example holiday",
- "date": "2019-01-01",
- "organization_unit_id": 1
}
Delete a holiday using its ID.
id required | integer (Holiday identifier) Example: 1 ID of the holiday you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Returns a list of projects in your organization. You can sort them by any fields, or return only selected projects.
sort | any Pick the order in which the projects will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
expand | any Select the extended fields you want to be returned. Available fields: [ |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
name | string Filter the names of the projects you want to be returned. By default, all of the projects are returned. |
archived | integer Filter the archived projects. By default, all of the projects are returned. |
Successful operation
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "name": "Example project",
- "color": "string",
- "archived": false,
- "enable_time_entry_approval": false,
- "default_approver_id": 1,
- "organization_unit_id": 1
}
]
Project object that needs to be added
name required | string (Project name) <= 100 characters Project name. |
color | string Color in hex format. |
archived | any <boolean> Project archived flag. |
enable_time_entry_approval | any <boolean> If you set this to true, the status will be required in timesheets. |
default_approver_id | any <int> This is required when you set enable_time_entry_approval to true. |
organization_unit_id | integer (Organization Unit identifier, in not provided the default will be used.) ID of the unit assigned to this entry. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example project",
- "color": "string",
- "archived": false,
- "enable_time_entry_approval": false,
- "default_approver_id": 1,
- "organization_unit_id": 1
}
{- "id": 0,
- "name": "Example project",
- "color": "string",
- "archived": false,
- "enable_time_entry_approval": false,
- "default_approver_id": 1,
- "organization_unit_id": 1
}
Return any single project from your organization using its ID.
id required | integer (Project identifier) Example: 1 ID of a project you want to get. |
expand | any Select the extended fields you want to be returned. Available fields: [ |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "Example project",
- "color": "string",
- "archived": false,
- "enable_time_entry_approval": false,
- "default_approver_id": 1,
- "organization_unit_id": 1
}
Change information about any of the projects in your organization.
id required | integer (Project identifier) Example: 1 ID of a project you want to update. |
Project object that needs to be added
name required | string (Project name) <= 100 characters Project name. |
color | string Color in hex format. |
archived | any <boolean> Project archived flag. |
enable_time_entry_approval | any <boolean> If you set this to true, the status will be required in timesheets. |
default_approver_id | any <int> This is required when you set enable_time_entry_approval to true. |
organization_unit_id | integer (Organization Unit identifier, in not provided the default will be used.) ID of the unit assigned to this entry. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example project",
- "color": "string",
- "archived": false,
- "enable_time_entry_approval": false,
- "default_approver_id": 1,
- "organization_unit_id": 1
}
{- "id": 0,
- "name": "Example project",
- "color": "string",
- "archived": false,
- "enable_time_entry_approval": false,
- "default_approver_id": 1,
- "organization_unit_id": 1
}
project_id required | integer (Project identifier) Example: 1 ID of a project you want to set custom field value. |
Custom field connection
custom_field_value_id required | integer (Custom field value identifier) Custom field value identifier |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "custom_field_value_id": 1
}
{- "custom_field_value_id": 1,
- "project_id": 0
}
Delete project and custom field value connection
project_id required | integer (Project identifier) Example: 1 ID of the project for which you want to delete custom field value connection. |
custom_field_id required | integer (Project identifier) Example: 1 ID of the custom field value you want to delete for project. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Update information about tags connected to a projects.
id required | integer (Project identifier) Example: 1 ID of a projects you want to update. |
List of tags ids
Project Tag identifier
Success
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
[- 1,
- 2,
- 3
]
[ ]
Access and update data concerning resources: team members and basic resources added to your organization.
Returns a list of team members and basic resources from your organization. You can sort them by any fields, or return only selected resources.
sort | any Pick the order in which the resources will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
name | string Filter the names of the resources you want to be returned. By default, all of the resources returned. |
active | integer Default: 1 Filter the active resources. By default is |
string Filter the emails of the resources you want to be returned. | |
role | string Filter the roles of the resources you want to be returned e.g. 'user, admin' |
expand | any Return expanded values. E.g. |
Successful operation
Invalid request response
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "name": "Example resource",
- "active": false,
- "avatar": "string",
- "is_part_time": true,
- "is_visible": true,
- "email": null,
- "user_id": "string",
- "role": "string",
- "can_see_calendar": true,
- "contract_start_date": "2077-04-07",
- "contract_end_date": "2077-04-07",
- "organization_unit_id": 1
}
]
Add a new basic resource, a resource with no email access to the app but listed in the Calendar.
Resource object that needs to be added
name | string (Resource name) <= 255 characters Resource name |
active | any <boolean> Resource active flag |
is_part_time | boolean Flag set to true if it is a part-time resource. |
contract_start_date | string <YYYY-MM-DD> Starting date of acontract. |
contract_end_date | string <YYYY-MM-DD> Starting date of a contract. |
organization_unit_id | integer (Organization Unit identifier, in not provided the default will be used.) ID of the unit assigned to this entry. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example resource",
- "active": false,
- "is_part_time": true,
- "contract_start_date": "2077-04-07",
- "contract_end_date": "2077-04-07",
- "organization_unit_id": 1
}
{- "id": 0,
- "name": "Example resource",
- "active": false,
- "avatar": "string",
- "is_part_time": true,
- "is_visible": true,
- "email": null,
- "user_id": "string",
- "role": "string",
- "can_see_calendar": true,
- "contract_start_date": "2077-04-07",
- "contract_end_date": "2077-04-07",
- "organization_unit_id": 1
}
Return data of a single resource of your choosing.
id required | integer (Resource identifier) Example: 1 ID of a resource you want to get. |
expand | any Return expanded values. E.g. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "Example resource",
- "active": false,
- "avatar": "string",
- "is_part_time": true,
- "is_visible": true,
- "email": null,
- "user_id": "string",
- "role": "string",
- "can_see_calendar": true,
- "contract_start_date": "2077-04-07",
- "contract_end_date": "2077-04-07",
- "organization_unit_id": 1
}
Activate resource.
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "Example resource",
- "active": false,
- "avatar": "string",
- "is_part_time": true,
- "is_visible": true,
- "email": null,
- "user_id": "string",
- "role": "string",
- "can_see_calendar": true,
- "contract_start_date": "2077-04-07",
- "contract_end_date": "2077-04-07",
- "organization_unit_id": 1
}
Deactivate resource.
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "Example resource",
- "active": false,
- "avatar": "string",
- "is_part_time": true,
- "is_visible": true,
- "email": null,
- "user_id": "string",
- "role": "string",
- "can_see_calendar": true,
- "contract_start_date": "2077-04-07",
- "contract_end_date": "2077-04-07",
- "organization_unit_id": 1
}
resource_id required | integer (Resource identifier) Example: 1 ID of a resource you want to set custom field value. |
Custom field connection
custom_field_value_id required | integer (Custom field value identifier) Custom field value identifier |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "custom_field_value_id": 1
}
{- "custom_field_value_id": 1,
- "resource_id": 0
}
Delete resource and custom field value connection
resource_id required | integer (Resource identifier) Example: 1 ID of the resource for which you want to delete custom field value connection. |
custom_field_id required | integer (Resource identifier) Example: 1 ID of the custom field value you want to delete for resource. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Delete resource
Warning!
This request will remove all bookings, time entries and vacation data that belongs to the resource.
resource_id required | integer (Resource identifier) Example: 1 ID of the resource for which you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Remember the resource with role superadmin
has access to all units and it doesn't matter what you assisgn here, but these values will still be saved and returned when you changed the role to manager
or user
.
id required | integer (Resource identifier) Example: 1 ID of a resource you want to update. |
List of organization units ids, remember, the user with role superadmin
has access to all units and it doesn't matter what you assisgn here, but these values will still be saved and returned when you changed the role to manager
or user
.
ID of the unit assigned to this entry.
Success
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
[- 1,
- 2,
- 3
]
[ ]
All of the entries in Teamdeck’s timesheets are called Time Entries. They represent tracked time from our App, and this API allows you to access and update information about your team’s time entries.
Returns a list of time entries in your organization.
sort | any Pick the order in which the time entries should be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
expand | any Select the extended fields you want to be returned. Available fields: [ |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
resource_id | integer All entries have resources assigned to them. Filter entries by entering resource_id values of your choosing. Multiple IDs can be passed as comma-separated values. By default, all of the entries are returned. |
project_id | integer Filter the project_id values of the entries you want to be returned. Multiple IDs can be passed as comma-separated values. By default, all of the entries are returned. |
external_id | string Filter the external_id values of the entries you want to be returned. Multiple IDs can be passed as comma-separated values. By default, all of the entries are returned. |
start_date_from | date Filter time entries by their start_date field. Use the YYYY-MM-DD format. |
start_date_to | date Filter time entries by their start_date field. Use the YYYY-MM-DD format. |
end_date_from | date Filter time entries by their end_date field. Use the YYYY-MM-DD format. |
end_date_to | date Filter time entries by their end_date field. Use the YYYY-MM-DD format. |
date | date Filter time entries by single date. Use the YYYY-MM-DD format. You can`t use this filter with date range filters. |
Successful operation
Invalid authorization response
Invalid input
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "resource_id": 1,
- "status": 1,
- "project_id": 1,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "approver_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "approved_at": "2023-07-01 12:10:05",
- "creator_resource_id": 0,
- "approver_resource_id": 0,
- "requested_approver_resource_id": 0,
- "editor_resource_id": 0
}
]
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Time entry object that needs to be added
resource_id required | integer (Resource identifier) ID of the resource assigned to this entry. |
status | integer Default: 1 Status of a given time entry: |
project_id required | integer (Project identifier) ID of the project assigned to this entry. |
minutes required | int64 The length of a time entry in minutes. |
weekend_booking | boolean Default: false This is set to |
holidays_booking | boolean Default: false This is set to |
vacations_booking | boolean Default: false This is set to |
approver_id | integer Id of the user who approved this time entry. This field is required when in project you set enable_time_entry_approval=true. |
description | string Description of a time entry. |
external_id | string External id of a time entry for internal use. |
start_date required | string <YYYY-MM-DD> Starting date of a time entry. |
end_date required | string <YYYY-MM-DD> End date of a time entry. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "resource_id": 1,
- "status": 1,
- "project_id": 1,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "approver_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01"
}
{- "id": 0,
- "resource_id": 1,
- "status": 1,
- "project_id": 1,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "approver_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "approved_at": "2023-07-01 12:10:05",
- "creator_resource_id": 0,
- "approver_resource_id": 0,
- "requested_approver_resource_id": 0,
- "editor_resource_id": 0
}
Return a single time entry from your organization based on its ID.
id required | integer (Time entry identifier) Example: 1 ID of the time entry you want to get. |
expand | any Select the extended fields you want to be returned. Available fields: [ |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "resource_id": 1,
- "status": 1,
- "project_id": 1,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "approver_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "approved_at": "2023-07-01 12:10:05",
- "creator_resource_id": 0,
- "approver_resource_id": 0,
- "requested_approver_resource_id": 0,
- "editor_resource_id": 0
}
Update information about any time entry within your organization.
id required | integer (Time entry identifier) Example: 1 ID of the time entry you want to update. |
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Time entry object that needs to be added
resource_id required | integer (Resource identifier) ID of the resource assigned to this entry. |
status | integer Default: 1 Status of a given time entry: |
project_id required | integer (Project identifier) ID of the project assigned to this entry. |
minutes required | int64 The length of a time entry in minutes. |
weekend_booking | boolean Default: false This is set to |
holidays_booking | boolean Default: false This is set to |
vacations_booking | boolean Default: false This is set to |
approver_id | integer Id of the user who approved this time entry. This field is required when in project you set enable_time_entry_approval=true. |
description | string Description of a time entry. |
external_id | string External id of a time entry for internal use. |
start_date required | string <YYYY-MM-DD> Starting date of a time entry. |
end_date required | string <YYYY-MM-DD> End date of a time entry. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "resource_id": 1,
- "status": 1,
- "project_id": 1,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "approver_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01"
}
{- "id": 0,
- "resource_id": 1,
- "status": 1,
- "project_id": 1,
- "minutes": 120,
- "weekend_booking": true,
- "holidays_booking": true,
- "vacations_booking": true,
- "approver_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "approved_at": "2023-07-01 12:10:05",
- "creator_resource_id": 0,
- "approver_resource_id": 0,
- "requested_approver_resource_id": 0,
- "editor_resource_id": 0
}
Delete a time entry using its ID
id required | integer (Time entry identifier) Example: 1 ID of the time entry you want to delete. |
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Update information about tags connected to a time entry.
id required | integer (Time entry identifier) Example: 1 ID of a time entry you want to update. |
List of tags ids
Time Entry Tag identifier
Success
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
[- 1,
- 2,
- 3
]
[ ]
Returns a list of time entry tags from your organization. You can sort this list by any field, or return only selected time entry tags.
sort | any Pick the order in which the time entry tags will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
archived | boolean Default: 0 Filter by archived flag. By default, this is set to |
name | string Filter the names of the time entry tags you want to be returned. By default, all of the time entry tags are returned. |
Successful operation
Invalid request response
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
]
Time Entry Tag object that needs to be added
id | integer ID of a tag. |
name required | string Name of a tag. |
icon required | string (tag_icon) Enum: "alarm" "alarm_on" "alarm_off" "announcement" "bookmark" "assignment_turned_in" "build" "change_history" "check_circle" "description" "favorite" "favorite_border" "feedback" "grade" "label" "lightbulb_outline" "lock_open" "lock_outline" "schedule" "question_answer" "report_problem" "settings_applications" "settings_phone" "shopping_cart" "stars" "supervisor_account" "timeline" "work" "error" "warning" "fiber_manual_record" "new_releases" "mic" "videocam" "chat_bubble" "import_contacts" "mail_outline" "phonelink_setup" "content_paste" "drafts" "reply" "weekend" "brightness_high" "gps_fixed" "developer_mode" "devices" "attach_money" "money_off" "attach_file" "insert_photo" "pie_chart" "cloud" "folder" "desktop_mac" "computer" "keyboard_backspace" "phone_android" "phone_iphone" "tablet_mac" "tablet_android" "watch" "memory" "brightness_1" "assistant_photo" "details" "flash_on" "flash_off" "lens" "palette" "remove_red_eye" "timelapse" "tag_faces" "beenhere" "directions_run" "layers" "local_cafe" "local_offer" "local_movies" "my_location" "arrow_downward" "arrow_upward" "arrow_forward" "arrow_back" "more_horiz" "do_not_disturb" "event_available" "event_busy" "sync_problem" "notifications" "mood" "pool" "check_box" "check_box_outline_blank" "indeterminate_check_box" "radio_button_checked" "radio_button_unchecked" "star" "star_border" "star_half" "code" "looks_one" "looks_two" "looks_3" "looks_4" "looks_5" "looks_6" "done" "hourglass_empty" "home" "av_timer" "check" "clear" "card_giftcard" Available icons for a tag: e.g |
color required | string Color as hex code e.g. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Return a single time entry tag of your choosing.
id required | integer (Time Entry Tag identifier) Example: 1 ID of a time entry tag you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Update information about any time entry tag within your organization.
id required | integer (Time Entry Tag identifier) Example: 1 ID of a time entry tag you want to update. |
Time Entry Tag object that needs to be added
id | integer ID of a tag. |
name required | string Name of a tag. |
icon required | string (tag_icon) Enum: "alarm" "alarm_on" "alarm_off" "announcement" "bookmark" "assignment_turned_in" "build" "change_history" "check_circle" "description" "favorite" "favorite_border" "feedback" "grade" "label" "lightbulb_outline" "lock_open" "lock_outline" "schedule" "question_answer" "report_problem" "settings_applications" "settings_phone" "shopping_cart" "stars" "supervisor_account" "timeline" "work" "error" "warning" "fiber_manual_record" "new_releases" "mic" "videocam" "chat_bubble" "import_contacts" "mail_outline" "phonelink_setup" "content_paste" "drafts" "reply" "weekend" "brightness_high" "gps_fixed" "developer_mode" "devices" "attach_money" "money_off" "attach_file" "insert_photo" "pie_chart" "cloud" "folder" "desktop_mac" "computer" "keyboard_backspace" "phone_android" "phone_iphone" "tablet_mac" "tablet_android" "watch" "memory" "brightness_1" "assistant_photo" "details" "flash_on" "flash_off" "lens" "palette" "remove_red_eye" "timelapse" "tag_faces" "beenhere" "directions_run" "layers" "local_cafe" "local_offer" "local_movies" "my_location" "arrow_downward" "arrow_upward" "arrow_forward" "arrow_back" "more_horiz" "do_not_disturb" "event_available" "event_busy" "sync_problem" "notifications" "mood" "pool" "check_box" "check_box_outline_blank" "indeterminate_check_box" "radio_button_checked" "radio_button_unchecked" "star" "star_border" "star_half" "code" "looks_one" "looks_two" "looks_3" "looks_4" "looks_5" "looks_6" "done" "hourglass_empty" "home" "av_timer" "check" "clear" "card_giftcard" Available icons for a tag: e.g |
color required | string Color as hex code e.g. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Delete a time entry tag using its ID. If tag has connection with time entries, the tag will be archived, but not deleted.
id required | integer (Time Entry Tag identifier) Example: 1 ID of a time entry tag you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Personal time off of your resources is referred to as vacations in Teamdeck. This API allows you to access and update information about your team’s time off.
Return a list of vacations scheduled in organization.
sort | any Pick the order in which vacations should be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
resource_id | integer All entries have resources assigned to them. Filter entries by entering resource_id values of your choosing. Multiple IDs can be passed as comma-separated values. By default, all of the entries are returned. |
external_id | string Filter the external_id values of the entries you want to be returned. Multiple IDs can be passed as comma-separated values. By default, all of the entries are returned. |
start_date_from | date Filter vacations by their start_date field. Use the YYYY-MM-DD format. |
start_date_to | date Filter vacations by their start_date field. Use the YYYY-MM-DD format. |
end_date_from | date Filter vacations by their end_date field. Use the YYYY-MM-DD format. |
end_date_to | date Filter vacations by their end_date field. Use the YYYY-MM-DD format. |
date | date Filter vacations by single date. Use the YYYY-MM-DD format. You can`t use this filter with date range filters. |
Successful operation
Invalid authorization response
Invalid input
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "resource_id": 1,
- "status": 0,
- "period_id": 1,
- "requested_approver_id": 0,
- "reason_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 0,
- "requested_approver_resource_id": 0,
- "approver_resource_id": 0,
- "editor_resource_id": 0
}
]
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Vacation object that needs to be added
resource_id required | integer (Resource identifier) ID of the resource assigned to this entry. |
status | int64 Default: 0 Status of a given vacation: |
period_id | integer (Vacation period identifier) Vacation period identifier |
requested_approver_id | integer Id of a user to which you want to send a request of a vacation, if null was provided the request will be sent to all admins. |
reason_id | integer (Vacation reason identifier) Vacation reason identifier |
description | string Description of a vacation. |
external_id | string External id of a vacation for internal use. |
start_date required | string <YYYY-MM-DD> Starting date of a vacation. |
end_date required | string <YYYY-MM-DD> End date of a vacation |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "resource_id": 1,
- "status": 0,
- "period_id": 1,
- "requested_approver_id": 0,
- "reason_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01"
}
{- "id": 0,
- "resource_id": 1,
- "status": 0,
- "period_id": 1,
- "requested_approver_id": 0,
- "reason_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 0,
- "requested_approver_resource_id": 0,
- "approver_resource_id": 0,
- "editor_resource_id": 0
}
Return a vacation of your choosing using its ID.
id required | integer (Vacation identifier) Example: 1 ID of the vacation you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "resource_id": 1,
- "status": 0,
- "period_id": 1,
- "requested_approver_id": 0,
- "reason_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 0,
- "requested_approver_resource_id": 0,
- "approver_resource_id": 0,
- "editor_resource_id": 0
}
Update information about vacations scheduled in your organization.
id required | integer (Vacation identifier) Example: 1 ID of the vacation you want to update. |
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Vacation object that needs to be added
resource_id required | integer (Resource identifier) ID of the resource assigned to this entry. |
status | int64 Default: 0 Status of a given vacation: |
period_id | integer (Vacation period identifier) Vacation period identifier |
requested_approver_id | integer Id of a user to which you want to send a request of a vacation, if null was provided the request will be sent to all admins. |
reason_id | integer (Vacation reason identifier) Vacation reason identifier |
description | string Description of a vacation. |
external_id | string External id of a vacation for internal use. |
start_date required | string <YYYY-MM-DD> Starting date of a vacation. |
end_date required | string <YYYY-MM-DD> End date of a vacation |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "resource_id": 1,
- "status": 0,
- "period_id": 1,
- "requested_approver_id": 0,
- "reason_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01"
}
{- "id": 0,
- "resource_id": 1,
- "status": 0,
- "period_id": 1,
- "requested_approver_id": 0,
- "reason_id": 1,
- "description": "string",
- "external_id": "string",
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "creator_resource_id": 0,
- "requested_approver_resource_id": 0,
- "approver_resource_id": 0,
- "editor_resource_id": 0
}
Delete a vacation using its ID.
id required | integer (Vacation identifier) Example: 1 ID of the vacation you want to delete. |
X-TD-DISABLE-NOTIFICATIONS | boolean Default: false If set to |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Teamdeck allows its users to decide how much time per day they’re taking off. Vacation periods are set time periods that users can choose from when requesting vacations.
Return a list of all vacation periods in your organization.
sort | any Pick the order in which vacation periods should be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
name | string Filter vacation periods by their names. |
archived | integer Filter the archived vacation periods. By default, all of the reasons are returned. |
Successful operation
Invalid authorization response.
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "archived": true,
- "hours_per_day": 1
}
]
Return a vacation period of your choosing using its ID.
id required | integer (Vacation period identifier) Example: 1 Vacation period identifier |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "archived": true,
- "hours_per_day": 1
}
Vacation reason signifies what is the reason/category of a given vacation (sick leave, maternity leave etc.) Organization’s owner can specify a list of custom reasons and decide which ones should be displayed as paid or unpaid. Teamdeck’s API allows you to access the reasons defined in your organization.
Return a list of all vacation reasons in your organization.
sort | any Pick the order in which vacation reasons should be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
name | string Filter vacation reasons by their names. |
archived | integer Filter the archived vacation reasons. By default, all of the reasons are returned. |
Successful operation
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "archived": true,
- "payable": true,
- "color": "string",
- "name": "string"
}
]
TBD: description of the endpoint
id required | integer (Vacation reason identifier) Example: 1 Vacation reason identifier |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "archived": true,
- "payable": true,
- "color": "string",
- "name": "string"
}
Returns a list of availability entries in your organization. You can filter them by resources ids.
resourcesIds | any Filter by resources ids: query?resourcesIds=1,2 |
Successful operation
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "resource_id": 0,
- "date": "2018-07-01",
- "minutes": 480
}
]
Returns a list of milestones in your organization.
sort | any Pick the order in which the milestones will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
project_id | integer Filter the project_id values of the milestones you want to be returned. Multiple IDs can be passed as comma-separated values. By default, all of the milestones are returned. |
start_date_from | date Filter milestones by their start_date field. Use the YYYY-MM-DD format. |
start_date_to | date Filter milestones by their start_date field. Use the YYYY-MM-DD format. |
end_date_from | date Filter milestones by their end_date field. Use the YYYY-MM-DD format. |
end_date_to | date Filter milestones by their end_date field. Use the YYYY-MM-DD format. |
date | date Filter milestones by single date. Use the YYYY-MM-DD format. You can`t use this filter with date range filters. |
Successful operation
Invalid authorization response
Invalid input
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "name": "Example milestone",
- "project_id": 1,
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "description": "string"
}
]
Milestone object that needs to be added
name required | string (Milestone name) <= 255 characters Milestone name. |
project_id required | integer (Project identifier) ID of the project assigned to this entry. |
start_date required | string <YYYY-MM-DD> Starting date of a milestone. |
end_date required | string <YYYY-MM-DD> End date of a milestone. |
description | string Description of a milestone. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example milestone",
- "project_id": 1,
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "description": "string"
}
{- "id": 0,
- "name": "Example milestone",
- "project_id": 1,
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "description": "string"
}
Return a single milestone from your organization based on its ID.
id required | integer (Milestone identifier) Example: 1 ID of a milestone you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "Example milestone",
- "project_id": 1,
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "description": "string"
}
Update information about any milestone within your organization.
id required | integer (Milestone identifier) Example: 1 ID of a milestone you want to update. |
Milestone object that needs to be added
name required | string (Milestone name) <= 255 characters Milestone name. |
project_id required | integer (Project identifier) ID of the project assigned to this entry. |
start_date required | string <YYYY-MM-DD> Starting date of a milestone. |
end_date required | string <YYYY-MM-DD> End date of a milestone. |
description | string Description of a milestone. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example milestone",
- "project_id": 1,
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "description": "string"
}
{- "id": 0,
- "name": "Example milestone",
- "project_id": 1,
- "start_date": "2018-07-01",
- "end_date": "2018-07-01",
- "description": "string"
}
Delete a milestone using its ID.
id required | integer (Milestone identifier) Example: 1 ID of a milestone you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Access and update units in your organization. OrganizationUnits in Teamdeck are understood as bank units, days during which nobody is working.
sort | any Pick the order in which the units will be returned. You can sort by any field: |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
name | string Filter the names of the units you want to be returned. By default, all of the units are returned. |
default | integer Available values: 0/1 |
Successful operation
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "name": "Example unit",
- "default": 1
}
]
Organization Unit object that needs to be added
name required | string (Name) <= 255 characters Organization unit name. |
default required | boolean (Default) Whether unit is default, if you send 1 all another units will be changed to 0. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example unit",
- "default": 1
}
{- "id": 0,
- "name": "Example unit",
- "default": 1
}
Return any single unit from your organization using its ID.
id required | integer (Organization Unit identifier, in not provided the default will be used.) Example: 1 ID of a unit you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "Example unit",
- "default": 1
}
Change information about any of the units in your organization.
id required | integer (Organization Unit identifier, in not provided the default will be used.) Example: 1 ID of a unit you want to update. |
Organization Unit object that needs to be added
name required | string (Name) <= 255 characters Organization unit name. |
default required | boolean (Default) Whether unit is default, if you send 1 all another units will be changed to 0. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "Example unit",
- "default": 1
}
{- "id": 0,
- "name": "Example unit",
- "default": 1
}
Delete a unit using its ID.
id required | integer (Organization Unit identifier, in not provided the default will be used.) Example: 1 ID of the unit you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
Returns a list of project tags from your organization. You can sort this list by any field, or return only selected project tags.
sort | any Pick the order in which the project tags will be returned. You can sort by any field: |
fields | any Select the fields you want to be returned. By default, all of the fields are returned. |
page | integer Default: 0 Select the page you want to display. By default, this is set to |
archived | boolean Default: 0 Filter by archived flag. By default, this is set to |
name | string Filter the names of the project tags you want to be returned. By default, all of the project tags are returned. |
Successful operation
Invalid request response
Invalid authorization response
This is Teamdecks Public API documentation
[- {
- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
]
Project Tag object that needs to be added
id | integer ID of a tag. |
name required | string Name of a tag. |
icon required | string (tag_icon) Enum: "alarm" "alarm_on" "alarm_off" "announcement" "bookmark" "assignment_turned_in" "build" "change_history" "check_circle" "description" "favorite" "favorite_border" "feedback" "grade" "label" "lightbulb_outline" "lock_open" "lock_outline" "schedule" "question_answer" "report_problem" "settings_applications" "settings_phone" "shopping_cart" "stars" "supervisor_account" "timeline" "work" "error" "warning" "fiber_manual_record" "new_releases" "mic" "videocam" "chat_bubble" "import_contacts" "mail_outline" "phonelink_setup" "content_paste" "drafts" "reply" "weekend" "brightness_high" "gps_fixed" "developer_mode" "devices" "attach_money" "money_off" "attach_file" "insert_photo" "pie_chart" "cloud" "folder" "desktop_mac" "computer" "keyboard_backspace" "phone_android" "phone_iphone" "tablet_mac" "tablet_android" "watch" "memory" "brightness_1" "assistant_photo" "details" "flash_on" "flash_off" "lens" "palette" "remove_red_eye" "timelapse" "tag_faces" "beenhere" "directions_run" "layers" "local_cafe" "local_offer" "local_movies" "my_location" "arrow_downward" "arrow_upward" "arrow_forward" "arrow_back" "more_horiz" "do_not_disturb" "event_available" "event_busy" "sync_problem" "notifications" "mood" "pool" "check_box" "check_box_outline_blank" "indeterminate_check_box" "radio_button_checked" "radio_button_unchecked" "star" "star_border" "star_half" "code" "looks_one" "looks_two" "looks_3" "looks_4" "looks_5" "looks_6" "done" "hourglass_empty" "home" "av_timer" "check" "clear" "card_giftcard" Available icons for a tag: e.g |
color required | string Color as hex code e.g. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Return a single project tag of your choosing.
id required | integer (Project Tag identifier) Example: 1 ID of a project tag you want to get. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Update information about any project tag within your organization.
id required | integer (Project Tag identifier) Example: 1 ID of a project tag you want to update. |
Project Tag object that needs to be added
id | integer ID of a tag. |
name required | string Name of a tag. |
icon required | string (tag_icon) Enum: "alarm" "alarm_on" "alarm_off" "announcement" "bookmark" "assignment_turned_in" "build" "change_history" "check_circle" "description" "favorite" "favorite_border" "feedback" "grade" "label" "lightbulb_outline" "lock_open" "lock_outline" "schedule" "question_answer" "report_problem" "settings_applications" "settings_phone" "shopping_cart" "stars" "supervisor_account" "timeline" "work" "error" "warning" "fiber_manual_record" "new_releases" "mic" "videocam" "chat_bubble" "import_contacts" "mail_outline" "phonelink_setup" "content_paste" "drafts" "reply" "weekend" "brightness_high" "gps_fixed" "developer_mode" "devices" "attach_money" "money_off" "attach_file" "insert_photo" "pie_chart" "cloud" "folder" "desktop_mac" "computer" "keyboard_backspace" "phone_android" "phone_iphone" "tablet_mac" "tablet_android" "watch" "memory" "brightness_1" "assistant_photo" "details" "flash_on" "flash_off" "lens" "palette" "remove_red_eye" "timelapse" "tag_faces" "beenhere" "directions_run" "layers" "local_cafe" "local_offer" "local_movies" "my_location" "arrow_downward" "arrow_upward" "arrow_forward" "arrow_back" "more_horiz" "do_not_disturb" "event_available" "event_busy" "sync_problem" "notifications" "mood" "pool" "check_box" "check_box_outline_blank" "indeterminate_check_box" "radio_button_checked" "radio_button_unchecked" "star" "star_border" "star_half" "code" "looks_one" "looks_two" "looks_3" "looks_4" "looks_5" "looks_6" "done" "hourglass_empty" "home" "av_timer" "check" "clear" "card_giftcard" Available icons for a tag: e.g |
color required | string Color as hex code e.g. |
Successful operation
Invalid authorization response
Invalid token rights response
Invalid input
This is Teamdecks Public API documentation
{- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
{- "id": 0,
- "name": "string",
- "icon": "assignment_turned_in",
- "color": "string"
}
Delete a project tag using its ID. If tag has connection with projects, the tag will be archived, but not deleted.
id required | integer (Project Tag identifier) Example: 1 ID of a project tag you want to delete. |
Successful operation
Invalid authorization response
Invalid token rights response
This is Teamdecks Public API documentation