Reference API
Všechny veřejné endpointy, vygenerované z kódu. U každého je oprávnění, které token potřebuje. Adresy jsou relativní k https://notcha.cz/api/v1.
385 endpointů
Můj účet
GET/meThe signed-in user
curl -X GET https://notcha.cz/api/v1/me -H "Authorization: Bearer $NOTCHA_TOKEN"
GET/me/capacityCapacity (calendar)
curl -X GET https://notcha.cz/api/v1/me/capacity -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| hours_per_day* | number[] | |
| holiday_country* | string | |
| countries* | array |
PUT/me/capacityUpdate capacity (calendar)
curl -X PUT https://notcha.cz/api/v1/me/capacity -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| hours_per_day | number[] | |
| holiday_country | CZ | DE |
Odpověď (data)
| hours_per_day* | number[] | |
| holiday_country* | string | |
| countries* | array |
GET/me/favoritesFavorites (search)
curl -X GET https://notcha.cz/api/v1/me/favorites -H "Authorization: Bearer $NOTCHA_TOKEN"
POST/me/favoritesAdd favorite (search)
curl -X POST https://notcha.cz/api/v1/me/favorites -H "Authorization: Bearer $NOTCHA_TOKEN"
PATCH/me/favorites/orderReorder favorites (search)
curl -X PATCH https://notcha.cz/api/v1/me/favorites/order -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| ids* | integer[] |
DELETE/me/favorites/{type}/{id}Remove favorite (search)
curl -X DELETE https://notcha.cz/api/v1/me/favorites/{type}/{id} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| type* | string · path | |
| id* | integer · path |
GET/me/mutesMutes (notification settings)
curl -X GET https://notcha.cz/api/v1/me/mutes -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| type* | string | |
| target_id* | integer | |
| label* | string | null | |
| until* | string | null (date-time) |
POST/me/mutesMute a ticket or project – forever or until a date
curl -X POST https://notcha.cz/api/v1/me/mutes -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| type* | ticket | project | |
| id* | integer | |
| until | string | null (date-time) |
Odpověď (data)
| id* | integer | |
| type* | string | |
| target_id* | integer | |
| label* | string | null | |
| until* | string | null (date-time) |
DELETE/me/mutes/{mute}Unmute (notification settings)
curl -X DELETE https://notcha.cz/api/v1/me/mutes/{mute} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| mute* | integer · path | The mute ID |
GET/me/my-workMy work (stats)
curl -X GET https://notcha.cz/api/v1/me/my-work -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| today* | string | |
| week_start* | string | |
| tenants* | string[] |
GET/me/recentRecent (search)
curl -X GET https://notcha.cz/api/v1/me/recent -H "Authorization: Bearer $NOTCHA_TOKEN"
POST/me/recentTouch recent (search)
curl -X POST https://notcha.cz/api/v1/me/recent -H "Authorization: Bearer $NOTCHA_TOKEN"
GET/me/unreadUnread by tenant (notifications)
curl -X GET https://notcha.cz/api/v1/me/unread -H "Authorization: Bearer $NOTCHA_TOKEN"
GET/ping
curl -X GET https://notcha.cz/api/v1/ping -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| status* | string | |
| min_supported_version* | string |
GET/tenantsTenants of the signed-in user. Deactivated memberships are hidden
curl -X GET https://notcha.cz/api/v1/tenants -H "Authorization: Bearer $NOTCHA_TOKEN"
Projekty projects:read · projects:write
GET/client-portalClient portal (tickets)projects:read
curl -X GET https://notcha.cz/api/v1/client-portal -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| projects* | object[] |
GET/projectsProjects of the current tenant the user may see. Hidden projects only with ?include_hidden=1projects:read
curl -X GET https://notcha.cz/api/v1/projects -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| include_hidden | boolean |
POST/projectsCreate a projectprojects:write
curl -X POST https://notcha.cz/api/v1/projects -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| name* | string | |
| key* | string | format and uniqueness are checked by ProjectService (incl. reserved old keys) |
| color | string | |
| icon | string | null | |
| description_html | string | null |
GET/projects-trashList project trashesprojects:read
curl -X GET https://notcha.cz/api/v1/projects-trash -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| key* | string | |
| name* | string | |
| color* | string | |
| deleted_at* | string | null (date-time) | |
| invoiced_entries* | string | the purge dialog warns about documents behind issued invoices |
| can_purge* | boolean |
DELETE/projects-trash/{trashed}{confirm: KEY} – permanentprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects-trash/{trashed} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| trashed* | integer · path | |
| confirm* | string |
POST/projects-trash/{trashed}/restoreRestore (project trash)projects:write
curl -X POST https://notcha.cz/api/v1/projects-trash/{trashed}/restore -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| trashed* | integer · path |
Odpověď (data)
| id* | integer | |
| key* | string |
DELETE/projects/{project}Soft delete, confirmed by typing the project key. Restorable from the trashprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
GET/projects/{project}Get a projectprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
PATCH/projects/{project}Update a projectprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| name | string | |
| key | string | |
| color | string | |
| icon | string | null | |
| description_html | string | null | |
| auto_archive_days | integer | null | |
| estimate_approval_minutes | integer | null | the client approves estimates from this size on |
| default_billable | boolean | |
| client_can_create_tickets | boolean | |
| budget_hours | number | null | |
| hourly_rate | number | null | |
| storage_quota_mb | integer | null | |
| intake_column_id | integer | |
| default_done_column_id | integer | |
| pm_user_id | integer | |
| default_assignee_id | integer | null | default assignee of new tickets – a team member of the project |
| client_id | integer | null | default team of new tickets and who hears about its queue in this project (NOT-3); null = the team decides the client company behind the project: tenant admins only, checked in the controller |
| default_team_id | integer | null | |
| team_notify | all | lead | none | null | |
| story_points_enabled | boolean | story points: on/off and the scale (default Fibonacci) |
| sla_policy_id | integer | null | the SLA policy of the project |
| story_points_scale | integer[] | null | |
| client_stats_enabled | boolean | client statistics are optional per project, budget basis |
| budget_basis | billable | all | |
| expense_budget | number | null | the expense budget in the tenant's currency; money – only who sees the financials |
| hidden | boolean | hidden from the navigation |
| branch_name_template | string | null | Git branch name: placeholders {prefix} {key} {number} {slug}, the slug is required |
GET/projects/{project}/activityActivity of the whole project: changes of all its tickets, newest first, with the ticket –
the team only, like the history of one ticketprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/activity -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
DELETE/projects/{project}/archiveBack from the archive – writable and in the navigation againprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/archive -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/archiveInto the read-only archive; hidden from the navigation as wellprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/archive -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
GET/projects/{project}/blocksWho blocks whom inside the project – the arrows of the timeline. Only pairs where both tickets are
in this project and not deleted; [blocker, blocked]projects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/blocks -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| blocker_id* | integer | |
| blocked_id* | integer |
GET/projects/{project}/boardEverything the board needs in one request:
columns, open and done tickets that are not archived, labels and typesprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/board -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| archived | boolean | ?archived=1: the archive instead of the live board |
Odpověď (data)
| columns* | array[] | stage: the client's simple view |
| tickets* | array[] | |
| labels* | string | |
| types* | string | |
| custom_fields* | string |
GET/projects/{project}/client-rankingGet a client rankingprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/client-ranking -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| tickets* | object[] | |
| updated* | object | null | |
| can_edit* | boolean |
PUT/projects/{project}/client-ranking{numbers: [12, 7, 31]} – the full order, most important firstprojects:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/client-ranking -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| numbers* | integer[] |
Odpověď (data)
| tickets* | object[] | |
| updated* | object | null | |
| can_edit* | boolean |
GET/projects/{project}/columnsList board columnsprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/columns -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/columnsCreate a board columnprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/columns -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| name* | string | |
| color | string | |
| is_done | boolean | |
| collapsed_by_default | boolean | |
| wip_limit | integer | null |
PUT/projects/{project}/columns/orderReorder (board column)projects:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/columns/order -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| ids* | integer[] |
DELETE/projects/{project}/columns/{column}Delete a board columnprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/columns/{column} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| column* | integer · path | The column ID |
| target_column_id | integer | null |
PATCH/projects/{project}/columns/{column}Update a board columnprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/columns/{column} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| column* | integer · path | The column ID |
Tělo požadavku
| name | string | |
| color | string | |
| is_done | boolean | |
| collapsed_by_default | boolean | |
| wip_limit | integer | null | |
| client_stage | received | working | review | done | null | |
| pauses_sla | boolean | a column where the ticket waits (for the client): the SLA clock stands |
| rules | object | null | workflow rules |
GET/projects/{project}/expensesList project expensesprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/expenses -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| spent_on* | string | |
| description* | string | |
| supplier* | string | null | |
| category* | string | |
| amount* | number | |
| rebill* | boolean | |
| created_by* | object | null | |
| created_at* | string | null (date-time) |
POST/projects/{project}/expensesCreate a project expenseprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/expenses -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| spent_on* | string | |
| description* | string | |
| supplier* | string | null | |
| category* | string | |
| amount* | number | |
| rebill* | boolean | |
| created_by* | object | null | |
| created_at* | string | null (date-time) |
DELETE/projects/{project}/expenses/{expense}Delete a project expenseprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/expenses/{expense} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| expense* | integer · path |
PATCH/projects/{project}/expenses/{expense}Update a project expenseprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/expenses/{expense} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| expense* | integer · path |
Odpověď (data)
| id* | integer | |
| spent_on* | string | |
| description* | string | |
| supplier* | string | null | |
| category* | string | |
| amount* | number | |
| rebill* | boolean | |
| created_by* | object | null | |
| created_at* | string | null (date-time) |
GET/projects/{project}/labelsList labelsprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/labels -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/labelsCreate a labelprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/labels -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| name* | string | |
| color | string |
DELETE/projects/{project}/labels/{label}Delete a labelprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/labels/{label} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| label* | integer · path | The label ID |
PATCH/projects/{project}/labels/{label}Update a labelprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/labels/{label} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| label* | integer · path | The label ID |
Tělo požadavku
| name | string | |
| color | string |
Odpověď (data)
| id* | integer | |
| name* | string | |
| color* | string |
POST/projects/{project}/linksStore link (project overview)projects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/links -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| type* | string | |
| label* | string | |
| url* | string | |
| position* | integer |
DELETE/projects/{project}/links/{link}Destroy link (project overview)projects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/links/{link} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| link* | integer · path |
PATCH/projects/{project}/links/{link}Update link (project overview)projects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/links/{link} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| link* | integer · path |
Odpověď (data)
| id* | integer | |
| type* | string | |
| label* | string | |
| url* | string | |
| position* | integer |
GET/projects/{project}/milestonesList milestonesprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/milestones -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/milestonesCreate a milestoneprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/milestones -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
DELETE/projects/{project}/milestones/{milestone}Delete a milestoneprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/milestones/{milestone} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| milestone* | integer · path | The milestone ID |
GET/projects/{project}/milestones/{milestone}The detail of a milestone: its tickets with column and stage (archived ones too – they
count in the progress), dates for the burndown, and for the team the estimates and the time worked. An
entry meas...projects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/milestones/{milestone} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| milestone* | integer · path | The milestone ID |
Odpověď (data)
| spent_minutes* | integer | |
| tickets* | object[] |
PATCH/projects/{project}/milestones/{milestone}Update a milestoneprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/milestones/{milestone} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| milestone* | integer · path | The milestone ID |
GET/projects/{project}/monitorsList site monitorsprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/monitors -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| name* | string | |
| url* | string | |
| enabled* | boolean | |
| assignee* | object | null | |
| status* | string | |
| last_checked_at* | string | null (date-time) | |
| last_status_code* | integer | null | |
| last_response_ms* | integer | null | |
| last_error* | string | null | |
| down_since* | string | null (date-time) | |
| uptime_30d* | number | null | |
| ssl_expires_at* | string | null (date-time) | |
| domain* | string | |
| domain_expires_at* | string | null | |
| incident_ticket* | object | null |
POST/projects/{project}/monitors{name, url, enabled?}projects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/monitors -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| name* | string | |
| url* | string | |
| enabled* | boolean | |
| assignee* | object | null | |
| status* | string | |
| last_checked_at* | string | null (date-time) | |
| last_status_code* | integer | null | |
| last_response_ms* | integer | null | |
| last_error* | string | null | |
| down_since* | string | null (date-time) | |
| uptime_30d* | number | null | |
| ssl_expires_at* | string | null (date-time) | |
| domain* | string | |
| domain_expires_at* | string | null | |
| incident_ticket* | object | null |
DELETE/projects/{project}/monitors/{monitor}Delete a site monitorprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/monitors/{monitor} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| monitor* | integer · path | The monitor ID |
PATCH/projects/{project}/monitors/{monitor}Update a site monitorprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/monitors/{monitor} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| monitor* | integer · path | The monitor ID |
Odpověď (data)
| id* | integer | |
| name* | string | |
| url* | string | |
| enabled* | boolean | |
| assignee* | object | null | |
| status* | string | |
| last_checked_at* | string | null (date-time) | |
| last_status_code* | integer | null | |
| last_response_ms* | integer | null | |
| last_error* | string | null | |
| down_since* | string | null (date-time) | |
| uptime_30d* | number | null | |
| ssl_expires_at* | string | null (date-time) | |
| domain* | string | |
| domain_expires_at* | string | null | |
| incident_ticket* | object | null |
POST/projects/{project}/monitors/{monitor}/check– now, not in three minutesprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/monitors/{monitor}/check -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| monitor* | integer · path | The monitor ID |
Odpověď (data)
| id* | integer | |
| name* | string | |
| url* | string | |
| enabled* | boolean | |
| assignee* | object | null | |
| status* | string | |
| last_checked_at* | string | null (date-time) | |
| last_status_code* | integer | null | |
| last_response_ms* | integer | null | |
| last_error* | string | null | |
| down_since* | string | null (date-time) | |
| uptime_30d* | number | null | |
| ssl_expires_at* | string | null (date-time) | |
| domain* | string | |
| domain_expires_at* | string | null | |
| incident_ticket* | object | null |
GET/projects/{project}/monitors/{monitor}/stats– the charts of one websiteprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/monitors/{monitor}/stats -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| monitor* | integer · path | The monitor ID |
| range | 24h | 7d | 30d | 90d | 365d |
Odpověď (data)
| range* | mixed | |
| step_hours* | mixed | |
| points* | array | |
| incidents* | string[] |
GET/projects/{project}/overviewGet a project overviewprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/overview -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| links* | array | |
| contacts* | array | null | personal data of the client's people: never for the client role |
| can_edit* | boolean |
GET/projects/{project}/recurrencesList ticket recurrencesprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/recurrences -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/recurrencesCreate a ticket recurrenceprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/recurrences -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| frequency* | string | |
| interval* | integer | |
| weekdays* | integer[] | |
| month_day* | integer | null | |
| month* | integer | null | |
| time* | string | |
| timezone* | string | |
| starts_on* | string | |
| ends_on* | string | null | |
| due_in_days* | integer | null | |
| due_until* | string | null | |
| shift* | string | |
| skip_if_open* | boolean | |
| ends_after* | integer | null | |
| tickets_skipped* | integer | |
| template* | object | |
| next_run_at* | string | null (date-time) | |
| last_run_at* | string | null (date-time) | |
| tickets_created* | integer | |
| paused* | boolean | |
| pause_reason* | string | null | |
| creator* | object | |
| abilities* | object |
POST/projects/{project}/recurrences/previewWhat a rule would do before it is saved: the next runs and the first titleprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/recurrences/preview -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| id | integer |
Odpověď (data)
| runs* | array | |
| title* | string | null |
DELETE/projects/{project}/recurrences/{recurrence}Delete a ticket recurrenceprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/recurrences/{recurrence} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| recurrence* | integer · path | The recurrence ID |
PATCH/projects/{project}/recurrences/{recurrence}Update a ticket recurrenceprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/recurrences/{recurrence} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| recurrence* | integer · path | The recurrence ID |
Odpověď (data)
| id* | integer | |
| frequency* | string | |
| interval* | integer | |
| weekdays* | integer[] | |
| month_day* | integer | null | |
| month* | integer | null | |
| time* | string | |
| timezone* | string | |
| starts_on* | string | |
| ends_on* | string | null | |
| due_in_days* | integer | null | |
| due_until* | string | null | |
| shift* | string | |
| skip_if_open* | boolean | |
| ends_after* | integer | null | |
| tickets_skipped* | integer | |
| template* | object | |
| next_run_at* | string | null (date-time) | |
| last_run_at* | string | null (date-time) | |
| tickets_created* | integer | |
| paused* | boolean | |
| pause_reason* | string | null | |
| creator* | object | |
| abilities* | object |
GET/projects/{project}/renewalsList project renewalsprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/renewals -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| kind* | string | |
| name* | string | |
| provider* | string | null | |
| renews_on* | string | |
| period* | string | |
| remind_days* | integer | |
| assignee* | object | null | |
| note* | string | null | |
| reminded* | boolean | |
| last_ticket* | object | null |
POST/projects/{project}/renewalsCreate a project renewalprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/renewals -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| kind* | string | |
| name* | string | |
| provider* | string | null | |
| renews_on* | string | |
| period* | string | |
| remind_days* | integer | |
| assignee* | object | null | |
| note* | string | null | |
| reminded* | boolean | |
| last_ticket* | object | null |
DELETE/projects/{project}/renewals/{renewal}– project adminsprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/renewals/{renewal} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| renewal* | integer · path | The renewal ID |
PATCH/projects/{project}/renewals/{renewal}Update a project renewalprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/renewals/{renewal} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| renewal* | integer · path | The renewal ID |
Odpověď (data)
| id* | integer | |
| kind* | string | |
| name* | string | |
| provider* | string | null | |
| renews_on* | string | |
| period* | string | |
| remind_days* | integer | |
| assignee* | object | null | |
| note* | string | null | |
| reminded* | boolean | |
| last_ticket* | object | null |
DELETE/projects/{project}/retainerDelete a retainerprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/retainer -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
GET/projects/{project}/retainerGet a retainerprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/retainer -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
PUT/projects/{project}/retainerUpdate a retainerprojects:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/retainer -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| hours_per_month* | number | |
| starts_on* | string | |
| ends_on | string | null | |
| rollover | none | unused | |
| rollover_cap_hours | number | null | |
| basis | billable | all | |
| client_visible | boolean | |
| monthly_fee | number | null | |
| overage_rate | number | null |
GET/projects/{project}/toolsProject tools (projects)projects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tools -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| monitors* | object | |
| renewals* | object | |
| recurrences* | object | |
| automations* | object | |
| forms* | object | |
| expenses* | object | |
| urgent* | boolean |
GET/projects/{project}/trashDeleted tickets of a project for its admins. Subtasks deleted with a parent are folded into itprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/trash -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| number* | integer | |
| ref* | string | |
| title* | string | |
| deleted_at* | string | null (date-time) | |
| subtasks* | integer | |
| abilities* | object |
GET/projects/{project}/trash/commentsList comment trashesprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/trash/comments -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| ticket* | object | |
| author* | string | null | |
| excerpt* | string | |
| deleted_at* | string | null (date-time) |
POST/projects/{project}/trash/comments/{comment}/restoreRestore (comment trash)projects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/trash/comments/{comment}/restore -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| comment* | integer · path |
Odpověď (data)
| id* | integer | |
| ticket_number* | integer |
GET/projects/{project}/trash/filesList file trashesprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/trash/files -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| name* | string | |
| kind* | string | |
| extension* | string | |
| size* | integer | |
| ticket* | object | null | |
| uploaded_by* | string | null | |
| deleted_at* | string | null (date-time) |
POST/projects/{project}/trash/files/{file}/restoreRestore (file trash)projects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/trash/files/{file}/restore -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| file* | integer · path |
Odpověď (data)
| id* | integer |
DELETE/projects/{project}/trash/{trashed}"Trvale smazat (z koše)": superadmin and tenant owner/admin, not project adminsprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/trash/{trashed} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| trashed* | integer · path |
POST/projects/{project}/trash/{trashed}/restoreRestore (ticket structure)projects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/trash/{trashed}/restore -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| trashed* | integer · path |
Odpověď (data)
| id* | integer | |
| number* | integer | |
| ref* | string |
GET/projects/{project}/wikiList wikisprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/wiki -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| q | string | null |
Odpověď (data)
| id* | integer | |
| parent_id* | integer | null | |
| title* | string | |
| position* | integer | |
| visible_to_client* | boolean | |
| updated_at* | string | null (date-time) |
POST/projects/{project}/wikiCreate a wikiprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/wiki -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
DELETE/projects/{project}/wiki/{page}Delete a wikiprojects:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/wiki/{page} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| page* | integer · path | The page ID |
GET/projects/{project}/wiki/{page}Get a wikiprojects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/wiki/{page} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| page* | integer · path | The page ID |
PATCH/projects/{project}/wiki/{page}Update a wikiprojects:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/wiki/{page} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| page* | integer · path | The page ID |
POST/projects/{project}/wiki/{page}/filesAn image pasted into a wiki page – whoever may edit the pageprojects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/wiki/{page}/files -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| page* | integer · path | The page ID |
Tělo požadavku
| file* | string (binary) |
GET/projects/{project}/wiki/{page}/versionsVersions (wiki)projects:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/wiki/{page}/versions -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| page* | integer · path | The page ID |
Odpověď (data)
| id* | integer | |
| body_html* | string | null | |
| created_at* | string | null (date-time) | |
| user* | object | null |
POST/projects/{project}/wiki/{page}/versions/{version}/restoreRestore (wiki)projects:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/wiki/{page}/versions/{version}/restore -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| page* | integer · path | The page ID |
| version* | integer · path |
PUT/projects/{project}/{kind}/orderNew order of links or contacts: ids top-downprojects:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/{kind}/order -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| kind* | string · path |
Tělo požadavku
| ids* | integer[] |
Tickety tickets:read · tickets:write
GET/projects/{project}/ticketsProject (ticket list)tickets:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/ticketsCreate a tickettickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| title* | string | |
| description_html | string | null | |
| column_id | integer | |
| type_id | integer | null | |
| milestone_id | integer | null | |
| team_id | integer | null | a team of the tenant (NOT-3); the service checks it |
| custom_fields | string[] | {field_id: value}; types are checked by CustomFieldValues |
| priority | low | normal | high | urgent | |
| start_date | string | null (date) | |
| due_date | string | null (date) | |
| estimate_minutes | integer | null | |
| progress | integer | null | set by hand; null = counted from subtasks and the checklist |
| story_points | integer | null | |
| assignee_ids | integer[] | |
| label_ids | integer[] | |
| skill_ids | integer[] | what the ticket needs – the team's, not the client's |
| watcher_ids | integer[] | |
| parent_id | integer | null | subtask of another ticket of the project; null moves it to the top level |
| lock_version | integer |
DELETE/projects/{project}/tickets/{ticket}Delete a tickettickets:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/tickets/{ticket} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
GET/projects/{project}/tickets/{ticket}Get a tickettickets:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
PATCH/projects/{project}/tickets/{ticket}Update a tickettickets:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/tickets/{ticket} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| title* | string | |
| description_html | string | null | |
| column_id | integer | |
| type_id | integer | null | |
| milestone_id | integer | null | |
| team_id | integer | null | a team of the tenant (NOT-3); the service checks it |
| custom_fields | string[] | {field_id: value}; types are checked by CustomFieldValues |
| priority | low | normal | high | urgent | |
| start_date | string | null (date) | |
| due_date | string | null (date) | |
| estimate_minutes | integer | null | |
| progress | integer | null | set by hand; null = counted from subtasks and the checklist |
| story_points | integer | null | |
| assignee_ids | integer[] | |
| label_ids | integer[] | |
| skill_ids | integer[] | what the ticket needs – the team's, not the client's |
| watcher_ids | integer[] | |
| parent_id | integer | null | subtask of another ticket of the project; null moves it to the top level |
| lock_version | integer |
GET/projects/{project}/tickets/{ticket}/activityLog of all changes. Clients never see historytickets:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/activity -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Odpověď (data)
| id* | integer | |
| type* | string | |
| user* | object | null | |
| details* | mixed | |
| created_at* | string | null (date-time) |
POST/projects/{project}/tickets/{ticket}/archiveManual archive incl. subtasks; the team, not clientstickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/archive -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
POST/projects/{project}/tickets/{ticket}/checklistAdd item (ticket structure)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/checklist -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| text* | string |
Odpověď (data)
| id* | integer | |
| text* | string | |
| is_done* | boolean | |
| done_at* | string | null (date-time) | |
| done_by* | object | null |
POST/projects/{project}/tickets/{ticket}/checklist/reorderReorder items (ticket structure)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/checklist/reorder -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| ids* | integer[] |
DELETE/projects/{project}/tickets/{ticket}/checklist/{item}Remove item (ticket structure)tickets:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/checklist/{item} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| item* | integer · path |
PATCH/projects/{project}/tickets/{ticket}/checklist/{item}Update item (ticket structure)tickets:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/checklist/{item} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| item* | integer · path |
Tělo požadavku
| text | string | |
| is_done | boolean |
Odpověď (data)
| id* | integer | |
| text* | string | |
| is_done* | boolean | |
| done_at* | string | null (date-time) | |
| done_by* | object | null |
POST/projects/{project}/tickets/{ticket}/client-approveThe client approves a ticket waiting for reviewtickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/client-approve -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
POST/projects/{project}/tickets/{ticket}/client-returnThe client sends it back to work with a note (a comment on the ticket)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/client-return -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| note* | string |
POST/projects/{project}/tickets/{ticket}/completeComplete (ticket)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/complete -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
GET/projects/{project}/tickets/{ticket}/description-versionsVersions of the description – history, so not for clientstickets:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/description-versions -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Odpověď (data)
| id* | integer | |
| body_html* | string | null | |
| user* | object | null | |
| updated_at* | string (date-time) |
POST/projects/{project}/tickets/{ticket}/description-versions/{version}/restoreRestore description (ticket)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/description-versions/{version}/restore -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| version* | integer · path |
POST/projects/{project}/tickets/{ticket}/email-sender/{decision}– approve | reject an unknown sendertickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/email-sender/{decision} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| decision* | string · path |
Odpověď (data)
| origin* | object | null |
POST/projects/{project}/tickets/{ticket}/estimate-approvalRequest (estimate approval)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/estimate-approval -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| note | string | null |
POST/projects/{project}/tickets/{ticket}/estimate-approval/approveApprove (estimate approval)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/estimate-approval/approve -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| note | string | null |
POST/projects/{project}/tickets/{ticket}/estimate-approval/rejectReject (estimate approval)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/estimate-approval/reject -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| note* | string |
GET/projects/{project}/tickets/{ticket}/export.mdWEB-123.md: metadata, description, checklist, subtasks – never comments or timetickets:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/export.md -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
POST/projects/{project}/tickets/{ticket}/moveMove (ticket)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/move -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| column_id* | integer | |
| after_id* | integer | null |
POST/projects/{project}/tickets/{ticket}/relationstarget: a reference like "WEB-12" – also of another project of the tenant the user can seetickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/relations -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| target* | string | |
| kind* | relates | blocks | blocked_by |
DELETE/projects/{project}/tickets/{ticket}/relations/{relation}Remove relation (ticket structure)tickets:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/relations/{relation} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| relation* | integer · path |
POST/projects/{project}/tickets/{ticket}/reopenReopen (ticket)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/reopen -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
GET/projects/{project}/tickets/{ticket}/transferWhat a move to another project would change – for the mapping dialogtickets:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/transfer -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Odpověď (data)
| columns* | object[] | |
| suggested_column_id* | integer | |
| subtasks* | integer | |
| time_entries* | integer | |
| labels* | array | |
| custom_fields* | array | |
| type* | string | null | |
| milestone* | string | null | |
| assignees* | object | |
| watchers* | object |
POST/projects/{project}/tickets/{ticket}/transferMoves the ticket (with its subtasks) to another project; it gets a new number theretickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/transfer -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| column_id | integer | null |
POST/projects/{project}/tickets/{ticket}/unarchiveUnarchive (ticket)tickets:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/unarchive -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
GET/saved-filtersFilters of a project plus the global onestickets:read
curl -X GET https://notcha.cz/api/v1/saved-filters -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project_id | integer |
Odpověď (data)
| id* | integer | |
| name* | string | |
| project_id* | integer | null | |
| filter* | object |
POST/saved-filtersStore filter (board preferences)tickets:write
curl -X POST https://notcha.cz/api/v1/saved-filters -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| name* | string | |
| project_id | integer | null | |
| filter* | array |
Odpověď (data)
| id* | integer | |
| name* | string | |
| project_id* | integer | null | |
| filter* | object |
DELETE/saved-filters/{filter}Destroy filter (board preferences)tickets:write
curl -X DELETE https://notcha.cz/api/v1/saved-filters/{filter} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| filter* | integer · path |
GET/searchSearch (search)tickets:read
curl -X GET https://notcha.cz/api/v1/search -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| q | string | null | |
| project_id | integer | null | |
| limit | integer |
GET/ticketsAll (ticket list)tickets:read
curl -X GET https://notcha.cz/api/v1/tickets -H "Authorization: Bearer $NOTCHA_TOKEN"
POST/tickets/bulkBulk actions on tickets of one project. Permissions are checked per ticket;
the answer lists what was done, what failed and the request that undoes ittickets:write
curl -X POST https://notcha.cz/api/v1/tickets/bulk -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| project_id* | integer | |
| action* | move | complete | reopen | assign | unassign | add_labels | remove_labels | priority | |
| ticket_ids | integer[] | |
| column_id | integer | null | |
| target_project_id | integer | |
| with_subtasks | boolean | |
| user_ids | integer[] | |
| label_ids | integer[] | |
| priority | low | normal | high | urgent | |
| due_date | string | null (date) | |
| milestone_id | integer | null | |
| items | object[] |
Odpověď (data)
| done* | object | |
| failed* | object[] | |
| undo* | mixed | |
| created* | object[] | |
| target* | object |
GET/tickets/bulk/{batch}State of a queued bulk action – only for the person who started it, in this tenanttickets:read
curl -X GET https://notcha.cz/api/v1/tickets/bulk/{batch} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| batch* | string · path |
GET/tickets/facetsHow many tickets each option of the filter panel gives: the
other filters apply, the option's own does not – so every option says what picking it would show. Priority
only over the projects where the...tickets:read
curl -X GET https://notcha.cz/api/v1/tickets/facets -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| assignee | string | |
| label | string | |
| type | string | |
| column | string | |
| milestone | string | |
| author | string | |
| project | string | Project key, e.g. WEB |
| priority | string | |
| due_from | string (date) | |
| due_to | string (date) | |
| overdue | boolean | |
| done | boolean | |
| archived | boolean | |
| q | string | |
| delegated | boolean |
Odpověď (data)
| projects* | string | |
| priority* | string | |
| done* | string | |
| labels* | object[] |
GET/tickets/{id}/branch-nameGit branch name – for the teamtickets:read
curl -X GET https://notcha.cz/api/v1/tickets/{id}/branch-name -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| id* | integer · path |
Odpověď (data)
| name* | string | only what Git accepts in a branch name |
GET/tickets/{id}/remindersList ticket reminderstickets:read
curl -X GET https://notcha.cz/api/v1/tickets/{id}/reminders -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| id* | integer · path |
Odpověď (data)
| id* | integer | |
| remind_at* | string | null | |
| note* | string | null |
POST/tickets/{id}/remindersCreate a ticket remindertickets:write
curl -X POST https://notcha.cz/api/v1/tickets/{id}/reminders -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| id* | integer · path |
Tělo požadavku
| remind_at* | string (date-time) | |
| note | string | null |
Odpověď (data)
| id* | integer | |
| remind_at* | string | null | |
| note* | string | null |
DELETE/tickets/{id}/reminders/{reminder}Delete a ticket remindertickets:write
curl -X DELETE https://notcha.cz/api/v1/tickets/{id}/reminders/{reminder} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| id* | integer · path | |
| reminder* | integer · path |
Komentáře a zprávy comments:read · comments:write
DELETE/comment-tasks/{task}Delete a comment taskcomments:write
curl -X DELETE https://notcha.cz/api/v1/comment-tasks/{task} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| task* | integer · path |
PATCH/comment-tasks/{task}Update a comment taskcomments:write
curl -X PATCH https://notcha.cz/api/v1/comment-tasks/{task} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| task* | integer · path |
Tělo požadavku
| resolved* | boolean |
Odpověď (data)
| id* | integer | |
| comment_id* | integer | |
| text* | string | |
| assignee* | object | |
| resolved_at* | string | null (date-time) | |
| abilities* | object |
POST/comments/{comment}/tasksCreate a comment taskcomments:write
curl -X POST https://notcha.cz/api/v1/comments/{comment}/tasks -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| comment* | integer · path |
Tělo požadavku
| assignee_id* | integer | |
| text | string | null |
Odpověď (data)
| id* | integer | |
| comment_id* | integer | |
| text* | string | |
| assignee* | object | |
| resolved_at* | string | null (date-time) | |
| abilities* | object |
GET/group-threadsGroup index (project thread)comments:read
curl -X GET https://notcha.cz/api/v1/group-threads -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| group* | boolean | |
| pinned* | boolean | |
| posts* | integer | |
| decided* | boolean | |
| closed* | boolean | |
| last_post_at* | string | null | |
| last* | object | null | |
| unread* | boolean |
POST/group-threadsGroup store (project thread)comments:write
curl -X POST https://notcha.cz/api/v1/group-threads -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| title* | string | |
| body_html | string | null | |
| participant_ids* | integer[] |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | null | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
DELETE/group-threads/{thread}Group destroy (project thread)comments:write
curl -X DELETE https://notcha.cz/api/v1/group-threads/{thread} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
GET/group-threads/{thread}Group show (project thread)comments:read
curl -X GET https://notcha.cz/api/v1/group-threads/{thread} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | null | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
PATCH/group-threads/{thread}Group update (project thread)comments:write
curl -X PATCH https://notcha.cz/api/v1/group-threads/{thread} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | null | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
PUT/group-threads/{thread}/closedGroup close (project thread)comments:write
curl -X PUT https://notcha.cz/api/v1/group-threads/{thread}/closed -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | null | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
PUT/group-threads/{thread}/decisionGroup decide (project thread)comments:write
curl -X PUT https://notcha.cz/api/v1/group-threads/{thread}/decision -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | null | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
PUT/group-threads/{thread}/participantsGroup participants (project thread)comments:write
curl -X PUT https://notcha.cz/api/v1/group-threads/{thread}/participants -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | null | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
GET/group-threads/{thread}/pollsFor group thread (poll)comments:read
curl -X GET https://notcha.cz/api/v1/group-threads/{thread}/polls -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
POST/group-threads/{thread}/pollsStore for group thread (poll)comments:write
curl -X POST https://notcha.cz/api/v1/group-threads/{thread}/polls -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
POST/group-threads/{thread}/postsGroup reply (project thread)comments:write
curl -X POST https://notcha.cz/api/v1/group-threads/{thread}/posts -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | null | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
POST/group-threads/{thread}/posts/{post}/reactionsGroup react (project thread)comments:write
curl -X POST https://notcha.cz/api/v1/group-threads/{thread}/posts/{post}/reactions -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| thread* | integer · path | |
| post* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | null | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
DELETE/polls/{poll}Destroy any (poll)comments:write
curl -X DELETE https://notcha.cz/api/v1/polls/{poll} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| poll* | integer · path |
PATCH/polls/{poll}Update any (poll)comments:write
curl -X PATCH https://notcha.cz/api/v1/polls/{poll} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| poll* | integer · path |
POST/polls/{poll}/confirmConfirm any (poll)comments:write
curl -X POST https://notcha.cz/api/v1/polls/{poll}/confirm -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| poll* | integer · path |
POST/polls/{poll}/optionsAdd option any (poll)comments:write
curl -X POST https://notcha.cz/api/v1/polls/{poll}/options -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| poll* | integer · path |
PUT/polls/{poll}/voteVote any (poll)comments:write
curl -X PUT https://notcha.cz/api/v1/polls/{poll}/vote -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| poll* | integer · path |
DELETE/projects/{project}/polls/{poll}Delete a pollcomments:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/polls/{poll} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| poll* | integer · path |
PATCH/projects/{project}/polls/{poll}{closed?, public?} – close or open again, the public link on or offcomments:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/polls/{poll} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| poll* | integer · path |
Tělo požadavku
| closed | boolean | |
| public | boolean |
POST/projects/{project}/polls/{poll}/confirm{option_id} – the date is decidedcomments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/polls/{poll}/confirm -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| poll* | integer · path |
Tělo požadavku
| option_id* | integer |
POST/projects/{project}/polls/{poll}/optionsAnother option after the startcomments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/polls/{poll}/options -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| poll* | integer · path |
Tělo požadavku
| label | string | null | |
| starts_at | string | null (date-time) |
PUT/projects/{project}/polls/{poll}/vote– `option_ids` (a simple poll) or `answers` {option id: y | m | n}comments:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/polls/{poll}/vote -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| poll* | integer · path |
Tělo požadavku
| option_ids | integer[] | |
| answers | string[] |
GET/projects/{project}/threadsList project threadscomments:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/threads -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| group* | boolean | |
| pinned* | boolean | |
| posts* | integer | |
| decided* | boolean | |
| closed* | boolean | |
| last_post_at* | string | null | |
| last* | object | null | |
| unread* | boolean |
POST/projects/{project}/threadsCreate a project threadcomments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/threads -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| title* | string | |
| body_html | string | null | |
| visible_to_client | boolean | |
| participant_ids | integer[] | null |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | string | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
DELETE/projects/{project}/threads/{thread}Delete a project threadcomments:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/threads/{thread} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
GET/projects/{project}/threads/{thread}Get a project threadcomments:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/threads/{thread} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | string | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
PATCH/projects/{project}/threads/{thread}Update a project threadcomments:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/threads/{thread} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
Tělo požadavku
| title | string | |
| visible_to_client | boolean | |
| pinned | boolean |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | string | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
PUT/projects/{project}/threads/{thread}/closedClose a resolved thread / open it againcomments:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/threads/{thread}/closed -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
Tělo požadavku
| closed* | boolean |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | string | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
PUT/projects/{project}/threads/{thread}/decisionDecide (project thread)comments:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/threads/{thread}/decision -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
Tělo požadavku
| post_id* | integer | null |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | string | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
POST/projects/{project}/threads/{thread}/filesA file in a message of a project thread – whoever may read the thread may add onecomments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/threads/{thread}/files -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
Tělo požadavku
| file* | string (binary) |
PUT/projects/{project}/threads/{thread}/participants{participant_ids: [...] | null} – who takes partcomments:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/threads/{thread}/participants -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | string | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
GET/projects/{project}/threads/{thread}/pollsFor thread (poll)comments:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/threads/{thread}/polls -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
POST/projects/{project}/threads/{thread}/pollsStore for thread (poll)comments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/threads/{thread}/polls -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
POST/projects/{project}/threads/{thread}/postsReply (project thread)comments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/threads/{thread}/posts -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path |
Tělo požadavku
| body_html* | string |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | string | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
POST/projects/{project}/threads/{thread}/posts/{post}/reactions{emoji} – toggles my reaction to a message;
everybody who reads the thread may react, clients too (like comments)comments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/threads/{thread}/posts/{post}/reactions -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| thread* | integer · path | |
| post* | integer · path |
Tělo požadavku
| emoji* | string |
Odpověď (data)
| id* | integer | |
| title* | string | |
| visible_to_client* | boolean | |
| project* | string | |
| participants* | array | null | a group message: only these people see it |
| pinned* | boolean | |
| event* | string | the meeting this thread is the chat of – when the viewer sees it |
| created_by* | object | null | |
| created_at* | string | null | |
| closed* | object | null | |
| decision* | object | null | |
| posts* | object[] | emoji reactions |
| abilities* | object |
GET/projects/{project}/tickets/{ticket}/commentsAll comments of a ticket, oldest first (a ticket conversation is read top-down)comments:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/comments -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
POST/projects/{project}/tickets/{ticket}/commentsCreate a commentcomments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/comments -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| body_html* | string | |
| parent_id | integer | null |
DELETE/projects/{project}/tickets/{ticket}/comments/{comment}Delete a commentcomments:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/comments/{comment} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| comment* | integer · path | The comment ID |
PATCH/projects/{project}/tickets/{ticket}/comments/{comment}Update a commentcomments:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/comments/{comment} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| comment* | integer · path | The comment ID |
Tělo požadavku
| body_html* | string |
POST/projects/{project}/tickets/{ticket}/comments/{comment}/pinPin (comment)comments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/comments/{comment}/pin -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| comment* | integer · path | The comment ID |
Tělo požadavku
| pinned* | boolean |
Odpověď (data)
| id* | integer | |
| is_pinned* | boolean |
POST/projects/{project}/tickets/{ticket}/comments/{comment}/reactionsToggles one emoji of the user on a comment. Everybody who may comment may reactcomments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/comments/{comment}/reactions -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| comment* | integer · path | The comment ID |
Tělo požadavku
| emoji* | string |
GET/projects/{project}/tickets/{ticket}/comments/{comment}/versionsEarlier texts of an edited commentcomments:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/comments/{comment}/versions -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| comment* | integer · path | The comment ID |
Odpověď (data)
| id* | integer | |
| tenant_id* | integer | |
| comment_id* | integer | |
| body_html* | string | |
| user_id* | integer | null | |
| created_at* | string | null (date-time) |
GET/projects/{project}/tickets/{ticket}/pollsFor ticket (poll)comments:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/polls -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
POST/projects/{project}/tickets/{ticket}/pollsStore for ticket (poll)comments:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/polls -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
GET/threadsMessages across every project I can see: one place for all conversations – unread first,
then the latest; a client sees only threads opened to clientscomments:read
curl -X GET https://notcha.cz/api/v1/threads -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| title* | string | |
| project* | object | null | |
| group* | boolean | |
| people* | mixed | |
| participants* | mixed | |
| visible_to_client* | boolean | |
| posts* | integer | |
| decided* | boolean | |
| closed* | boolean | |
| last_post_at* | string | null | |
| last* | object | null | |
| unread* | boolean |
GET/threads/people– whom a group message can go to: the active teamcomments:read
curl -X GET https://notcha.cz/api/v1/threads/people -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| name* | string | |
| email* | string |
Soubory files:read · files:write
GET/calendar-events/{event}/files– files of an event, as whoever may see themfiles:read
curl -X GET https://notcha.cz/api/v1/calendar-events/{event}/files -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
POST/calendar-events/{event}/files– the team of the event adds files; clients only lookfiles:write
curl -X POST https://notcha.cz/api/v1/calendar-events/{event}/files -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
Tělo požadavku
| file* | string (binary) |
DELETE/calendar-events/{event}/files/{file}Destroy event (file)files:write
curl -X DELETE https://notcha.cz/api/v1/calendar-events/{event}/files/{file} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
| file* | integer · path | The file ID |
GET/projects/{project}/filesProject (file)files:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/files -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| kind | image | pdf | office | text | archive | design | |
| ticket | integer | Ticket number – 12 for WEB-12 |
| uploaded_by | integer | |
| q | string |
GET/projects/{project}/files/usageStorage of the project against its quota: the files page and project settings show it, with
a warning from 80 %. Counts every live file of the project, wiki images includedfiles:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/files/usage -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| used_bytes* | integer | |
| files* | integer | |
| quota_bytes* | string | null | |
| percent* | integer | null | |
| warning* | boolean |
POST/projects/{project}/files/{file}/annotationAn annotated image: a PNG from the editor becomes the newest version of the imagefiles:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/files/{file}/annotation -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| file* | integer · path | The file ID |
Tělo požadavku
| image* | string (binary) | Maximum file size: 10240 kilobytes. |
GET/projects/{project}/tickets/{ticket}/filesAttachments of a ticket incl. files of its comments and pasted images – the ticket galleryfiles:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/files -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
POST/projects/{project}/tickets/{ticket}/filesCreate a filefiles:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/files -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
Tělo požadavku
| file* | string (binary) | the size limit per tenant is checked by FileService with a clearer message |
| comment_id | integer | null |
DELETE/projects/{project}/tickets/{ticket}/files/{file}Delete a filefiles:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/files/{file} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| file* | integer · path | The file ID |
GET/projects/{project}/tickets/{ticket}/files/{file}Polled by the SPA until scan_status leaves "pending"files:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/files/{file} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
| file* | integer · path | The file ID |
Čas time:read · time:write
GET/me/timersMy timers (time)time:read
curl -X GET https://notcha.cz/api/v1/me/timers -H "Authorization: Bearer $NOTCHA_TOKEN"
GET/projects/{project}/tickets/{ticket}/time-entriesTicket time (time)time:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/tickets/{ticket}/time-entries -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| ticket* | integer · path | Ticket number – 12 for WEB-12 |
GET/time-closingClosing (time approval)time:read
curl -X GET https://notcha.cz/api/v1/time-closing -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| from* | string | |
| to* | string | |
| project* | object | null | |
| currency* | string | null | |
| running* | object[] | |
| unsubmitted* | object[] | |
| submitted* | object[] | |
| without_project* | object[] | only for the whole tenant: time that nobody can invoice or report per project |
| entries* | object | |
| totals* | object | |
| lock* | object | |
| summary* | object[] | |
| ready* | boolean | |
| state* | object |
PUT/time-closingState (time approval)time:write
curl -X PUT https://notcha.cz/api/v1/time-closing -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| step* | string | |
| completed_at* | string | null (date-time) |
POST/time-closing/remindRemind (time approval)time:write
curl -X POST https://notcha.cz/api/v1/time-closing/remind -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| reminded* | integer |
GET/time-entriesList time entriestime:read
curl -X GET https://notcha.cz/api/v1/time-entries -H "Authorization: Bearer $NOTCHA_TOKEN"
POST/time-entriesCreate a time entrytime:write
curl -X POST https://notcha.cz/api/v1/time-entries -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| description | string | null | |
| tag_ids | integer[] | |
| ticket_ids | integer[] | |
| project_id | integer | null | |
| is_billable | boolean | |
| started_at* | string (date-time) | |
| ended_at* | string (date-time) | |
| on_overlap | keep | trim |
POST/time-entries/approveApprove (time approval)time:write
curl -X POST https://notcha.cz/api/v1/time-entries/approve -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| entry_ids* | integer[] |
Odpověď (data)
| approved* | integer |
POST/time-entries/continue/{entry}Continue (timer)time:write
curl -X POST https://notcha.cz/api/v1/time-entries/continue/{entry} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| entry* | integer · path | The entry ID |
GET/time-entries/exportExport (time entry)time:read
curl -X GET https://notcha.cz/api/v1/time-entries/export -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| format | csv | xlsx | pdf |
GET/time-entries/overlapsOwn entries overlapping a range – the manual entry form warns before savingtime:read
curl -X GET https://notcha.cz/api/v1/time-entries/overlaps -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| from* | string (date-time) | |
| to* | string (date-time) | |
| except | integer |
POST/time-entries/pausePause (timer)time:write
curl -X POST https://notcha.cz/api/v1/time-entries/pause -H "Authorization: Bearer $NOTCHA_TOKEN"
POST/time-entries/rejectReject (time approval)time:write
curl -X POST https://notcha.cz/api/v1/time-entries/reject -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| entry_ids* | integer[] | |
| note* | string |
Odpověď (data)
| rejected* | integer |
POST/time-entries/resumeResume (timer)time:write
curl -X POST https://notcha.cz/api/v1/time-entries/resume -H "Authorization: Bearer $NOTCHA_TOKEN"
GET/time-entries/runningGet a timertime:read
curl -X GET https://notcha.cz/api/v1/time-entries/running -H "Authorization: Bearer $NOTCHA_TOKEN"
PATCH/time-entries/runningDescription, tags, tickets, project, billable, "posunout start" (started_at)time:write
curl -X PATCH https://notcha.cz/api/v1/time-entries/running -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| description | string | null | |
| tag_ids | integer[] | |
| ticket_ids | integer[] | |
| project_id | integer | null | |
| is_billable | boolean | |
| started_at | string (date-time) | |
| on_overlap | keep | trim |
POST/time-entries/running/idleIdle time: deducted from the running timers of the user in every tenanttime:write
curl -X POST https://notcha.cz/api/v1/time-entries/running/idle -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| idle_since* | string (date-time) | |
| stop | boolean |
POST/time-entries/startStart (timer)time:write
curl -X POST https://notcha.cz/api/v1/time-entries/start -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| description | string | null | |
| tag_ids | integer[] | |
| ticket_ids | integer[] | |
| project_id | integer | null | |
| is_billable | boolean | |
| started_at | string | null (date-time) |
POST/time-entries/stopStop; fields sent along complete the entry firsttime:write
curl -X POST https://notcha.cz/api/v1/time-entries/stop -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| description | string | null | |
| tag_ids | integer[] | |
| ticket_ids | integer[] | |
| project_id | integer | null | |
| is_billable | boolean | |
| ended_at | string | null (date-time) |
POST/time-entries/submitSubmit (time approval)time:write
curl -X POST https://notcha.cz/api/v1/time-entries/submit -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| from* | string (date) | |
| to* | string (date) |
Odpověď (data)
| submitted* | integer |
GET/time-entries/suggestionsSuggestions (time entry)time:read
curl -X GET https://notcha.cz/api/v1/time-entries/suggestions -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| q | string | null |
DELETE/time-entries/{entry}Delete a time entrytime:write
curl -X DELETE https://notcha.cz/api/v1/time-entries/{entry} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| entry* | integer · path | The entry ID |
| whole | boolean |
PATCH/time-entries/{entry}Update a time entrytime:write
curl -X PATCH https://notcha.cz/api/v1/time-entries/{entry} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| entry* | integer · path | The entry ID |
Tělo požadavku
| description | string | null | |
| tag_ids | integer[] | |
| ticket_ids | integer[] | |
| project_id | integer | null | |
| is_billable | boolean | |
| started_at | string (date-time) | |
| ended_at | string (date-time) | |
| on_overlap | keep | trim |
GET/time-locksList time lockstime:read
curl -X GET https://notcha.cz/api/v1/time-locks -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| tenant_id* | integer | |
| project_id* | integer | null | |
| locked_until* | string (date-time) | |
| locked_by* | integer | null | |
| created_at* | string | null (date-time) | |
| updated_at* | string | null (date-time) |
PUT/time-locksUpdate a time locktime:write
curl -X PUT https://notcha.cz/api/v1/time-locks -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| project_id | integer | null | |
| locked_until* | string | null (date) |
Odpověď (data)
| id* | integer | |
| tenant_id* | integer | |
| project_id* | integer | null | |
| locked_until* | string (date-time) | |
| locked_by* | integer | null | |
| created_at* | string | null (date-time) | |
| updated_at* | string | null (date-time) |
GET/time/payrollPayroll (time)time:read
curl -X GET https://notcha.cz/api/v1/time/payroll -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| month* | string | |
| format | json | csv | days | pdf |
Kalendář calendar:read · calendar:write
POST/absencesStore absence (calendar)calendar:write
curl -X POST https://notcha.cz/api/v1/absences -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| type* | vacation | sick | other | |
| date_from* | string (date) | |
| date_to* | string (date) | |
| half_day | boolean | |
| note | string | null | |
| user_id | integer |
Odpověď (data)
| id* | integer | |
| user* | object | |
| mine* | boolean | |
| type* | string | null | |
| note* | string | null | |
| date_from* | string | |
| date_to* | string | |
| half_day* | boolean | |
| can_update* | boolean |
GET/absences/absentWho of the given users is absent on a date – the hint at assigning tickets. Only yes/no,
never the typecalendar:read
curl -X GET https://notcha.cz/api/v1/absences/absent -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| date* | string (date) | |
| user_ids[] | integer[] |
Odpověď (data)
| absent_user_ids* | array |
DELETE/absences/{absence}Destroy absence (calendar)calendar:write
curl -X DELETE https://notcha.cz/api/v1/absences/{absence} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| absence* | integer · path | The absence ID |
PATCH/absences/{absence}Update absence (calendar)calendar:write
curl -X PATCH https://notcha.cz/api/v1/absences/{absence} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| absence* | integer · path | The absence ID |
Tělo požadavku
| type | vacation | sick | other | |
| date_from | string (date) | |
| date_to | string (date) | |
| half_day | boolean | |
| note | string | null |
Odpověď (data)
| id* | integer | |
| user* | object | |
| mine* | boolean | |
| type* | string | null | |
| note* | string | null | |
| date_from* | string | |
| date_to* | string | |
| half_day* | boolean | |
| can_update* | boolean |
GET/calendarList calendarscalendar:read
curl -X GET https://notcha.cz/api/v1/calendar -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| from* | string (date) | |
| to* | string (date) | |
| layers | string | |
| scope | me | tenant | |
| project_id | integer | null | a label belongs to one project – filtering by it needs that project |
| assignee | string | the board's filters apply to the calendar too: due dates of one person / one label |
| label_id | integer |
Odpověď (data)
| from* | string | |
| to* | string | |
| tickets* | string[] | |
| milestones* | string[] | |
| time* | string[] | |
| absences* | string[] | |
| events* | mixed | planned work, meetings, personal blocks and imported calendars |
| holidays* | string[] | |
| working_hours* | number[] | |
| holiday_country* | string |
POST/calendar-eventsCreate a calendar eventcalendar:write
curl -X POST https://notcha.cz/api/v1/calendar-events -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| title* | string | |
| kind* | work | meeting | personal | |
| event_type_id | integer | null | an own kind with a colour; its basic kind wins |
| visibility* | private | participants | project | tenant | |
| starts_at* | string (date-time) | |
| ends_at* | string (date-time) | |
| project_id | integer | null | |
| time_tag_id | integer | null | |
| note | string | null | |
| location | string | null | the event as a page |
| meeting_url | string | null (uri) | |
| agenda | string | null | |
| minutes | string | null | |
| participant_ids | integer[] | |
| ticket_ids | integer[] |
GET/calendar-events/busy– when people of the team are busy: times only, at most 6 weeks and 50 peoplecalendar:read
curl -X GET https://notcha.cz/api/v1/calendar-events/busy -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| user_ids[] | integer[] | |
| from* | string (date-time) | |
| to* | string (date-time) |
GET/calendar-events/peoplePeople (calendar event)calendar:read
curl -X GET https://notcha.cz/api/v1/calendar-events/people -H "Authorization: Bearer $NOTCHA_TOKEN"
DELETE/calendar-events/{event}Delete a calendar eventcalendar:write
curl -X DELETE https://notcha.cz/api/v1/calendar-events/{event} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
GET/calendar-events/{event}Get a calendar eventcalendar:read
curl -X GET https://notcha.cz/api/v1/calendar-events/{event} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
PATCH/calendar-events/{event}Update a calendar eventcalendar:write
curl -X PATCH https://notcha.cz/api/v1/calendar-events/{event} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
Tělo požadavku
| title | string | |
| kind | work | meeting | personal | |
| event_type_id | integer | null | an own kind with a colour; its basic kind wins |
| visibility | private | participants | project | tenant | |
| starts_at | string (date-time) | |
| ends_at | string (date-time) | |
| project_id | integer | null | |
| time_tag_id | integer | null | |
| note | string | null | |
| location | string | null | the event as a page |
| meeting_url | string | null (uri) | |
| agenda | string | null | |
| minutes | string | null | |
| participant_ids | integer[] | |
| ticket_ids | integer[] |
POST/calendar-events/{event}/agenda-itemsCreate a event agendacalendar:write
curl -X POST https://notcha.cz/api/v1/calendar-events/{event}/agenda-items -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
Tělo požadavku
| text* | string | |
| minutes | integer | null | |
| speaker_id | integer | null |
Odpověď (data)
| id* | string | |
| text* | string | |
| minutes* | string | |
| starts_at* | string | |
| speaker* | string | null | |
| done* | boolean | |
| done_at* | string | null | |
| done_by* | string | null |
PUT/calendar-events/{event}/agenda-items/orderOrder (event agenda)calendar:write
curl -X PUT https://notcha.cz/api/v1/calendar-events/{event}/agenda-items/order -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
Tělo požadavku
| ids* | integer[] |
Odpověď (data)
| id* | string | |
| text* | string | |
| minutes* | string | |
| starts_at* | string | |
| speaker* | string | null | |
| done* | boolean | |
| done_at* | string | null | |
| done_by* | string | null |
DELETE/calendar-events/{event}/agenda-items/{agendaItem}Delete a event agendacalendar:write
curl -X DELETE https://notcha.cz/api/v1/calendar-events/{event}/agenda-items/{agendaItem} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
| agendaItem* | integer · path | The agenda item ID |
Odpověď (data)
| id* | string | |
| text* | string | |
| minutes* | string | |
| starts_at* | string | |
| speaker* | string | null | |
| done* | boolean | |
| done_at* | string | null | |
| done_by* | string | null |
PATCH/calendar-events/{event}/agenda-items/{agendaItem}Update a event agendacalendar:write
curl -X PATCH https://notcha.cz/api/v1/calendar-events/{event}/agenda-items/{agendaItem} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
| agendaItem* | integer · path | The agenda item ID |
Tělo požadavku
| text | string | |
| minutes | integer | null | |
| speaker_id | integer | null | |
| done | boolean |
Odpověď (data)
| id* | string | |
| text* | string | |
| minutes* | string | |
| starts_at* | string | |
| speaker* | string | null | |
| done* | boolean | |
| done_at* | string | null | |
| done_by* | string | null |
GET/calendar-events/{event}/clients– clients of the event's project who can be invitedcalendar:read
curl -X GET https://notcha.cz/api/v1/calendar-events/{event}/clients -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
POST/calendar-events/{event}/follow-up– the next meeting with the same people and the open ticketscalendar:write
curl -X POST https://notcha.cz/api/v1/calendar-events/{event}/follow-up -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
Tělo požadavku
| starts_at* | string (date-time) | |
| ends_at* | string (date-time) |
POST/calendar-events/{event}/logged– the participant logged their time from itcalendar:write
curl -X POST https://notcha.cz/api/v1/calendar-events/{event}/logged -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
Tělo požadavku
| time_entry_id* | integer |
PUT/calendar-events/{event}/response– a participant answers whether they comecalendar:write
curl -X PUT https://notcha.cz/api/v1/calendar-events/{event}/response -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
Tělo požadavku
| response* | y | m | n |
PUT/calendar-events/{event}/sharing– share with the client: clients of the project as
participants, guests by e-mail, the public link and what they seecalendar:write
curl -X PUT https://notcha.cz/api/v1/calendar-events/{event}/sharing -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
Tělo požadavku
| public | boolean | |
| share | object | |
| client_ids | integer[] | |
| guests | string[] |
GET/calendar-events/{event}/suggested-tickets– "Možná souvisí", for who may pincalendar:read
curl -X GET https://notcha.cz/api/v1/calendar-events/{event}/suggested-tickets -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
POST/calendar-events/{event}/thread– start the chat of the eventcalendar:write
curl -X POST https://notcha.cz/api/v1/calendar-events/{event}/thread -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| event* | integer · path | The event ID |
GET/calendar/due-optionsQuick choices for a due date counted in the user's working days, and the non-working days of the next
months, so the SPA can warn about a due date on a weekend or a holidaycalendar:read
curl -X GET https://notcha.cz/api/v1/calendar/due-options -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| options* | array | |
| non_working* | object[] |
GET/event-typesList event typescalendar:read
curl -X GET https://notcha.cz/api/v1/event-types -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| name* | string | |
| color* | string | |
| kind* | string | |
| archived* | boolean |
POST/event-typesCreate a event typecalendar:write
curl -X POST https://notcha.cz/api/v1/event-types -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| name* | string | |
| color* | string | |
| kind* | work | meeting | personal |
Odpověď (data)
| id* | integer | |
| name* | string | |
| color* | string | |
| kind* | string | |
| archived* | boolean |
PATCH/event-types/{eventType}Update a event typecalendar:write
curl -X PATCH https://notcha.cz/api/v1/event-types/{eventType} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| eventType* | integer · path | The event type ID |
Tělo požadavku
| name | string | |
| color | string | |
| kind | work | meeting | personal | |
| archived | boolean |
Odpověď (data)
| id* | integer | |
| name* | string | |
| color* | string | |
| kind* | string | |
| archived* | boolean |
GET/holidaysHolidays (calendar)calendar:read
curl -X GET https://notcha.cz/api/v1/holidays -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| country | CZ | DE | |
| year | integer |
Odpověď (data)
| date* | string | |
| name* | string |
Lidé a klienti people:read · people:write
GET/clientsList clientspeople:read
curl -X GET https://notcha.cz/api/v1/clients -H "Authorization: Bearer $NOTCHA_TOKEN"
POST/clientsCreate a clientpeople:write
curl -X POST https://notcha.cz/api/v1/clients -H "Authorization: Bearer $NOTCHA_TOKEN"
DELETE/clients/{client}Delete a clientpeople:write
curl -X DELETE https://notcha.cz/api/v1/clients/{client} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| client* | integer · path |
GET/clients/{client}Get a clientpeople:read
curl -X GET https://notcha.cz/api/v1/clients/{client} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| client* | integer · path |
PATCH/clients/{client}Update a clientpeople:write
curl -X PATCH https://notcha.cz/api/v1/clients/{client} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| client* | integer · path |
PUT/clients/{client}/healthThe owner of the relationship (or an admin) overrides the proposed health – with a reason; null = Notcha decidespeople:write
curl -X PUT https://notcha.cz/api/v1/clients/{client}/health -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| client* | integer · path |
Tělo požadavku
| level | healthy | attention | risk | null | |
| reason | string | null |
POST/clients/{client}/touchpointsTouch (client)people:write
curl -X POST https://notcha.cz/api/v1/clients/{client}/touchpoints -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| client* | integer · path |
Tělo požadavku
| kind* | meeting | call | email | other | |
| note | string | null | |
| happened_at | string | null (date-time) |
DELETE/clients/{client}/touchpoints/{touchpoint}Untouch (client)people:write
curl -X DELETE https://notcha.cz/api/v1/clients/{client}/touchpoints/{touchpoint} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| client* | integer · path | |
| touchpoint* | integer · path |
GET/contactsList contactspeople:read
curl -X GET https://notcha.cz/api/v1/contacts -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| q | string | null | |
| tag | string | null | |
| client_id | integer | null |
Odpověď (data)
| id* | integer | |
| name* | string | |
| company* | string | null | |
| position* | string | null | |
| email* | string | null | |
| phone* | string | null | |
| website* | string | null | |
| linkedin* | string | null | |
| tags* | string[] | |
| met_at* | string | null | |
| met_on* | string | null | |
| note* | string | null | |
| client* | object | null | |
| user* | object | null | |
| created_by* | string | null | |
| created_at* | string | null |
POST/contactsCreate a contactpeople:write
curl -X POST https://notcha.cz/api/v1/contacts -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| name* | string | |
| company* | string | null | |
| position* | string | null | |
| email* | string | null | |
| phone* | string | null | |
| website* | string | null | |
| linkedin* | string | null | |
| tags* | string[] | |
| met_at* | string | null | |
| met_on* | string | null | |
| note* | string | null | |
| client* | object | null | |
| user* | object | null | |
| created_by* | string | null | |
| created_at* | string | null |
DELETE/contacts/{contact}Delete a contactpeople:write
curl -X DELETE https://notcha.cz/api/v1/contacts/{contact} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| contact* | integer · path | The contact ID |
PATCH/contacts/{contact}Update a contactpeople:write
curl -X PATCH https://notcha.cz/api/v1/contacts/{contact} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| contact* | integer · path | The contact ID |
Odpověď (data)
| id* | integer | |
| name* | string | |
| company* | string | null | |
| position* | string | null | |
| email* | string | null | |
| phone* | string | null | |
| website* | string | null | |
| linkedin* | string | null | |
| tags* | string[] | |
| met_at* | string | null | |
| met_on* | string | null | |
| note* | string | null | |
| client* | object | null | |
| user* | object | null | |
| created_by* | string | null | |
| created_at* | string | null |
GET/invitations/{token}What the page behind the link shows before acceptingpeople:read
curl -X GET https://notcha.cz/api/v1/invitations/{token} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| token* | string · path |
Odpověď (data)
| email* | string | |
| locale* | string | |
| tenant* | object | |
| account_exists* | boolean | |
| expires_at* | string (date-time) |
POST/invitations/{token}/acceptExisting account: the signed-in user must be the invited one. New account: name and password come
with the request, the e-mail is the invited one (verified by the link), and the user is signed inpeople:write
curl -X POST https://notcha.cz/api/v1/invitations/{token}/accept -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| token* | string · path |
Tělo požadavku
| name* | string | |
| password* | string | |
| timezone | string | null | |
| accept_terms | yes | on | 1 | 1 | true | true | consent to the current terms and privacy policy |
| password_confirmation* | string |
Odpověď (data)
| tenant* | object |
GET/people/{user}/capacityGet a person capacitypeople:read
curl -X GET https://notcha.cz/api/v1/people/{user}/capacity -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| user* | integer · path |
Odpověď (data)
| user* | object | |
| hours_per_day* | number[] | |
| weekly_hours* | number | |
| holiday_country* | string | |
| periods* | object[] | |
| can_edit* | boolean |
PUT/people/{user}/capacityUpdate a person capacitypeople:write
curl -X PUT https://notcha.cz/api/v1/people/{user}/capacity -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| user* | integer · path |
Tělo požadavku
| hours_per_day | number[] | |
| periods | object[] |
Odpověď (data)
| user* | object | |
| hours_per_day* | number[] | |
| weekly_hours* | number | |
| holiday_country* | string | |
| periods* | object[] | |
| can_edit* | boolean |
POST/projects/{project}/contactsStore contact (project overview)people:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/contacts -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| name* | string | |
| role* | string | null | |
| email* | string | null | |
| phone* | string | null | |
| note* | string | null | |
| position* | integer |
DELETE/projects/{project}/contacts/{contact}Destroy contact (project overview)people:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/contacts/{contact} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| contact* | integer · path |
PATCH/projects/{project}/contacts/{contact}Update contact (project overview)people:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/contacts/{contact} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| contact* | integer · path |
Odpověď (data)
| id* | integer | |
| name* | string | |
| role* | string | null | |
| email* | string | null | |
| phone* | string | null | |
| note* | string | null | |
| position* | integer |
GET/projects/{project}/invitations– who was invited into this project and has not accepted yetpeople:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/invitations -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/invitationsA project admin invites somebody straight into the project. Accepting makes them a plain member of the tenant
and puts them into the project. Somebody already in the tenant is added at oncepeople:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/invitations -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| email* | string (email) | |
| role* | admin | member | client | |
| locale | cs | en |
Odpověď (data)
| added* | boolean | |
| user* | object |
DELETE/projects/{project}/invitations/{invitation}Destroy for project (invitation)people:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/invitations/{invitation} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| invitation* | integer · path |
POST/projects/{project}/invitations/{invitation}/linkLink for project (invitation)people:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/invitations/{invitation}/link -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| invitation* | integer · path |
POST/projects/{project}/invitations/{invitation}/resendDELETE – the project admin manages its own invitationspeople:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/invitations/{invitation}/resend -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| invitation* | integer · path |
GET/projects/{project}/member-candidatesActive tenant members who are not in the project yet – for the "add member" picker. Only for those who
manage members, so clients never get a list of everybody in the tenantpeople:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/member-candidates -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| name* | string | |
| email* | string |
GET/projects/{project}/membersList project memberspeople:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/members -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/membersCreate a project memberpeople:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/members -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| user_id* | integer | |
| role* | admin | member | client | |
| hourly_rate | number | null |
DELETE/projects/{project}/members/{user}Delete a project memberpeople:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/members/{user} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| user* | integer · path | The user ID |
PATCH/projects/{project}/members/{user}Update a project memberpeople:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/members/{user} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| user* | integer · path | The user ID |
Tělo požadavku
| role | admin | member | client | |
| hourly_rate | number | null |
GET/skillsList skillspeople:read
curl -X GET https://notcha.cz/api/v1/skills -H "Authorization: Bearer $NOTCHA_TOKEN"
POST/skillsCreate a skillpeople:write
curl -X POST https://notcha.cz/api/v1/skills -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| name* | string | |
| color | string |
Odpověď (data)
| id* | integer | |
| name* | string | |
| color* | string |
DELETE/skills/{skill}Delete a skillpeople:write
curl -X DELETE https://notcha.cz/api/v1/skills/{skill} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| skill* | integer · path | The skill ID |
PATCH/skills/{skill}Update a skillpeople:write
curl -X PATCH https://notcha.cz/api/v1/skills/{skill} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| skill* | integer · path | The skill ID |
Tělo požadavku
| name | string | |
| color | string |
Odpověď (data)
| id* | integer | |
| name* | string | |
| color* | string |
PUT/skills/{skill}/people/{user}{level: 0–3}people:write
curl -X PUT https://notcha.cz/api/v1/skills/{skill}/people/{user} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| skill* | integer · path | The skill ID |
| user* | integer · path |
Tělo požadavku
| level* | integer |
Odpověď (data)
| skill_id* | string | |
| user_id* | integer | |
| level* | integer |
GET/teamsList teamspeople:read
curl -X GET https://notcha.cz/api/v1/teams -H "Authorization: Bearer $NOTCHA_TOKEN"
POST/teamsCreate a teampeople:write
curl -X POST https://notcha.cz/api/v1/teams -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| name* | string | |
| color | string | |
| lead_user_id | integer | null | |
| notify | all | lead | none | null | |
| capacity_reserve_percent | integer | a reserve for the unexpected, taken off the capacity of the members |
| member_ids | integer[] | |
| home_ids | integer[] |
PUT/teams/people/{user}– the teams of one personpeople:write
curl -X PUT https://notcha.cz/api/v1/teams/people/{user} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| user* | integer · path |
Tělo požadavku
| team_ids* | integer[] | |
| home_team_id | integer | null |
DELETE/teams/{team}Delete a teampeople:write
curl -X DELETE https://notcha.cz/api/v1/teams/{team} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| team* | integer · path | The team ID |
PATCH/teams/{team}Update a teampeople:write
curl -X PATCH https://notcha.cz/api/v1/teams/{team} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| team* | integer · path | The team ID |
Tělo požadavku
| name | string | |
| color | string | |
| lead_user_id | integer | null | |
| notify | all | lead | none | null | |
| capacity_reserve_percent | integer | a reserve for the unexpected, taken off the capacity of the members |
| member_ids | integer[] | |
| home_ids | integer[] |
GET/tenants/{tenant}/invitationsList invitationspeople:read
curl -X GET https://notcha.cz/api/v1/tenants/{tenant}/invitations -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
Odpověď (data)
| id* | integer | |
| email* | string | |
| role* | string | |
| can_create_projects* | boolean | |
| projects* | object[] | |
| locale* | string | |
| expires_at* | string (date-time) | |
| last_sent_at* | string | null (date-time) | |
| expired* | boolean | |
| delivery_failed* | object | null | the receiving server refused it |
POST/tenants/{tenant}/invitationsCreate a invitationpeople:write
curl -X POST https://notcha.cz/api/v1/tenants/{tenant}/invitations -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
Tělo požadavku
| email* | string (email) | |
| role | admin | member | |
| can_create_projects | boolean | |
| locale | cs | en | |
| projects | object[] |
Odpověď (data)
| id* | integer | |
| email* | string | |
| role* | string | |
| can_create_projects* | boolean | |
| projects* | object[] | |
| locale* | string | |
| expires_at* | string (date-time) | |
| last_sent_at* | string | null (date-time) | |
| expired* | boolean | |
| delivery_failed* | object | null | the receiving server refused it |
DELETE/tenants/{tenant}/invitations/{invitation}Delete a invitationpeople:write
curl -X DELETE https://notcha.cz/api/v1/tenants/{tenant}/invitations/{invitation} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| invitation* | integer · path |
POST/tenants/{tenant}/invitations/{invitation}/link– the invitation link to copy and send another waypeople:write
curl -X POST https://notcha.cz/api/v1/tenants/{tenant}/invitations/{invitation}/link -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| invitation* | integer · path |
Odpověď (data)
| url* | string |
POST/tenants/{tenant}/invitations/{invitation}/resendResend (invitation)people:write
curl -X POST https://notcha.cz/api/v1/tenants/{tenant}/invitations/{invitation}/resend -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| invitation* | integer · path |
Odpověď (data)
| id* | integer | |
| email* | string | |
| role* | string | |
| can_create_projects* | boolean | |
| projects* | object[] | |
| locale* | string | |
| expires_at* | string (date-time) | |
| last_sent_at* | string | null (date-time) | |
| expired* | boolean | |
| delivery_failed* | object | null | the receiving server refused it |
GET/tenants/{tenant}/usersUsers (tenant admin)people:read
curl -X GET https://notcha.cz/api/v1/tenants/{tenant}/users -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
DELETE/tenants/{tenant}/users/{user}Remove user (tenant admin)people:write
curl -X DELETE https://notcha.cz/api/v1/tenants/{tenant}/users/{user} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| user* | integer · path |
PATCH/tenants/{tenant}/users/{user}Update user (tenant admin)people:write
curl -X PATCH https://notcha.cz/api/v1/tenants/{tenant}/users/{user} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| user* | integer · path |
Tělo požadavku
| role | admin | member | |
| can_create_projects | boolean | |
| hourly_rate | number | null | |
| cost_rate | number | null | the internal cost of an hour |
POST/tenants/{tenant}/users/{user}/deactivateDeactivate (tenant admin)people:write
curl -X POST https://notcha.cz/api/v1/tenants/{tenant}/users/{user}/deactivate -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| user* | integer · path |
PUT/tenants/{tenant}/users/{user}/limits: access until a moment – admins and the owner;
AI off and AI token limits – the owner (who pays for AI)people:write
curl -X PUT https://notcha.cz/api/v1/tenants/{tenant}/users/{user}/limits -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| user* | integer · path |
Tělo požadavku
| access_until | string | null (date-time) | |
| ai_disabled | boolean | |
| ai_unlimited | boolean | |
| ai_limit_month | integer | null | |
| ai_limit_total | integer | null |
GET/tenants/{tenant}/users/{user}/projectsProjects of one person and their role in each – the current tenant onlypeople:read
curl -X GET https://notcha.cz/api/v1/tenants/{tenant}/users/{user}/projects -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| user* | integer · path |
Odpověď (data)
| id* | integer | |
| key* | string | |
| name* | string | |
| color* | string | |
| icon* | string | null | |
| role* | admin | member | client |
POST/tenants/{tenant}/users/{user}/reactivateReactivate (tenant admin)people:write
curl -X POST https://notcha.cz/api/v1/tenants/{tenant}/users/{user}/reactivate -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| user* | integer · path |
Tělo požadavku
| restore_projects | boolean |
GET/users/avatarsAvatars of everybody in the tenant, for every member: `{user_id: url}`. Loaded once by the SPA so the
lists of assignees, comments etc. do not have to carry itpeople:read
curl -X GET https://notcha.cz/api/v1/users/avatars -H "Authorization: Bearer $NOTCHA_TOKEN"
Statistiky a reporty reports:read · reports:write
GET/exports/me/{file}the e-mail: a signed link AND signed in as the same personreports:read
curl -X GET https://notcha.cz/api/v1/exports/me/{file} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| file* | string · path |
GET/exports/{tenant}/{file}the e-mail: signed link AND the signed-in owner of that tenantreports:read
curl -X GET https://notcha.cz/api/v1/exports/{tenant}/{file} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
| file* | string · path |
GET/projects/{project}/client-reportGet a client reportreports:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/client-report -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| project* | object | |
| tenant* | object | |
| period* | object | |
| summary* | object | |
| tickets* | string[] | |
| prepared* | object | the PDF v2: who prepared it, done tickets by type, the three that mattered most, work without a ticket by time tag and what comes next |
| previous_done* | integer | |
| groups* | string | |
| highlights* | string[] | |
| other* | object[] | |
| next* | string[] | |
| hours_by* | object | |
| with_amounts* | boolean |
GET/projects/{project}/client-report.pdfThe same report as PDF, in the chosen languagereports:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/client-report.pdf -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| locale | cs | en |
POST/projects/{project}/invoices{from, to, group}reports:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/invoices -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| ref* | string | |
| number* | string | |
| url* | string | |
| entries* | integer | |
| total* | number |
POST/projects/{project}/invoices/release{ref} – after cancelling the invoice in the servicereports:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/invoices/release -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| ref* | string |
Odpověď (data)
| released* | integer |
GET/projects/{project}/invoicing– the client, the draft lines and earlier invoicesreports:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/invoicing -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| provider* | string | null | |
| contact* | object | null | |
| preview* | object | |
| history* | object[] |
PUT/projects/{project}/invoicing/contact{id, name}reports:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/invoicing/contact -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| id* | string | null | |
| name | string | null |
Odpověď (data)
| id* | string | |
| name* | string | null |
GET/projects/{project}/profitability– one project, for who sees its money (viewFinancials)reports:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/profitability -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| from | string | |
| to | string |
Odpověď (data)
| currency* | string | |
| from* | string | |
| to* | string | |
| totals* | object | |
| months* | array[] |
GET/projects/{project}/report-scheduleAutomatic monthly sending – null when not set upreports:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/report-schedule -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| recipients* | string[] | |
| day_of_month* | integer | |
| locale* | string | |
| include_amounts* | boolean | |
| is_active* | boolean | |
| last_sent_at* | string | null (date-time) |
PUT/projects/{project}/report-scheduleUpdate schedule (client report)reports:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/report-schedule -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| recipients* | string[] | |
| day_of_month* | integer | |
| locale* | cs | en | |
| include_amounts* | boolean | |
| is_active* | boolean |
Odpověď (data)
| recipients* | string[] | |
| day_of_month* | integer | |
| locale* | string | |
| include_amounts* | boolean | |
| is_active* | boolean | |
| last_sent_at* | string | null (date-time) |
GET/projects/{project}/reportsSent and waiting reports, newest firstreports:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/reports -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| period_from* | string | |
| period_to* | string | |
| status* | string | |
| sent_at* | string | null (date-time) | |
| recipients* | string[] | |
| file* | object | null | |
| unapproved* | mixed | who still blocks a waiting report |
GET/projects/{project}/sla-statsShare met and average times of the tickets created in the period (default: this month)reports:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/sla-stats -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| from | string (date-time) | |
| to | string (date-time) |
POST/projects/{project}/weekly-update/send{subject, body, recipient_ids, by_ai} – an e-mail to each chosen clientreports:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/weekly-update/send -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| subject* | string | |
| body* | string | |
| recipient_ids* | integer[] | |
| by_ai | boolean |
Odpověď (data)
| id* | integer | |
| recipients* | integer |
GET/projects/{project}/weekly-updates– the clients to send to and the last updatesreports:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/weekly-updates -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| clients* | object[] | |
| updates* | object[] |
GET/stats/budgets– projects with a budget the viewer administersreports:read
curl -X GET https://notcha.cz/api/v1/stats/budgets -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | string | |
| key* | string | |
| name* | string | |
| color* | string | |
| budget_hours* | number | |
| basis* | billable | all | |
| spent_hours* | number | |
| weekly* | array | |
| pace* | number | |
| remaining_estimate_hours* | number | |
| weeks_from* | string |
GET/stats/capacityThe capacity plan (NOT-3): tenant admins see everybody, team leads their teamsreports:read
curl -X GET https://notcha.cz/api/v1/stats/capacity -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| weeks | integer | |
| team | integer | null |
Odpověď (data)
| today* | string | |
| weeks* | object[] | |
| teams* | array[] | |
| people* | object[] | |
| can_manage_teams* | boolean | |
| past_weeks* | object[] | |
| wip_limit* | integer | null | |
| frozen_until* | string | null |
PUT/stats/capacity/people/{user}/reservation{hours, label} – admins and the leads of the person's teamreports:write
curl -X PUT https://notcha.cz/api/v1/stats/capacity/people/{user}/reservation -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| user* | integer · path |
Tělo požadavku
| hours* | number | null | |
| label | string | null |
PATCH/stats/capacity/settings{wip_limit, frozen_until} – tenant adminsreports:write
curl -X PATCH https://notcha.cz/api/v1/stats/capacity/settings -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| wip_limit | integer | null | |
| frozen_until | string | null (date) |
Odpověď (data)
| wip_limit* | integer | null | |
| frozen_until* | string | null |
GET/stats/estimatesreports:read
curl -X GET https://notcha.cz/api/v1/stats/estimates -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| from* | string (date) | |
| to* | string (date) | |
| group | person | project | type | team | priority | size | |
| project_ids[] | integer[] | |
| user_ids[] | integer[] | |
| team_ids[] | integer[] | |
| types[] | string[] | |
| priorities[] | string[] |
Odpověď (data)
| group* | mixed | |
| tolerance* | number | |
| totals* | object | |
| rows* | string | |
| tickets* | object[] | the biggest misses first – the list to learn from |
| people* | string[] | |
| options* | object |
GET/stats/meMe (stats)reports:read
curl -X GET https://notcha.cz/api/v1/stats/me -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| days* | object[] | |
| open* | integer | |
| overdue* | integer | |
| due_week* | integer | |
| week_seconds* | integer | |
| mentions* | string[] |
GET/stats/people/{user}– oneself, a tenant admin, or a project admin (their projects' time only)reports:read
curl -X GET https://notcha.cz/api/v1/stats/people/{user} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| user* | integer · path | |
| from* | string (date) | |
| to* | string (date) |
Odpověď (data)
| person* | object | |
| from* | string | |
| to* | string | |
| days* | array | |
| totals* | object | |
| projects* | string | |
| accuracy* | object |
GET/stats/portfolioPortfolio (stats)reports:read
curl -X GET https://notcha.cz/api/v1/stats/portfolio -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | string | |
| key* | string | |
| name* | string | |
| color* | string | |
| icon* | string | |
| pm* | object | null | |
| status* | red | amber | green | |
| reasons* | array | |
| counts* | object | |
| budget_percent* | integer | null | |
| last_activity_at* | string | null |
GET/stats/profitabilityProfitability by project, client and month: the owner and the
admins of the tenant – money of all projects. ?from=2026-06&to=2026-11, default: the last 6 monthsreports:read
curl -X GET https://notcha.cz/api/v1/stats/profitability -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| from | string | |
| to | string |
Odpověď (data)
| currency* | string | |
| from* | string | |
| to* | string | |
| totals* | object | |
| months* | array[] | |
| projects* | array[] | |
| clients* | string |
GET/stats/projects/{project}/{type}Project (stats)reports:read
curl -X GET https://notcha.cz/api/v1/stats/projects/{project}/{type} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| type* | string · path | |
| by | user | ticket | label | milestone |
GET/stats/tenantTenant dashboard for owners and adminsreports:read
curl -X GET https://notcha.cz/api/v1/stats/tenant -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| projects* | string[] | |
| totals* | object | |
| trend_from* | string |
GET/stats/timeOverview (time stats)reports:read
curl -X GET https://notcha.cz/api/v1/stats/time -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| from* | string (date) | |
| to* | string (date) | |
| project_ids[] | integer[] | |
| user_ids[] | integer[] | |
| team_ids[] | integer[] | |
| tag_ids[] | integer[] | |
| billable | all | yes | no | |
| group | project | team | person | tag | |
| compare | boolean |
Odpověď (data)
| from* | string | |
| to* | string | |
| bucket* | month | week | |
| buckets* | object[] | |
| capacity* | array | |
| previous* | array | null | |
| totals* | object | |
| rows* | object[] | |
| alerts* | array | |
| options* | object |
GET/stats/time/period– the time page for a period longer than a month: sums per month, day, project, person,
tag, the approval of each month and the time of each filter option; no entriesreports:read
curl -X GET https://notcha.cz/api/v1/stats/time/period -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| from* | string (date) | |
| to* | string (date) | |
| user_ids[] | integer[] | |
| everyone | boolean | |
| project_ids[] | integer[] | |
| tag_ids[] | integer[] | |
| billable[] | string[] | |
| approval_statuses[] | string[] |
Odpověď (data)
| from* | string | |
| to* | string | |
| totals* | object | |
| months* | array | |
| projects* | object[] | |
| people* | object[] | |
| tags* | object[] | |
| facets* | string |
GET/stats/time/pivotPivot (time stats)reports:read
curl -X GET https://notcha.cz/api/v1/stats/time/pivot -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| from* | string (date) | |
| to* | string (date) | |
| project_ids[] | integer[] | |
| user_ids[] | integer[] | |
| team_ids[] | integer[] | |
| tag_ids[] | integer[] | |
| billable | all | yes | no | |
| rows* | project | team | person | tag | |
| cols* | project | team | person | tag |
Odpověď (data)
| from* | string | |
| to* | string | |
| rows* | array | |
| cols* | array | |
| cells* | array |
GET/stats/weeklyThe weekly summary: ?week=any day of the week, the last finished week by default.
The same data goes out by e-mail on Monday morningreports:read
curl -X GET https://notcha.cz/api/v1/stats/weekly -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| week | string (date) |
Odpověď (data)
| week* | object | |
| totals* | object | |
| projects* | object[] |
Nabídky quotes:read · quotes:write
GET/quotesList quotesquotes:read
curl -X GET https://notcha.cz/api/v1/quotes -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| status | draft | sent | accepted | rejected | expired |
Odpověď (data)
| id* | integer | |
| reference* | string | |
| title* | string | |
| status* | string | |
| client* | object | null | |
| currency* | string | |
| total* | number | |
| minutes* | integer | |
| valid_until* | string | null | |
| sent_at* | string | null (date-time) | |
| viewed_at* | string | null (date-time) | |
| decided_at* | string | null (date-time) | |
| project_key* | string | null | |
| created_at* | string | null (date-time) |
POST/quotesCreate a quotequotes:write
curl -X POST https://notcha.cz/api/v1/quotes -H "Authorization: Bearer $NOTCHA_TOKEN"
DELETE/quotes/{quote}– to the trash (soft delete); the number stays takenquotes:write
curl -X DELETE https://notcha.cz/api/v1/quotes/{quote} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| quote* | integer · path |
GET/quotes/{quote}Get a quotequotes:read
curl -X GET https://notcha.cz/api/v1/quotes/{quote} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| quote* | integer · path |
PATCH/quotes/{quote}Update a quotequotes:write
curl -X PATCH https://notcha.cz/api/v1/quotes/{quote} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| quote* | integer · path |
POST/quotes/{quote}/convert{name, key, with_optional?} → the new projectquotes:write
curl -X POST https://notcha.cz/api/v1/quotes/{quote}/convert -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| quote* | integer · path |
Tělo požadavku
| name* | string | |
| key* | string | |
| with_optional | boolean |
Odpověď (data)
| key* | string | |
| name* | string |
POST/quotes/{quote}/duplicateDuplicate (quote)quotes:write
curl -X POST https://notcha.cz/api/v1/quotes/{quote}/duplicate -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| quote* | integer · path |
GET/quotes/{quote}/pdf– the current state (a draft too)quotes:read
curl -X GET https://notcha.cz/api/v1/quotes/{quote}/pdf -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| quote* | integer · path |
POST/quotes/{quote}/send{recipients: [{name?, email}], message?}quotes:write
curl -X POST https://notcha.cz/api/v1/quotes/{quote}/send -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| quote* | integer · path |
Tělo požadavku
| recipients* | object[] | |
| message | string | null |
GET/quotes/{quote}/versionsVersions (quote)quotes:read
curl -X GET https://notcha.cz/api/v1/quotes/{quote}/versions -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| quote* | integer · path |
Odpověď (data)
| version* | integer | |
| created_at* | string |
Notifikace notifications:read · notifications:write
GET/notification-preferencesGet a notification settingsnotifications:read
curl -X GET https://notcha.cz/api/v1/notification-preferences -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| preferences* | array | |
| channels* | array | push only where the installation has VAPID keys |
| push* | object | `app` = this installation can push to the iOS / Android app, `devices` = how many of mine allowed it |
| recommended_email* | array | |
| quiet_hours* | object | null | |
| dnd_until* | string | null (date-time) | |
| urgent_bypass_quiet_hours* | boolean | |
| digest* | string | |
| digest_time* | string |
PATCH/notification-preferencesUpdate a notification settingsnotifications:write
curl -X PATCH https://notcha.cz/api/v1/notification-preferences -H "Authorization: Bearer $NOTCHA_TOKEN"
Tělo požadavku
| event | mention | assigned | comment | comment_task | comment_task_resolved | moved | completed | reopened | |
| events | array | several at once – "turn all e-mails off" / "turn the recommended on" |
| channel* | in_app | email | push | |
| scope* | global | tenant | |
| enabled* | boolean | null |
Odpověď (data)
| preferences* | array | |
| channels* | array | push only where the installation has VAPID keys |
| push* | object | `app` = this installation can push to the iOS / Android app, `devices` = how many of mine allowed it |
| recommended_email* | array | |
| quiet_hours* | object | null | |
| dnd_until* | string | null (date-time) | |
| urgent_bypass_quiet_hours* | boolean | |
| digest* | string | |
| digest_time* | string |
GET/notificationsList inboxesnotifications:read
curl -X GET https://notcha.cz/api/v1/notifications -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| filter | all | me | mentions | assigned | comments | due | unread | saved |
POST/notifications/read-allRead all (inbox)notifications:write
curl -X POST https://notcha.cz/api/v1/notifications/read-all -H "Authorization: Bearer $NOTCHA_TOKEN"
GET/notifications/unread-countBadge on the bell – polled by the SPAnotifications:read
curl -X GET https://notcha.cz/api/v1/notifications/unread-count -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| unread* | integer |
POST/notifications/{notification}/done"Hotovo" – leaves the Inbox; undo puts it backnotifications:write
curl -X POST https://notcha.cz/api/v1/notifications/{notification}/done -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| notification* | integer · path | The notification ID |
Tělo požadavku
| done | boolean |
POST/notifications/{notification}/readRead (inbox)notifications:write
curl -X POST https://notcha.cz/api/v1/notifications/{notification}/read -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| notification* | integer · path | The notification ID |
Tělo požadavku
| read | boolean |
POST/notifications/{notification}/save"Uložit" – kept in the Saved tab until unsavednotifications:write
curl -X POST https://notcha.cz/api/v1/notifications/{notification}/save -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| notification* | integer · path | The notification ID |
Tělo požadavku
| saved | boolean |
POST/notifications/{notification}/snooze"Odložit": hidden until the moment, then back on top as unread (notifications:wake);
null brings it back nownotifications:write
curl -X POST https://notcha.cz/api/v1/notifications/{notification}/snooze -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| notification* | integer · path | The notification ID |
Tělo požadavku
| until* | string | null (date-time) |
Nastavení settings:read · settings:write
GET/projects/{project}/automationsList automation rulessettings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/automations -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/automationsCreate a automation rulesettings:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/automations -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
GET/projects/{project}/automations/board– the active rules for the badges on the board's columns: the whole team sees what a column does, clients nothing; how often each ran in 30 dayssettings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/automations/board -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
DELETE/projects/{project}/automations/{automation}Delete a automation rulesettings:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/automations/{automation} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| automation* | integer · path | The automation ID |
PATCH/projects/{project}/automations/{automation}Update a automation rulesettings:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/automations/{automation} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| automation* | integer · path | The automation ID |
GET/projects/{project}/automations/{automation}/runs– the history of one rule, newest first (90 days)settings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/automations/{automation}/runs -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| automation* | integer · path | The automation ID |
| failed | boolean |
Odpověď (data)
| id* | integer | |
| at* | string | null | |
| ticket* | object | null | |
| actor* | object | null | |
| trigger* | string | null | |
| status* | string | |
| results* | object[] |
GET/projects/{project}/custom-fieldsList custom fieldssettings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/custom-fields -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/custom-fieldsCreate a custom fieldsettings:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/custom-fields -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
PUT/projects/{project}/custom-fields/orderReorder (custom field)settings:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/custom-fields/order -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| ids* | integer[] |
DELETE/projects/{project}/custom-fields/{field}Delete a custom fieldsettings:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/custom-fields/{field} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| field* | integer · path | The field ID |
PATCH/projects/{project}/custom-fields/{field}Update a custom fieldsettings:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/custom-fields/{field} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| field* | integer · path | The field ID |
GET/projects/{project}/formsList intake formssettings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/forms -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| id* | integer | |
| name* | string | |
| intro* | string | null | |
| enabled* | boolean | |
| access* | string | |
| fields* | object[] | |
| column_id* | integer | null | |
| type_id* | integer | null | |
| assignee_id* | integer | null | |
| label_ids* | integer[] | |
| url* | string | |
| stats* | object | |
| created_at* | string | null |
POST/projects/{project}/formsCreate a intake formsettings:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/forms -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| name* | string |
Odpověď (data)
| id* | integer | |
| name* | string | |
| intro* | string | null | |
| enabled* | boolean | |
| access* | string | |
| fields* | object[] | |
| column_id* | integer | null | |
| type_id* | integer | null | |
| assignee_id* | integer | null | |
| label_ids* | integer[] | |
| url* | string | |
| stats* | object | |
| created_at* | string | null |
DELETE/projects/{project}/forms/{form}Delete a intake formsettings:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/forms/{form} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| form* | integer · path |
GET/projects/{project}/forms/{form}Get a intake formsettings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/forms/{form} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| form* | integer · path |
Odpověď (data)
| id* | integer | |
| name* | string | |
| intro* | string | null | |
| enabled* | boolean | |
| access* | string | |
| fields* | object[] | |
| column_id* | integer | null | |
| type_id* | integer | null | |
| assignee_id* | integer | null | |
| label_ids* | integer[] | |
| url* | string | |
| stats* | object | |
| created_at* | string | null |
PATCH/projects/{project}/forms/{form}Update a intake formsettings:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/forms/{form} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| form* | integer · path |
Tělo požadavku
| name | string | |
| intro | string | null | |
| enabled | boolean | |
| access | public | clients | |
| fields | string[] | |
| column_id | integer | null | |
| type_id | integer | null | |
| assignee_id | integer | null | |
| label_ids | string[] |
Odpověď (data)
| id* | integer | |
| name* | string | |
| intro* | string | null | |
| enabled* | boolean | |
| access* | string | |
| fields* | object[] | |
| column_id* | integer | null | |
| type_id* | integer | null | |
| assignee_id* | integer | null | |
| label_ids* | integer[] | |
| url* | string | |
| stats* | object | |
| created_at* | string | null |
GET/projects/{project}/mailboxGet a project mailboxsettings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/mailbox -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
PUT/projects/{project}/mailbox{enabled, column_id?} – the first save makes the addresssettings:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/mailbox -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| enabled* | boolean | |
| column_id | integer | null |
Odpověď (data)
| enabled* | boolean | |
| address* | string | null | |
| column_id* | integer | null | |
| received* | integer | |
| last_received_at* | string | null (date-time) | |
| recent* | object[] |
POST/projects/{project}/mailbox/regenerate– a new code, the old address stops at oncesettings:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/mailbox/regenerate -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| enabled* | boolean | |
| address* | string | null | |
| column_id* | integer | null | |
| received* | integer | |
| last_received_at* | string | null (date-time) | |
| recent* | object[] |
GET/projects/{project}/ticket-typesList ticket typessettings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/ticket-types -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
POST/projects/{project}/ticket-typesCreate a ticket typesettings:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/ticket-types -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| name* | string | |
| icon | string | null | |
| color | string | |
| is_default | boolean | |
| default_assignee_id | integer | null | |
| default_team_id | integer | null |
PUT/projects/{project}/ticket-types/orderReorder (ticket type)settings:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/ticket-types/order -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| ids* | integer[] |
DELETE/projects/{project}/ticket-types/{type}Delete a ticket typesettings:write
curl -X DELETE https://notcha.cz/api/v1/projects/{project}/ticket-types/{type} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| type* | integer · path | |
| target_type_id | integer | null |
PATCH/projects/{project}/ticket-types/{type}Update a ticket typesettings:write
curl -X PATCH https://notcha.cz/api/v1/projects/{project}/ticket-types/{type} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
| type* | integer · path |
Tělo požadavku
| name | string | |
| icon | string | null | |
| color | string | |
| is_default | boolean | |
| default_assignee_id | integer | null | |
| default_team_id | integer | null |
GET/projects/{project}/widgetGet a feedback widgetsettings:read
curl -X GET https://notcha.cz/api/v1/projects/{project}/widget -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| token* | string | |
| enabled* | boolean | |
| allowed_origins* | string[] | |
| button_label* | string | null | |
| accent* | string | |
| position* | string | |
| require_email* | boolean | |
| column_id* | integer | null | |
| submissions* | integer | |
| spam_caught* | integer | |
| script_url* | string | |
| embed* | string |
PUT/projects/{project}/widgetUpdate a feedback widgetsettings:write
curl -X PUT https://notcha.cz/api/v1/projects/{project}/widget -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Tělo požadavku
| enabled | boolean | |
| allowed_origins | array | |
| button_label | string | null | |
| accent | string | |
| position | right | left | |
| require_email | boolean | |
| column_id | integer | null |
POST/projects/{project}/widget/tokenRegenerate (feedback widget)settings:write
curl -X POST https://notcha.cz/api/v1/projects/{project}/widget/token -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| project* | string · path | Project key, e.g. WEB |
Odpověď (data)
| token* | string | |
| enabled* | boolean | |
| allowed_origins* | string[] | |
| button_label* | string | null | |
| accent* | string | |
| position* | string | |
| require_email* | boolean | |
| column_id* | integer | null | |
| submissions* | integer | |
| spam_caught* | integer | |
| script_url* | string | |
| embed* | string |
GET/sla-policiesList sla policiessettings:read
curl -X GET https://notcha.cz/api/v1/sla-policies -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| name* | string | |
| targets* | object | |
| business_hours_only* | boolean | |
| timezone* | string | |
| day_start* | string | |
| day_end* | string | |
| country* | string | |
| projects_count* | integer |
POST/sla-policiesCreate a sla policysettings:write
curl -X POST https://notcha.cz/api/v1/sla-policies -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| name* | string | |
| targets* | object | |
| business_hours_only* | boolean | |
| timezone* | string | |
| day_start* | string | |
| day_end* | string | |
| country* | string | |
| projects_count* | integer |
DELETE/sla-policies/{policy}Delete a sla policysettings:write
curl -X DELETE https://notcha.cz/api/v1/sla-policies/{policy} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| policy* | integer · path | The policy ID |
PATCH/sla-policies/{policy}Update a sla policysettings:write
curl -X PATCH https://notcha.cz/api/v1/sla-policies/{policy} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| policy* | integer · path | The policy ID |
Odpověď (data)
| id* | integer | |
| name* | string | |
| targets* | object | |
| business_hours_only* | boolean | |
| timezone* | string | |
| day_start* | string | |
| day_end* | string | |
| country* | string | |
| projects_count* | integer |
PATCH/tenants/{tenant}Update a tenant adminsettings:write
curl -X PATCH https://notcha.cz/api/v1/tenants/{tenant} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
Tělo požadavku
| name | string | |
| brand_color | string | null | |
| currency | CZK | EUR | |
| default_holiday_country | CZ | DE | |
| locale | cs | en | |
| team_notify | all | lead | none | who hears about a ticket in a team's queue unless the team or project says otherwise (NOT-3) |
Odpověď (data)
| id* | integer | |
| name* | string | |
| slug* | string | |
| brand_color* | string | null | |
| logo_url* | string | null | |
| currency* | string | |
| locale* | string | |
| default_holiday_country* | string | |
| team_notify* | string |
GET/tenants/{tenant}/usageUsage of the tenant against its plan and storage per project, for its adminssettings:read
curl -X GET https://notcha.cz/api/v1/tenants/{tenant}/usage -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| tenant* | integer · path | Organization ID (GET /tenants) |
Webhooky webhooks:read · webhooks:write
GET/webhooksList webhookswebhooks:read
curl -X GET https://notcha.cz/api/v1/webhooks -H "Authorization: Bearer $NOTCHA_TOKEN"
Odpověď (data)
| id* | integer | |
| url* | string | |
| project_id* | integer | null | |
| events* | string[] | |
| is_active* | boolean | |
| last_status* | integer | null | |
| failure_count* | integer | |
| created_at* | string | null (date-time) |
POST/webhooksCreate a webhookwebhooks:write
curl -X POST https://notcha.cz/api/v1/webhooks -H "Authorization: Bearer $NOTCHA_TOKEN"
DELETE/webhooks/{webhook}Delete a webhookwebhooks:write
curl -X DELETE https://notcha.cz/api/v1/webhooks/{webhook} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| webhook* | integer · path | The webhook ID |
PATCH/webhooks/{webhook}Update a webhookwebhooks:write
curl -X PATCH https://notcha.cz/api/v1/webhooks/{webhook} -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| webhook* | integer · path | The webhook ID |
GET/webhooks/{webhook}/deliveriesDeliveries (webhook)webhooks:read
curl -X GET https://notcha.cz/api/v1/webhooks/{webhook}/deliveries -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| webhook* | integer · path | The webhook ID |
Odpověď (data)
| id* | integer | |
| event* | string | |
| response_code* | integer | null | |
| attempts* | integer | |
| delivered_at* | string | null (date-time) | |
| created_at* | string | null (date-time) | |
| payload* | object |
POST/webhooks/{webhook}/deliveries/{delivery}/redeliverRedeliver (webhook)webhooks:write
curl -X POST https://notcha.cz/api/v1/webhooks/{webhook}/deliveries/{delivery}/redeliver -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| webhook* | integer · path | The webhook ID |
| delivery* | integer · path | The delivery ID |
POST/webhooks/{webhook}/testSends a signed "ping" right away and reports the answer – to check URL and signature handlingwebhooks:write
curl -X POST https://notcha.cz/api/v1/webhooks/{webhook}/test -H "Authorization: Bearer $NOTCHA_TOKEN"
Parametry
| webhook* | integer · path | The webhook ID |
Vygenerováno z kódu, verze API 1.0.0.