Conversations
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
POST | |
POST | |
GET | |
GET | |
POST | |
GET | |
PATCH | |
DELETE |
Create conversations tickets bulk update status
Update the status of multiple tickets in a single request.
Only tickets belonging to the current team are affected; other-team UUIDs are silently ignored. Tickets already in the requested status are skipped.
Request parameters
- idsarray
- status
Response
Example request
POST /api /projects /:project_id /conversations /tickets /bulk_update_statusExample response
Status 200
Create conversations tickets bulk update tags
Bulk update tags on multiple objects.
PAT access: this action has no required_scopes= on the decorator —
inheriting viewsets must add "bulk_update_tags" to their
scope_object_write_actions list to accept personal API keys.
Without that opt-in, APIScopePermission rejects PAT requests with
"This action does not support personal API key access". Done per-viewset
so granting <scope>:write for one resource doesn't leak access to
sibling resources that share this mixin.
Accepts:
- {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]}
Actions:
- "add": Add tags to existing tags on each object
- "remove": Remove specific tags from each object
- "set": Replace all tags on each object with the provided list
Request parameters
- idsarray
- action
- tagsarray
Response
Example request
POST /api /projects /:project_id /conversations /tickets /bulk_update_tagsExample response
Status 200
Create conversations tickets compose
Create a new outbound ticket and send the first message to the customer.
Required API key scopes
ticket:writeRequest parameters
- recipient_emailstring
- recipient_distinct_idstring
- email_subjectstring
- email_config_idstring
- messagestring
- rich_content
Response
Example request
POST /api /projects /:project_id /conversations /tickets /composeExample response
Status 201
Status 400
Retrieve conversations tickets unread count
Get total unread ticket count for the team.
Returns the sum of unread_team_count for all non-resolved tickets. Cached in Redis for 30 seconds, invalidated on changes.
Required API key scopes
ticket:readResponse
Example request
GET /api /projects /:project_id /conversations /tickets /unread_countExample response
Status 200
List all conversations views
Required API key scopes
ticket:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /conversations /viewsExample response
Status 200
Create conversations views
Required API key scopes
ticket:writeRequest parameters
- namestring
- filtersobject
- is_favoritedboolean
Response
Example request
POST /api /projects /:project_id /conversations /viewsExample response
Status 201
Retrieve conversations views
Required API key scopes
ticket:readPath parameters
- short_idstring
Response
Example request
GET /api /projects /:project_id /conversations /views /:short_idExample response
Status 200
Update conversations views
Required API key scopes
ticket:writePath parameters
- short_idstring
Request parameters
- namestring
- filtersobject
- is_favoritedboolean
Response
Example request
PATCH /api /projects /:project_id /conversations /views /:short_idExample response
Status 200
Delete conversations views
Required API key scopes
ticket:writePath parameters
- short_idstring
Example request
DELETE /api /projects /:project_id /conversations /views /:short_id