REST API for the Slateo platform — account-member level access to your projects, tasks, customers, and more.
Download OpenAPI specification:
REST API for the Slateo platform (excludes admin and client routes)
The Slateo API is account-member level: every request acts as a specific member of a specific Slateo account, scoped to that member's role and permissions -- the same rules that apply inside the Slateo app itself.
This reference covers what an authenticated member can do: projects, tasks, documents, customers, and the rest of the account's data. It does not cover account creation, cross-account listing, or the web app's own login flow -- those aren't reachable with an API key.
New here? Start with Quickstart. For how requests are authenticated, see Authentication.
Get an API key -- available from Slateo app settings. Session auth only; an API key can't be used to create another API key.
Make a request -- every endpoint is under /api and needs an Authorization: Bearer <api-key> header:
curl https://app.slateo.io/api/users/me \
-H "Authorization: Bearer slateo_..."
Explore the reference -- endpoints are grouped by resource in the sidebar (Tasks, Projects, Customers, ...). See Authentication for details on scoping and permissions.
Requests are authenticated with a Slateo API key, sent as a bearer token:
Authorization: Bearer slateo_...
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "email_verified": true,
- "phone": "string",
- "phone_verified": true,
- "avatar_url": "string",
- "color": "string",
- "auth_source": "string",
- "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| accountId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "type": "org",
- "website_url": "string",
- "color": "string",
- "logo_url": "string",
- "timezone": "string",
- "preferences": { },
- "task_counter": 0,
- "account_plan": {
- "id": "string",
- "name": "string",
- "project_limit": 0,
- "user_limit": 0,
- "workstream_limit": 0,
- "customer_limit": 0,
- "invoice_limit": 0,
- "product_management_limit": 0,
- "ai_workflow_tier": "basic",
- "task_board_tier": "basic",
- "support_tier": "none",
- "custom_integrations": true,
- "dedicated_account_manager": true,
- "onboarding_training": true,
- "is_paid": true,
- "subscription_period": "monthly",
- "payment_provider": "string",
- "payment_provider_plan_id": "string",
- "payment_provider_subscription_id": "string"
}, - "created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| accountId required | string <uuid> |
| name | string |
| website_url | string |
| color | string |
| logo_url | string |
| timezone | string |
| preferences | object |
{- "name": "string",
- "website_url": "string",
- "color": "string",
- "logo_url": "string",
- "timezone": "string",
- "preferences": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "type": "org",
- "website_url": "string",
- "color": "string",
- "logo_url": "string",
- "timezone": "string",
- "preferences": { },
- "task_counter": 0,
- "account_plan": {
- "id": "string",
- "name": "string",
- "project_limit": 0,
- "user_limit": 0,
- "workstream_limit": 0,
- "customer_limit": 0,
- "invoice_limit": 0,
- "product_management_limit": 0,
- "ai_workflow_tier": "basic",
- "task_board_tier": "basic",
- "support_tier": "none",
- "custom_integrations": true,
- "dedicated_account_manager": true,
- "onboarding_training": true,
- "is_paid": true,
- "subscription_period": "monthly",
- "payment_provider": "string",
- "payment_provider_plan_id": "string",
- "payment_provider_subscription_id": "string"
}, - "created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Hard-deletes the account immediately if it has no tasks, documents, products, customers, deals, or invoices. Otherwise soft-deletes it and schedules a hard delete (cascading all account data) 90 days later. Requires the account.delete permission (OWNER role only).
| accountId required | string <uuid> |
{- "status": "hard_deleted",
- "scheduled_hard_delete_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "display_name": "string",
- "avatar_url": "string",
- "job_title": "string",
- "color": "string",
- "timezone": "string",
- "status": "invited",
- "slack_user_id": "string",
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_details": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "email_verified": true,
- "phone": "string",
- "phone_verified": true,
- "avatar_url": "string",
- "color": "string",
- "auth_source": "string",
- "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "color": "string",
- "scope_type": "account",
- "type": "internal",
- "default": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "permission_key": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}, - "project_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]string <email> | |
| role_id | string <uuid> |
| display_name | string |
| job_title | string |
{- "email": "user@example.com",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "display_name": "string",
- "job_title": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "display_name": "string",
- "avatar_url": "string",
- "job_title": "string",
- "color": "string",
- "timezone": "string",
- "status": "invited",
- "slack_user_id": "string",
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_details": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "email_verified": true,
- "phone": "string",
- "phone_verified": true,
- "avatar_url": "string",
- "color": "string",
- "auth_source": "string",
- "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "color": "string",
- "scope_type": "account",
- "type": "internal",
- "default": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "permission_key": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "display_name": "string",
- "avatar_url": "string",
- "job_title": "string",
- "color": "string",
- "timezone": "string",
- "status": "invited",
- "slack_user_id": "string",
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_details": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "email_verified": true,
- "phone": "string",
- "phone_verified": true,
- "avatar_url": "string",
- "color": "string",
- "auth_source": "string",
- "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "color": "string",
- "scope_type": "account",
- "type": "internal",
- "default": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "permission_key": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}, - "account": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "type": "org",
- "website_url": "string",
- "color": "string",
- "logo_url": "string",
- "timezone": "string",
- "preferences": { },
- "task_counter": 0,
- "account_plan": {
- "id": "string",
- "name": "string",
- "project_limit": 0,
- "user_limit": 0,
- "workstream_limit": 0,
- "customer_limit": 0,
- "invoice_limit": 0,
- "product_management_limit": 0,
- "ai_workflow_tier": "basic",
- "task_board_tier": "basic",
- "support_tier": "none",
- "custom_integrations": true,
- "dedicated_account_manager": true,
- "onboarding_training": true,
- "is_paid": true,
- "subscription_period": "monthly",
- "payment_provider": "string",
- "payment_provider_plan_id": "string",
- "payment_provider_subscription_id": "string"
}, - "created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "projects": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "color": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "visibility": "account",
- "default": true,
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "membership_role_id": "8c6767c0-479c-4ff3-885e-81c5013f6422",
- "membership_role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "color": "string",
- "scope_type": "account",
- "type": "internal",
- "default": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "permission_key": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}, - "last_used_at": "2019-08-24T14:15:22Z"
}
]
}, - "insights": {
- "hasProducts": true,
- "showDocuments": true
}, - "account_permissions": [
- "string"
]
}| memberId required | string <uuid> |
| display_name | string |
| avatar_url | string |
| job_title | string |
| color | string |
| timezone | string |
| preferences | object |
{- "display_name": "string",
- "avatar_url": "string",
- "job_title": "string",
- "color": "string",
- "timezone": "string",
- "preferences": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "display_name": "string",
- "avatar_url": "string",
- "job_title": "string",
- "color": "string",
- "timezone": "string",
- "status": "invited",
- "slack_user_id": "string",
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_details": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "email_verified": true,
- "phone": "string",
- "phone_verified": true,
- "avatar_url": "string",
- "color": "string",
- "auth_source": "string",
- "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "role": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "color": "string",
- "scope_type": "account",
- "type": "internal",
- "default": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "permission_key": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
}| memberId required | string <uuid> |
| token required | string |
| platform | string Enum: "ios" "android" "web" |
{- "token": "string",
- "platform": "ios"
}| scope_type | string (MembershipScopeType) Enum: "project" "product" "workstream" "document" |
| scope_id | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "scope_type": "project",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "workstream_access_type": "all",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| member_id required | string <uuid> |
| role_id | string <uuid> |
| scope_type required | string (MembershipScopeType) Enum: "project" "product" "workstream" "document" |
| scope_id required | string <uuid> |
| workstream_access_type | string Enum: "all" "selected" |
{- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "scope_type": "project",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "workstream_access_type": "all"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "scope_type": "project",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "workstream_access_type": "all",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| membershipId required | string <uuid> |
| role_id | string <uuid> |
| workstream_access_type | string Enum: "all" "selected" |
{- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "workstream_access_type": "all"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "color": "string",
- "scope_type": "account",
- "type": "internal",
- "default": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "permission_key": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
]| name required | string |
| description | string |
| scope_type required | string (RoleScopeType) Enum: "account" "project" "product" |
| type | string (RoleType) Enum: "internal" "external" |
| color | string |
{- "name": "string",
- "description": "string",
- "scope_type": "account",
- "type": "internal",
- "color": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "color": "string",
- "scope_type": "account",
- "type": "internal",
- "default": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "permission_key": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| accountRoleId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "color": "string",
- "scope_type": "account",
- "type": "internal",
- "default": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "permission_key": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "color": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "visibility": "account",
- "default": true,
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| name required | string |
| color | string |
| visibility | string Enum: "account" "members" |
| preferences | object |
| enabled_cycle_categories | Array of strings Items Enum: "phase" "release" "sprint" "milestone" |
{- "name": "string",
- "color": "string",
- "visibility": "account",
- "preferences": { },
- "enabled_cycle_categories": [
- "phase"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "color": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "visibility": "account",
- "default": true,
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "color": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "visibility": "account",
- "default": true,
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| projectId required | string <uuid> |
| name | string |
| visibility | string Enum: "account" "members" |
| preferences | object |
{- "name": "string",
- "visibility": "account",
- "preferences": { }
}| projectId required | string <uuid> |
| category required | string Enum: "phase" "release" "sprint" |
| project_cycle_id required | string or null <uuid> The project cycle to mark as current for this category, or null to clear it. |
{- "category": "phase",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "color": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "visibility": "account",
- "default": true,
- "preferences": { },
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| project_id required | string <uuid> |
| entity_id required | string <uuid> |
{- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| workstreamId required | string <uuid> |
| name required | string |
| description | string |
{- "name": "string",
- "description": "string"
}| project_id | string <uuid> |
| workstream_id | string <uuid> |
| assigned_to_member_id | string <uuid> |
| priority | string (TaskPriority) Enum: "high" "medium" "low" |
| type | string (TaskType) Enum: "bundle" "task" "subtask" |
| project_cycle_id | string A |
| milestone_id | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| title required | string |
| description | string |
| type | string (TaskType) Enum: "bundle" "task" "subtask" |
| priority | string (TaskPriority) Enum: "high" "medium" "low" |
| project_id required | string <uuid> |
| entity_id required | string <uuid> |
| assigned_to_member_id | string <uuid> |
| parent_id | string or null <uuid> |
| project_cycle_id | string or null <uuid> |
| milestone_id | string or null <uuid> |
| feature_id | string or null <uuid> |
| due_at | string <date-time> |
{- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Array of objects (TaskInput) |
{- "tasks": [
- {
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z"
}
]
}Applies the same field updates to every task in task_ids. Each task is processed
independently — permission (task.update, scoped per task's project) and update
errors are per-task and don't block the rest of the batch. The response is an array
with one entry per requested task, in order, reporting per-task success or failure.
| task_ids required | Array of strings <uuid> [ items <uuid > ] |
| title | string |
| description | string or null |
| type | string (TaskType) Enum: "bundle" "task" "subtask" |
| priority | string (TaskPriority) Enum: "high" "medium" "low" |
| assigned_to_member_id | string or null <uuid> |
| due_at | string or null <date-time> |
| resolved_at | string or null <date-time> |
| project_cycle_id | string or null <uuid> |
| milestone_id | string or null <uuid> |
| roadmap_item_id | string or null |
| feature_id | string or null |
| parent_id | string or null |
{- "task_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "string",
- "feature_id": "string",
- "parent_id": "string"
}[- {
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "success": true,
- "task": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "error": "string"
}
]Moves every task in task_ids to workflow_template_stage_id. Each task is
processed independently through the same stage-condition and approval checks as
POST /tasks/{taskId}/workflow_stages (see that endpoint's description) — one
task's failure (missing permission, unmet conditions, unmet approvals) does not
block or roll back the others. The response is an array with one entry per
requested task, in order, reporting per-task success or failure.
| task_ids required | Array of strings <uuid> [ items <uuid > ] |
| workflow_template_stage_id required | string <uuid> |
| planned_start_at | string <date-time> |
| planned_end_at | string <date-time> |
| actual_start_at | string <date-time> |
| bypass_approvals | boolean Requires the |
{- "task_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "workflow_template_stage_id": "79ea45b2-4be3-4980-a12d-3fd314348625",
- "planned_start_at": "2019-08-24T14:15:22Z",
- "planned_end_at": "2019-08-24T14:15:22Z",
- "actual_start_at": "2019-08-24T14:15:22Z",
- "bypass_approvals": true
}[- {
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "success": true,
- "task": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "error": "string",
- "status": 0
}
]{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| taskId required | string <uuid> |
| title | string |
| description | string |
| priority | string (TaskPriority) Enum: "high" "medium" "low" |
| assigned_to_member_id | string <uuid> |
| due_at | string <date-time> |
| project_cycle_id | string or null <uuid> |
| milestone_id | string or null <uuid> |
| feature_id | string or null <uuid> |
{- "title": "string",
- "description": "string",
- "priority": "high",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "due_at": "2019-08-24T14:15:22Z",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50"
}| taskId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": "string",
- "author_member_id": "4a7d22bb-e8d8-4ea0-8227-dec7ee17e089",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "tasklet_id": "80ac0a1c-81a6-490a-b5a2-29c95422c54c",
- "idea_id": "513dcbd6-3206-4305-8a7e-8651161eebfb",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| taskId required | string <uuid> |
| content required | string |
{- "content": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": "string",
- "author_member_id": "4a7d22bb-e8d8-4ea0-8227-dec7ee17e089",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "tasklet_id": "80ac0a1c-81a6-490a-b5a2-29c95422c54c",
- "idea_id": "513dcbd6-3206-4305-8a7e-8651161eebfb",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| taskId required | string <uuid> |
| label_ids required | Array of strings <uuid> [ items <uuid > ] |
{- "label_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Moves the task to workflow_template_stage_id. Before the move is applied, the backend:
/entity-workflow-templates/{workflowTemplateId}/entity-workflow-template-stages/{workflowTemplateStageId}/conditions).
If any condition fails, responds 422 with the list of failures — this check cannot be bypassed..../approvers endpoint)
and whether they've all approved (see GET .../workflow_stages/{stageId}/approvals). If approvals are
missing, responds 422 unless bypass_approvals: true is sent — bypassing requires the
task.stage.bypass_approval permission, otherwise responds 403.| taskId required | string <uuid> |
| workflow_template_stage_id required | string <uuid> |
| planned_start_at | string <date-time> |
| planned_end_at | string <date-time> |
| actual_start_at | string <date-time> |
| bypass_approvals | boolean Requires the |
{- "workflow_template_stage_id": "79ea45b2-4be3-4980-a12d-3fd314348625",
- "planned_start_at": "2019-08-24T14:15:22Z",
- "planned_end_at": "2019-08-24T14:15:22Z",
- "actual_start_at": "2019-08-24T14:15:22Z",
- "bypass_approvals": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns one entry per participation type required to approve entry into this stage, whether it's satisfied, and by whom.
| taskId required | string <uuid> |
| stageId required | string <uuid> |
[- {
- "entity_user_participation_type_id": "23f2e07a-d7b4-45d9-8d71-31226db54e3f",
- "name": "string",
- "satisfied": true,
- "approvals": [
- {
- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "approved_at": "2019-08-24T14:15:22Z"
}
]
}
]Records approval on behalf of entity_user_participation_type_id. The approving member must
hold that participation type on this task (via the task's participants) and the participation
type must be configured as a required approver for the stage, otherwise 403/400.
| taskId required | string <uuid> |
| stageId required | string <uuid> |
| entity_user_participation_type_id required | string <uuid> |
| comment | string or null |
{- "entity_user_participation_type_id": "23f2e07a-d7b4-45d9-8d71-31226db54e3f",
- "comment": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "workflow_template_stage_id": "79ea45b2-4be3-4980-a12d-3fd314348625",
- "entity_user_participation_type_id": "23f2e07a-d7b4-45d9-8d71-31226db54e3f",
- "approved_by_member_id": "b99944fd-9560-4338-afdc-b1ed80317035",
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| taskId required | string <uuid> |
| member_id required | string <uuid> |
| participation_type_id | string <uuid> |
{- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "participation_type_id": "126528fa-07da-43d8-8f06-0346eb2ecc74"
}Returns links in both directions: rows where this task is the source (direction: outgoing,
link_type as stored) and rows where it's the target (direction: incoming). The scheduling
types (finish_to_start, start_to_start, start_to_finish, finish_to_finish) keep the same
link_type in both directions — use direction to tell predecessor from successor. duplicates
inverts to is_duplicated_by; relates_to stays relates_to.
| taskId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "link_type": "string",
- "direction": "outgoing",
- "task": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z"
}
]Creates a directional link from this task to linked_task_id of type link_type. Both tasks
must belong to the caller's account. Fails 400 if linked_task_id is the same task, 404 if
it doesn't exist in this account, and 409 if this exact (task, linked task, type) link already
exists.
| taskId required | string <uuid> |
| linked_task_id required | string <uuid> |
| link_type required | string (TaskLinkType) Enum: "finish_to_start" "start_to_start" "start_to_finish" "finish_to_finish" "duplicates" "relates_to" |
{- "linked_task_id": "f058b6f0-fc6a-463d-9ff4-7b21347211ea",
- "link_type": "finish_to_start"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "link_type": "string",
- "direction": "outgoing",
- "task": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "body": "string",
- "status": "open",
- "priority": "low",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "due_at": "2019-08-24T14:15:22Z",
- "snooze_until": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "resolved_by_member_id": "a8c87071-513f-47db-bb36-6c92b81e8f6f",
- "external_source": "string",
- "external_id": "string",
- "external_url": "string",
- "created_via": "slack",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| title required | string |
| body | string |
| task_id | string <uuid> |
| assigned_to_member_id | string <uuid> |
| priority | string (TaskletPriority) Enum: "low" "medium" "high" "critical" |
| due_at | string <date-time> |
{- "title": "string",
- "body": "string",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "priority": "low",
- "due_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "body": "string",
- "status": "open",
- "priority": "low",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "due_at": "2019-08-24T14:15:22Z",
- "snooze_until": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "resolved_by_member_id": "a8c87071-513f-47db-bb36-6c92b81e8f6f",
- "external_source": "string",
- "external_id": "string",
- "external_url": "string",
- "created_via": "slack",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> |
| title | string |
| body | string |
| status | string (TaskletStatus) Enum: "open" "done" "snoozed" "cancelled" |
| priority | string (TaskletPriority) Enum: "low" "medium" "high" "critical" |
| assigned_to_member_id | string <uuid> |
| due_at | string <date-time> |
| snooze_until | string <date-time> |
{- "title": "string",
- "body": "string",
- "status": "open",
- "priority": "low",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "due_at": "2019-08-24T14:15:22Z",
- "snooze_until": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "votes": [
- {
- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "vote_type": "up",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| title required | string |
| description | string |
| product_id required | string <uuid> |
{- "title": "string",
- "description": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "votes": [
- {
- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "vote_type": "up",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| name required | string |
| product_id required | string <uuid> |
| start_date | string <date-time> |
| end_date | string <date-time> |
{- "name": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| initiativeId required | string <uuid> |
| name | string |
| start_date | string <date-time> |
| end_date | string <date-time> |
{- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "objective_cycle_id": "cfbba3a3-49ce-46d7-91a7-216179217e20",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "key_results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "objective_id": "a5f9b33c-8c7c-450f-8b99-e52aa06d137d",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "metric_type": "number",
- "target_value": 0,
- "current_value": 0,
- "baseline_value": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| title required | string |
| description | string |
| product_id required | string <uuid> |
| objective_cycle_id required | string <uuid> |
{- "title": "string",
- "description": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "objective_cycle_id": "cfbba3a3-49ce-46d7-91a7-216179217e20"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "objective_cycle_id": "cfbba3a3-49ce-46d7-91a7-216179217e20",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "key_results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "objective_id": "a5f9b33c-8c7c-450f-8b99-e52aa06d137d",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "metric_type": "number",
- "target_value": 0,
- "current_value": 0,
- "baseline_value": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| objectiveId required | string <uuid> |
| title required | string |
| description | string |
| metric_type required | string (KeyResultMetricType) Enum: "number" "percentage" "currency" |
| target_value required | number |
| current_value | number |
| baseline_value | number |
{- "title": "string",
- "description": "string",
- "metric_type": "number",
- "target_value": 0,
- "current_value": 0,
- "baseline_value": 0
}| objectiveId required | string <uuid> |
| keyResultId required | string <uuid> |
| title required | string |
| description | string |
| metric_type required | string (KeyResultMetricType) Enum: "number" "percentage" "currency" |
| target_value required | number |
| current_value | number |
| baseline_value | number |
{- "title": "string",
- "description": "string",
- "metric_type": "number",
- "target_value": 0,
- "current_value": 0,
- "baseline_value": 0
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| name required | string |
| product_id required | string <uuid> |
| start_date | string <date-time> |
| end_date | string <date-time> |
{- "name": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z"
}| objectiveCycleId required | string <uuid> |
| name | string |
| start_date | string <date-time> |
| end_date | string <date-time> |
{- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "owner_member_id": "b0a041db-c5b2-49a1-b3f7-48acec826805",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "logo_url": "string",
- "visibility": "account",
- "links": [
- {
- "type": "string",
- "url": "string",
- "typeId": "string"
}
], - "context": {
- "vision": "string",
- "goals": "string",
- "target_audience": "string",
- "problem_statement": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| name required | string |
| description | string |
| logo_url | string |
| visibility | string Enum: "account" "members" |
| owner_member_id | string <uuid> |
Array of objects (ProductLink) | |
object (ProductContext) |
{- "name": "string",
- "description": "string",
- "logo_url": "string",
- "visibility": "account",
- "owner_member_id": "b0a041db-c5b2-49a1-b3f7-48acec826805",
- "links": [
- {
- "type": "string",
- "url": "string",
- "typeId": "string"
}
], - "context": {
- "vision": "string",
- "goals": "string",
- "target_audience": "string",
- "problem_statement": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "owner_member_id": "b0a041db-c5b2-49a1-b3f7-48acec826805",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "logo_url": "string",
- "visibility": "account",
- "links": [
- {
- "type": "string",
- "url": "string",
- "typeId": "string"
}
], - "context": {
- "vision": "string",
- "goals": "string",
- "target_audience": "string",
- "problem_statement": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "owner_member_id": "b0a041db-c5b2-49a1-b3f7-48acec826805",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "logo_url": "string",
- "visibility": "account",
- "links": [
- {
- "type": "string",
- "url": "string",
- "typeId": "string"
}
], - "context": {
- "vision": "string",
- "goals": "string",
- "target_audience": "string",
- "problem_statement": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| productId required | string <uuid> |
| name | string |
| description | string |
| logo_url | string |
| visibility | string Enum: "account" "members" |
| owner_member_id | string <uuid> |
Array of objects (ProductLink) | |
object (ProductContext) |
{- "name": "string",
- "description": "string",
- "logo_url": "string",
- "visibility": "account",
- "owner_member_id": "b0a041db-c5b2-49a1-b3f7-48acec826805",
- "links": [
- {
- "type": "string",
- "url": "string",
- "typeId": "string"
}
], - "context": {
- "vision": "string",
- "goals": "string",
- "target_audience": "string",
- "problem_statement": "string"
}
}| productId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| productId required | string <uuid> |
| title required | string |
| description | string |
{- "title": "string",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| productId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "initiative_id": "0a7d3437-c543-4aeb-80b3-0a1ef16d2ec1",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "roadmap_planned_start_date": "2019-08-24T14:15:22Z",
- "roadmap_planned_end_date": "2019-08-24T14:15:22Z",
- "roadmap_actual_start_date": "2019-08-24T14:15:22Z",
- "roadmap_actual_end_date": "2019-08-24T14:15:22Z",
- "roadmap_estimated_start_date": "2019-08-24T14:15:22Z",
- "roadmap_estimated_end_date": "2019-08-24T14:15:22Z",
- "audience": [
- "string"
], - "source": [
- "string"
], - "confidence": 0,
- "effort": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| productId required | string <uuid> |
| title required | string |
| description | string |
| feature_id | string <uuid> |
| initiative_id | string <uuid> |
| roadmap_planned_start_date | string <date-time> |
| roadmap_planned_end_date | string <date-time> |
| audience | Array of strings |
| confidence | integer |
| effort | integer |
{- "title": "string",
- "description": "string",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "initiative_id": "0a7d3437-c543-4aeb-80b3-0a1ef16d2ec1",
- "roadmap_planned_start_date": "2019-08-24T14:15:22Z",
- "roadmap_planned_end_date": "2019-08-24T14:15:22Z",
- "audience": [
- "string"
], - "confidence": 0,
- "effort": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "initiative_id": "0a7d3437-c543-4aeb-80b3-0a1ef16d2ec1",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "roadmap_planned_start_date": "2019-08-24T14:15:22Z",
- "roadmap_planned_end_date": "2019-08-24T14:15:22Z",
- "roadmap_actual_start_date": "2019-08-24T14:15:22Z",
- "roadmap_actual_end_date": "2019-08-24T14:15:22Z",
- "roadmap_estimated_start_date": "2019-08-24T14:15:22Z",
- "roadmap_estimated_end_date": "2019-08-24T14:15:22Z",
- "audience": [
- "string"
], - "source": [
- "string"
], - "confidence": 0,
- "effort": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| productId required | string <uuid> |
| roadmapItemId required | string <uuid> |
| title | string |
| description | string |
| feature_id | string or null <uuid> |
| initiative_id | string or null <uuid> |
| roadmap_planned_start_date | string <date-time> |
| roadmap_planned_end_date | string <date-time> |
| roadmap_actual_start_date | string <date-time> |
| roadmap_actual_end_date | string <date-time> |
| confidence | integer |
| effort | integer |
{- "title": "string",
- "description": "string",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "initiative_id": "0a7d3437-c543-4aeb-80b3-0a1ef16d2ec1",
- "roadmap_planned_start_date": "2019-08-24T14:15:22Z",
- "roadmap_planned_end_date": "2019-08-24T14:15:22Z",
- "roadmap_actual_start_date": "2019-08-24T14:15:22Z",
- "roadmap_actual_end_date": "2019-08-24T14:15:22Z",
- "confidence": 0,
- "effort": 0
}| project_id required | string <uuid> |
| category | string Enum: "phase" "release" "sprint" |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "category": "phase",
- "label": "string",
- "color": "string",
- "description": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "parent_project_cycle_id": "004a3774-9f56-4dc7-9d8e-a0fb64154480",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"
}
]| project_id required | string <uuid> |
| category required | string Enum: "phase" "release" "sprint" |
| label required | string |
| color | string or null |
| description | string or null |
| start_date required | string <date-time> |
| end_date required | string <date-time> |
| parent_project_cycle_id | string or null <uuid> |
{- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "category": "phase",
- "label": "string",
- "color": "string",
- "description": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "parent_project_cycle_id": "004a3774-9f56-4dc7-9d8e-a0fb64154480"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "category": "phase",
- "label": "string",
- "color": "string",
- "description": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "parent_project_cycle_id": "004a3774-9f56-4dc7-9d8e-a0fb64154480",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"
}| projectCycleId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "category": "phase",
- "label": "string",
- "color": "string",
- "description": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "parent_project_cycle_id": "004a3774-9f56-4dc7-9d8e-a0fb64154480",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"
}| projectCycleId required | string <uuid> |
| label | string |
| color | string or null |
| description | string or null |
| start_date | string <date-time> |
| end_date | string <date-time> |
| parent_project_cycle_id | string or null <uuid> |
{- "label": "string",
- "color": "string",
- "description": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "parent_project_cycle_id": "004a3774-9f56-4dc7-9d8e-a0fb64154480"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "target_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"
}
]| project_id required | string <uuid> |
| title required | string |
| target_date required | string <date-time> |
| description | string or null |
{- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "title": "string",
- "target_date": "2019-08-24T14:15:22Z",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "target_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "target_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"
}| milestoneId required | string <uuid> |
| title | string |
| target_date | string <date-time> |
| description | string or null |
{- "title": "string",
- "target_date": "2019-08-24T14:15:22Z",
- "description": "string"
}Each document's title/content/context/type/status/version reflect its current published version.
| project_id | string <uuid> |
| product_id | string <uuid> |
| type | string (DocumentType) Enum: "general" "feedback" "requirement" |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "visibility": "public",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",
- "version": 0,
- "status": "published",
- "title": "string",
- "content": "string",
- "context": { },
- "type": "general",
- "edited_by_member_id": "fb37617b-3b09-48e7-987d-9fad202db276",
- "published_at": "2019-08-24T14:15:22Z"
}
]Creates the document with version 1, published immediately.
| title required | string |
| content | string or null |
| type | string (DocumentType) Enum: "general" "feedback" "requirement" |
| project_id | string or null <uuid> |
| product_id | string or null <uuid> |
| context | object |
{- "title": "string",
- "content": "string",
- "type": "general",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "context": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "visibility": "public",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",
- "version": 0,
- "status": "published",
- "title": "string",
- "content": "string",
- "context": { },
- "type": "general",
- "edited_by_member_id": "fb37617b-3b09-48e7-987d-9fad202db276",
- "published_at": "2019-08-24T14:15:22Z"
}Returns the document's current published version.
| documentId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "visibility": "public",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",
- "version": 0,
- "status": "published",
- "title": "string",
- "content": "string",
- "context": { },
- "type": "general",
- "edited_by_member_id": "fb37617b-3b09-48e7-987d-9fad202db276",
- "published_at": "2019-08-24T14:15:22Z"
}Edits the current published version's fields in place. This does not create a new version or change the version number — for that, use POST /documents/{documentId}/versions. project_id/product_id are container fields on the document itself and update the same way either way.
| documentId required | string <uuid> |
| title | string |
| content | string |
| type | string (DocumentType) Enum: "general" "feedback" "requirement" |
| project_id | string or null <uuid> |
| product_id | string or null <uuid> |
| context | object |
{- "title": "string",
- "content": "string",
- "type": "general",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "context": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "visibility": "public",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",
- "version": 0,
- "status": "published",
- "title": "string",
- "content": "string",
- "context": { },
- "type": "general",
- "edited_by_member_id": "fb37617b-3b09-48e7-987d-9fad202db276",
- "published_at": "2019-08-24T14:15:22Z"
}Includes the current published version plus all archived (superseded) versions, newest version number first.
| documentId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
- "version": 0,
- "status": "published",
- "title": "string",
- "content": "string",
- "context": { },
- "type": "general",
- "edited_by_member_id": "fb37617b-3b09-48e7-987d-9fad202db276",
- "published_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Archives the current published version and creates the next one (version + 1), published immediately. All fields are optional and default to the current version's values if omitted, so calling this with an empty body is a pure snapshot/clone; passing any of them sets the new version's content in the same call instead of requiring a follow-up PATCH.
| documentId required | string <uuid> |
| title | string |
| content | string |
| type | string (DocumentType) Enum: "general" "feedback" "requirement" |
| context | object |
{- "title": "string",
- "content": "string",
- "type": "general",
- "context": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "visibility": "public",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",
- "version": 0,
- "status": "published",
- "title": "string",
- "content": "string",
- "context": { },
- "type": "general",
- "edited_by_member_id": "fb37617b-3b09-48e7-987d-9fad202db276",
- "published_at": "2019-08-24T14:15:22Z"
}| documentId required | string <uuid> |
| versionId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",
- "version": 0,
- "status": "published",
- "title": "string",
- "content": "string",
- "context": { },
- "type": "general",
- "edited_by_member_id": "fb37617b-3b09-48e7-987d-9fad202db276",
- "published_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "subject_type": "string",
- "subject_id": "80e197be-61ad-4068-b4ff-a483fb5c18f9",
- "subject_version": "string",
- "scope_type": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| subject_type required | string |
| subject_id required | string <uuid> |
| subject_version required | string |
| scope_type | string or null |
| scope_id | string or null <uuid> |
{- "subject_type": "string",
- "subject_id": "80e197be-61ad-4068-b4ff-a483fb5c18f9",
- "subject_version": "string",
- "scope_type": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",
- "subject_type": "string",
- "subject_id": "80e197be-61ad-4068-b4ff-a483fb5c18f9",
- "subject_version": "string",
- "scope_type": "string",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "status": "draft",
- "success_message": "string",
- "fields": [
- {
- "id": "string",
- "type": "string",
- "label": "string",
- "required": true,
- "config": {
- "options": [
- "string"
], - "placeholder": "string",
- "taskField": "string",
- "description": "string"
}
}
], - "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| title required | string |
| description | string |
| project_id | string or null <uuid> |
| product_id | string or null <uuid> |
| status | string Enum: "draft" "published" "closed" |
| success_message | string |
Array of objects (FormField) |
{- "title": "string",
- "description": "string",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "status": "draft",
- "success_message": "string",
- "fields": [
- {
- "id": "string",
- "type": "string",
- "label": "string",
- "required": true,
- "config": {
- "options": [
- "string"
], - "placeholder": "string",
- "taskField": "string",
- "description": "string"
}
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "status": "draft",
- "success_message": "string",
- "fields": [
- {
- "id": "string",
- "type": "string",
- "label": "string",
- "required": true,
- "config": {
- "options": [
- "string"
], - "placeholder": "string",
- "taskField": "string",
- "description": "string"
}
}
], - "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "status": "draft",
- "success_message": "string",
- "fields": [
- {
- "id": "string",
- "type": "string",
- "label": "string",
- "required": true,
- "config": {
- "options": [
- "string"
], - "placeholder": "string",
- "taskField": "string",
- "description": "string"
}
}
], - "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| form_id required | string <uuid> |
| title | string |
| description | string |
| status | string Enum: "draft" "published" "closed" |
| success_message | string |
Array of objects (FormField) |
{- "title": "string",
- "description": "string",
- "status": "draft",
- "success_message": "string",
- "fields": [
- {
- "id": "string",
- "type": "string",
- "label": "string",
- "required": true,
- "config": {
- "options": [
- "string"
], - "placeholder": "string",
- "taskField": "string",
- "description": "string"
}
}
]
}| resource_type | string When set, excludes fields whose resource_types is non-empty and doesn't include this value. |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "key": "string",
- "description": "string",
- "field_type": "text",
- "config": {
- "options": [
- {
- "id": "string",
- "label": "string",
- "color": "string"
}
]
}, - "resource_types": [
- "task"
], - "is_required": true,
- "is_active": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| name required | string |
| key required | string |
| description | string |
| field_type required | string (CustomFieldType) Enum: "text" "number" "date" "boolean" "select" "multi_select" "url" "email" "phone" "money" "member" "form" "workstream" "project" "customer" "customer.person" |
object (CustomFieldConfig) | |
| resource_types | Array of strings or null Enum: "task" "deal" "customer" Restricts which resource types this field can attach to (e.g. ["deal"]). Omit/null to apply to all resource types. |
| is_required | boolean |
{- "name": "string",
- "key": "string",
- "description": "string",
- "field_type": "text",
- "config": {
- "options": [
- {
- "id": "string",
- "label": "string",
- "color": "string"
}
]
}, - "resource_types": [
- "task"
], - "is_required": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "key": "string",
- "description": "string",
- "field_type": "text",
- "config": {
- "options": [
- {
- "id": "string",
- "label": "string",
- "color": "string"
}
]
}, - "resource_types": [
- "task"
], - "is_required": true,
- "is_active": true,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| customFieldId required | string <uuid> |
| name | string |
| description | string |
object (CustomFieldConfig) | |
| resource_types | Array of strings or null Enum: "task" "deal" "customer" |
| is_required | boolean |
| is_active | boolean |
{- "name": "string",
- "description": "string",
- "config": {
- "options": [
- {
- "id": "string",
- "label": "string",
- "color": "string"
}
]
}, - "resource_types": [
- "task"
], - "is_required": true,
- "is_active": true
}| workflowTemplateId required | string <uuid> |
| stage_ids | Array of strings <uuid> [ items <uuid > ] |
{- "stage_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| workflowTemplateId required | string <uuid> |
| name required | string |
| description | string |
| color | string |
{- "name": "string",
- "description": "string",
- "color": "string"
}| workflowTemplateId required | string <uuid> |
| workflowTemplateStageId required | string <uuid> |
| name | string |
| description | string |
| color | string |
{- "name": "string",
- "description": "string",
- "color": "string"
}Returns the built-in task fields plus the account's active custom fields, each with its data type and the condition operators valid for that data type. Use this to build the condition-builder UI.
| workflowTemplateId required | string <uuid> |
[- {
- "source": "custom_field",
- "field": "string",
- "label": "string",
- "data_type": "text",
- "options": [
- {
- "id": "string",
- "label": "string"
}
], - "allowed_operators": [
- "equals"
]
}
]| workflowTemplateId required | string <uuid> |
| workflowTemplateStageId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workflow_template_stage_id": "79ea45b2-4be3-4980-a12d-3fd314348625",
- "field_source": "custom_field",
- "custom_field_id": "a0fa4fc5-cabd-4219-9751-6d126c809065",
- "task_field": "string",
- "operator": "equals",
- "value": null,
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]A task can only move into this stage once all of its conditions are satisfied (see
POST /tasks/{taskId}/workflow_stages). The operator must be valid for the target
field's data type — fetch valid fields/operators from GET .../condition-fields first.
| workflowTemplateId required | string <uuid> |
| workflowTemplateStageId required | string <uuid> |
| field_source required | string (StageConditionFieldSource) Enum: "custom_field" "task_field" |
| custom_field_id | string <uuid> Required when field_source is custom_field. |
| task_field | string Required when field_source is task_field. One of the fields returned by GET /entity-workflow-templates/{workflowTemplateId}/condition-fields. |
| operator required | string (StageConditionOperator) Enum: "equals" "not_equals" "contains" "not_contains" "is_empty" "is_not_empty" "gt" "gte" "lt" "lte" "in" "not_in" |
| value | any |
{- "field_source": "custom_field",
- "custom_field_id": "a0fa4fc5-cabd-4219-9751-6d126c809065",
- "task_field": "string",
- "operator": "equals",
- "value": null
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workflow_template_stage_id": "79ea45b2-4be3-4980-a12d-3fd314348625",
- "field_source": "custom_field",
- "custom_field_id": "a0fa4fc5-cabd-4219-9751-6d126c809065",
- "task_field": "string",
- "operator": "equals",
- "value": null,
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| workflowTemplateId required | string <uuid> |
| workflowTemplateStageId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workflow_template_stage_id": "79ea45b2-4be3-4980-a12d-3fd314348625",
- "entity_user_participation_type_id": "23f2e07a-d7b4-45d9-8d71-31226db54e3f",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Once one or more approvers are configured for a stage, a task cannot move into that stage until
a member holding each required participation type on the task has approved via
POST /tasks/{taskId}/workflow_stages/{stageId}/approvals (or the mover has the
task.stage.bypass_approval permission).
| workflowTemplateId required | string <uuid> |
| workflowTemplateStageId required | string <uuid> |
| entity_user_participation_type_id required | string <uuid> |
{- "entity_user_participation_type_id": "23f2e07a-d7b4-45d9-8d71-31226db54e3f"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "workflow_template_stage_id": "79ea45b2-4be3-4980-a12d-3fd314348625",
- "entity_user_participation_type_id": "23f2e07a-d7b4-45d9-8d71-31226db54e3f",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "type": "workstream",
- "owner_account_id": "69db1bf4-16fa-476c-b388-f19190587e90",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| filter | string e.g. filter=%22name%22%20iLike%20%22%25acme%25%22 |
| sort_by | string Enum: "name" "created_at" |
| sort_order | string Enum: "asc" "desc" |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider_account_id": "1c1210f9-f4df-4924-9b8f-9c709c2c2c6b",
- "customer_account_id": "94d11de5-c19a-403b-bfd6-219437a0391d",
- "created_by_provider_member_id": "f33fd9fc-6af4-4e09-9807-f554ae0374bf",
- "created_by_customer_member_id": "bfd98977-7275-4b86-aaae-9de63cd3be9b",
- "persons": [
- {
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
]
}
], - "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| name required | string |
Array of objects (CustomerPerson) | |
| preferences | object |
| customer_account_id | string <uuid> |
{- "name": "string",
- "persons": [
- {
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
]
}
], - "preferences": { },
- "customer_account_id": "94d11de5-c19a-403b-bfd6-219437a0391d"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider_account_id": "1c1210f9-f4df-4924-9b8f-9c709c2c2c6b",
- "customer_account_id": "94d11de5-c19a-403b-bfd6-219437a0391d",
- "created_by_provider_member_id": "f33fd9fc-6af4-4e09-9807-f554ae0374bf",
- "created_by_customer_member_id": "bfd98977-7275-4b86-aaae-9de63cd3be9b",
- "persons": [
- {
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
]
}
], - "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Includes the customer's contacts.
| customerId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider_account_id": "1c1210f9-f4df-4924-9b8f-9c709c2c2c6b",
- "customer_account_id": "94d11de5-c19a-403b-bfd6-219437a0391d",
- "created_by_provider_member_id": "f33fd9fc-6af4-4e09-9807-f554ae0374bf",
- "created_by_customer_member_id": "bfd98977-7275-4b86-aaae-9de63cd3be9b",
- "persons": [
- {
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
]
}
], - "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| customerId required | string <uuid> |
| name | string |
| preferences | object |
{- "name": "string",
- "preferences": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider_account_id": "1c1210f9-f4df-4924-9b8f-9c709c2c2c6b",
- "customer_account_id": "94d11de5-c19a-403b-bfd6-219437a0391d",
- "created_by_provider_member_id": "f33fd9fc-6af4-4e09-9807-f554ae0374bf",
- "created_by_customer_member_id": "bfd98977-7275-4b86-aaae-9de63cd3be9b",
- "persons": [
- {
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
]
}
], - "preferences": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| customerId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
], - "is_primary": true,
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| customerId required | string <uuid> |
| first_name required | string |
| last_name required | string |
| role | string or null |
Array of objects (ContactMethod) | |
| is_primary | boolean |
{- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
], - "is_primary": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
], - "is_primary": true,
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| customerId required | string <uuid> |
| contactId required | string <uuid> |
| first_name | string |
| last_name | string |
| role | string or null |
Array of objects (ContactMethod) | |
| is_primary | boolean |
{- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
], - "is_primary": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "contact_methods": [
- {
- "type": "email",
- "label": "string",
- "value": "string"
}
], - "is_primary": true,
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| customerId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "type": "call",
- "subject": "string",
- "content": "string",
- "occurred_at": "2019-08-24T14:15:22Z",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| customerId required | string <uuid> |
| contact_id | string <uuid> |
| type required | string (CustomerInteractionType) Enum: "call" "email" "meeting" "note" |
| subject | string or null |
| content | string or null |
| occurred_at | string <date-time> |
{- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "type": "call",
- "subject": "string",
- "content": "string",
- "occurred_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "type": "call",
- "subject": "string",
- "content": "string",
- "occurred_at": "2019-08-24T14:15:22Z",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| customerId required | string <uuid> |
| interactionId required | string <uuid> |
| type | string (CustomerInteractionType) Enum: "call" "email" "meeting" "note" |
| subject | string or null |
| content | string or null |
| occurred_at | string <date-time> |
{- "type": "call",
- "subject": "string",
- "content": "string",
- "occurred_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "type": "call",
- "subject": "string",
- "content": "string",
- "occurred_at": "2019-08-24T14:15:22Z",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Lists tasks in the account's "Sales Pipeline" entity, joined with their deal_detail, customer, and contact. Returns an empty list if no deal has been created yet (the pipeline is provisioned lazily on first deal creation).
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deal_detail": {
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "probability": 100,
- "expected_close_at": "2019-08-24",
- "actual_close_at": "2019-08-24",
- "status": "open",
- "lost_reason": "string",
- "source": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]Creates a Task in the account's "Sales Pipeline" entity (lazily provisioning the entity/workflow on first use — no Project involved; deal permissions are account-scoped) plus its deal_detail row.
| title required | string |
| description | string |
| customer_id | string <uuid> |
| contact_id | string <uuid> |
object (Money) | |
| probability | integer [ 0 .. 100 ] |
| expected_close_at | string <date> |
| source | string |
| priority | string (TaskPriority) Enum: "high" "medium" "low" |
| due_at | string <date-time> |
| assigned_to_member_id | string <uuid> |
{- "title": "string",
- "description": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "probability": 100,
- "expected_close_at": "2019-08-24",
- "source": "string",
- "priority": "high",
- "due_at": "2019-08-24T14:15:22Z",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deal_detail": {
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "probability": 100,
- "expected_close_at": "2019-08-24",
- "actual_close_at": "2019-08-24",
- "status": "open",
- "lost_reason": "string",
- "source": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deal_detail": {
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "probability": 100,
- "expected_close_at": "2019-08-24",
- "actual_close_at": "2019-08-24",
- "status": "open",
- "lost_reason": "string",
- "source": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| dealId required | string <uuid> |
| title | string |
| description | string |
| customer_id | string or null <uuid> |
| contact_id | string or null <uuid> |
object (Money) | |
| probability | integer [ 0 .. 100 ] |
| expected_close_at | string or null <date> |
| lost_reason | string or null |
| source | string or null |
| priority | string (TaskPriority) Enum: "high" "medium" "low" |
| due_at | string <date-time> |
| assigned_to_member_id | string <uuid> |
{- "title": "string",
- "description": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "probability": 100,
- "expected_close_at": "2019-08-24",
- "lost_reason": "string",
- "source": "string",
- "priority": "high",
- "due_at": "2019-08-24T14:15:22Z",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deal_detail": {
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "probability": 100,
- "expected_close_at": "2019-08-24",
- "actual_close_at": "2019-08-24",
- "status": "open",
- "lost_reason": "string",
- "source": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Thin wrapper over the task workflow-stage endpoint (same approval/condition rules apply, see
/tasks/{taskId}/workflow_stages). If the target stage's stage_type is done, deal_detail.status
becomes won; if cancelled, it becomes lost — both set actual_close_at to today.
| dealId required | string <uuid> |
| workflow_template_stage_id required | string <uuid> |
| planned_start_at | string <date-time> |
| planned_end_at | string <date-time> |
| actual_start_at | string <date-time> |
| bypass_approvals | boolean Requires the deal.stage.bypass_approval permission. |
{- "workflow_template_stage_id": "79ea45b2-4be3-4980-a12d-3fd314348625",
- "planned_start_at": "2019-08-24T14:15:22Z",
- "planned_end_at": "2019-08-24T14:15:22Z",
- "actual_start_at": "2019-08-24T14:15:22Z",
- "bypass_approvals": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "type": "bundle",
- "priority": "high",
- "number": 0,
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
- "assigned_to_member_id": "f762546b-4e22-4cbc-845d-0a241ae61391",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "project_cycle_id": "a7f1ef39-8229-4259-be51-bc431d04a93e",
- "milestone_id": "09ca5787-2524-40b3-af3c-ff5db9ab83d2",
- "roadmap_item_id": "6c886391-cd90-4135-a4b4-24f0dbf94111",
- "feature_id": "ba6c7b2c-38fc-4a78-a187-51c7bbbd5c50",
- "due_at": "2019-08-24T14:15:22Z",
- "resolved_at": "2019-08-24T14:15:22Z",
- "requirement_documents": [
- {
- "type": "internal",
- "id": "string",
- "url": "string",
- "metadata": { }
}
], - "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "source_type": "string",
- "source_metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deal_detail": {
- "task_id": "736fde4d-9029-4915-8189-01353d6982cb",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "probability": 100,
- "expected_close_at": "2019-08-24",
- "actual_close_at": "2019-08-24",
- "status": "open",
- "lost_reason": "string",
- "source": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| dealId required | string <uuid> |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "type": "call",
- "subject": "string",
- "content": "string",
- "occurred_at": "2019-08-24T14:15:22Z",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]The interaction is attributed to the deal's linked customer (deal_detail.customer_id); fails 400 if the deal has no linked customer.
| dealId required | string <uuid> |
| contact_id | string <uuid> |
| type required | string (CustomerInteractionType) Enum: "call" "email" "meeting" "note" |
| subject | string or null |
| content | string or null |
| occurred_at | string <date-time> |
{- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "type": "call",
- "subject": "string",
- "content": "string",
- "occurred_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "type": "call",
- "subject": "string",
- "content": "string",
- "occurred_at": "2019-08-24T14:15:22Z",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Invoices are a standalone resource (not backed by Task/Entity, unlike Deals). Each entry includes computed balance_due, is_overdue, and display_number fields alongside stored data.
| customer_id | string <uuid> |
| deal_task_id | string <uuid> |
| status | string (InvoiceStatus) Enum: "draft" "sent" "partially_paid" "paid" "void" |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "number_prefix": "string",
- "number": 0,
- "display_number": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "balance_due": {
- "amount_cents": 0,
- "currency": "string"
}, - "is_overdue": true,
- "status": "draft",
- "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string",
- "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
- "amount_cents": 0,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Creates a draft invoice for a customer. line_items must be non-empty and all share the same currency; amount is server-computed from line_items (never accepted as direct input). The invoice number and number_prefix are assigned by a DB trigger from the account's current invoice numbering settings (see /invoices/settings/numbering) and are snapshotted at creation time — later prefix/counter changes never retroactively affect already-created invoices.
| customer_id required | string <uuid> |
| contact_id | string <uuid> |
| deal_task_id | string <uuid> |
required | Array of objects (InvoiceLineItem) non-empty |
| issue_date | string <date> |
| due_date | string <date> |
| notes | string or null |
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "number_prefix": "string",
- "number": 0,
- "display_number": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "balance_due": {
- "amount_cents": 0,
- "currency": "string"
}, - "is_overdue": true,
- "status": "draft",
- "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string",
- "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
- "amount_cents": 0,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}A manual settings action (e.g. run once at the start of a new fiscal year to switch the prefix and restart numbering from 1). Purely a config write — never alters number_prefix/number on already-created invoices. If a reset produces a (prefix, number) combination that collides with an existing invoice, the next invoice created under that combination fails with a database uniqueness error.
| prefix | string non-empty |
| reset_counter_to | integer >= 0 |
{- "prefix": "string",
- "reset_counter_to": 0
}{- "prefix": "string",
- "counter": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "number_prefix": "string",
- "number": 0,
- "display_number": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "balance_due": {
- "amount_cents": 0,
- "currency": "string"
}, - "is_overdue": true,
- "status": "draft",
- "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string",
- "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
- "amount_cents": 0,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Only allowed while status is draft. Once an invoice has been sent, line_items/amount/customer_id/ contact_id/deal_task_id/issue_date are locked — correct mistakes by voiding and creating a new invoice instead. due_date remains editable at any stage via this endpoint regardless of status (not locked). status itself is never settable here; it only changes via /send, /void, and /payments.
| invoiceId required | string <uuid> |
| customer_id | string <uuid> |
| contact_id | string or null <uuid> |
| deal_task_id | string or null <uuid> |
Array of objects (InvoiceLineItem) non-empty | |
| issue_date | string or null <date> |
| due_date | string or null <date> |
| notes | string or null |
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "number_prefix": "string",
- "number": 0,
- "display_number": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "balance_due": {
- "amount_cents": 0,
- "currency": "string"
}, - "is_overdue": true,
- "status": "draft",
- "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string",
- "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
- "amount_cents": 0,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}draft -> sent only. Sets issue_date to today if not already set. Locks line_items/amount/customer_id/contact_id/deal_task_id for further edits.
| invoiceId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "number_prefix": "string",
- "number": 0,
- "display_number": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "balance_due": {
- "amount_cents": 0,
- "currency": "string"
}, - "is_overdue": true,
- "status": "draft",
- "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string",
- "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
- "amount_cents": 0,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Allowed from draft, sent, or partially_paid. Cannot void a paid or already-void invoice.
| invoiceId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "number_prefix": "string",
- "number": 0,
- "display_number": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "balance_due": {
- "amount_cents": 0,
- "currency": "string"
}, - "is_overdue": true,
- "status": "draft",
- "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string",
- "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
- "amount_cents": 0,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Only allowed once the invoice is sent or partially_paid (not draft, void, or already fully paid). Payment currency must match the invoice's currency. Rejects amount_cents greater than the remaining balance (amount minus sum of prior payments). Status is recomputed automatically: partially_paid once any payment exists short of the full amount, paid once payments cover the full amount.
| invoiceId required | string <uuid> |
| amount_cents required | integer >= 1 |
| currency required | string |
| paid_at | string <date> |
| method | string or null |
| note | string or null |
{- "amount_cents": 1,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "number_prefix": "string",
- "number": 0,
- "display_number": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "balance_due": {
- "amount_cents": 0,
- "currency": "string"
}, - "is_overdue": true,
- "status": "draft",
- "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string",
- "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
- "amount_cents": 0,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Corrects a mistaken payment entry. Invoice status is recomputed downward afterward (e.g. paid -> partially_paid or partially_paid -> sent).
| invoiceId required | string <uuid> |
| paymentId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
- "number_prefix": "string",
- "number": 0,
- "display_number": "string",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",
- "deal_task_id": "108d0e2d-f38c-482d-9609-5d73bdaccb57",
- "line_items": [
- {
- "description": "string",
- "quantity": 0,
- "unit_amount_cents": 0,
- "currency": "string"
}
], - "amount": {
- "amount_cents": 0,
- "currency": "string"
}, - "balance_due": {
- "amount_cents": 0,
- "currency": "string"
}, - "is_overdue": true,
- "status": "draft",
- "issue_date": "2019-08-24",
- "due_date": "2019-08-24",
- "notes": "string",
- "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_id": "f4c4edb8-11e0-4b33-bcc1-482dc59ebb32",
- "amount_cents": 0,
- "currency": "string",
- "paid_at": "2019-08-24",
- "method": "string",
- "note": "string",
- "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "created_by_member_id": "c742fe81-82da-4d1c-bc66-d3a4986fbc98",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}