Class Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassign()delete()Deletes a message thread by IDs.entries()get()Returns a message thread by ID.list()list(MthListThreadsParameters queryParams) Returns a paginated list of message threads for the specified account according to the specified criteria.messages()notes()path()resolve()sync()
-
Field Details
-
rc
-
parent
-
threadId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
public MessageThreadList list(MthListThreadsParameters queryParams) throws RestException, IOException Returns a paginated list of message threads for the specified account according to the specified criteria.Different filters are combined with logical "AND", different values for the same filter (if supported) are combined with logical "OR".
Only threads that accessible for a current authorized user are returned. The records are sorted by `creationTime` in ascending order.
HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads Rate Limit Group: Medium App Permission: SMS
- Throws:
RestExceptionIOException
-
list
- Throws:
RestExceptionIOException
-
get
Returns a message thread by ID.API returns a 403 error if the current user does not have access to the given thread.
HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId} Rate Limit Group: Medium App Permission: SMS
- Throws:
RestExceptionIOException
-
delete
Deletes a message thread by IDs.Technically this operation just sets thread's `availability` to `Deleted`. API returns a 403 error if the current user does not have access to the given thread.
Once the thread is deleted its `assignee` attribute is cleared automatically.
HTTP Method: delete Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/{threadId} Rate Limit Group: Medium App Permission: SMS
- Throws:
RestExceptionIOException
-
sync
-
notes
-
notes
-
assign
-
entries
-
resolve
-
messages
-