Get the one-on-one conversation for the specified users.
get
/social/api/v1/people/{firstPersonID}/chats/{secondPersonID}
This method does not create the one-on-one conversation if it does not already exist.
Request
Supported Media Types
- application/json
Path Parameters
-
firstPersonID: integer(int64)
The ID of the first user in the one-on-one conversation. The ordering of the first and second person IDs does not matter. The object's unique identifier from a long integer representation.
-
secondPersonID: integer(int64)
The ID of the second user in the one-on-one conversation. The ordering of the first and second person IDs does not matter. The object's unique identifier from a long integer representation.
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : XV1ConversationInfo
Type:
object
V1 Conversation Information DTO.
Show Source
-
allMembershipsURL(optional):
string(url)
A URL to the hierarchical memberships of this conversation.
-
altitude(optional):
number(double)
The object's altitude.
-
archiveURL(optional):
string(url)
A URL to the archive of this conversation.
-
collectionURL(optional):
string(url)
A URL to this object's containing collection.
-
conversationURL(optional):
string(url)
A URL to this object's containing conversation.
-
createdByID(optional):
An object's unique identifier from a long integer representation.
-
createdByURL(optional):
string(url)
A URL to the user that created this object.
-
createdByUserDisplayName(optional):
string
The display name of the user that created this object.
-
createdByUserName(optional):
string
The name of the user that created this object.
-
createdDate(optional):
string(date)
The date this object was created.
-
createdDateInISO8601Format(optional):
string
The date this object was created, in ISO 8601 format.
-
dateFormatLocale(optional):
string(locale)
The locale of the appropriate date format for this conversation.
-
discoverableID(optional):
An object's unique identifier from a long integer representation.
-
displayName(optional):
string
The display name of this object.
-
externalID(optional):
string
The primary external ID of this conversation.
-
folderID(optional):
An object's unique identifier from a long integer representation.
-
folderURL(optional):
string(url)
A URL to the root folder of this conversation.
-
gadgetsURL(optional):
string(url)
A URL to the gadgets of this conversation.
-
hasMembersLocked(optional):
boolean
True if the membership of this conversation is locked.
-
hierarchicalMembersInfo(optional):
object XV1HierarchicalMembersInfo
V1 Hierarchical Members Information DTO.
-
id(optional):
An object's unique identifier from a long integer representation.
-
isDisallowGuests(optional):
boolean
True if this conversation does not allow guest users.
-
isDisallowOutsiders(optional):
boolean
True if this conversation does not allow outsider users.
-
isDiscoverable(optional):
boolean
True if this conversation is discoverable (public).
-
isExtendedAccessControl(optional):
boolean
True if this conversation uses extended access control.
-
isMuted(optional):
boolean
True if this conversation is muted for the current user.
-
isNew(optional):
boolean
True if this conversation has not been entered by the current user.
-
isRemoved(optional):
boolean
True if this message has been removed.
-
isScoped(optional):
boolean
True if the membership of this conversation is scoped by another conversation.
-
isScoping(optional):
boolean
True if this is a scoping conversation.
-
isScopingSame(optional):
boolean
True if this conversation is scoped to have the same membership as another conversation.
-
languageLocale(optional):
string(locale)
The language locale for this conversation.
-
latitude(optional):
number(double)
The object's latitude.
-
likesURL(optional):
string(url)
A URL to the likes of this conversation.
-
longitude(optional):
number(double)
The object's longitude.
-
membershipsURL(optional):
string(url)
A URL to the memberships of this conversation.
-
membersURL(optional):
string(url)
A URL to the members of this conversation.
-
messagesURL(optional):
string(url)
A URL to the messages in this conversation.
-
modifiedByID(optional):
An object's unique identifier from a long integer representation.
-
modifiedByURL(optional):
string(url)
A URL to the user that last modified this object.
-
modifiedByUserDisplayName(optional):
string
The display name of the user that last modified this object.
-
modifiedByUserName(optional):
string
The name of the user that last modified this object.
-
modifiedDate(optional):
string(date)
The date this object was last modified.
-
modifiedDateInISO8601Format(optional):
string
The date this object was last modified, in ISO 8601 format.
-
name(optional):
string
The name of this object.
-
nChats(optional):
integer(int32)
The number of chats in this conversation. (total chats less deleted chats.)
-
nFollowups(optional):
integer(int32)
The number of followups in the conversation.
-
nMarkableChats(optional):
integer(int32)
The number of chats that could be marked read. (Total markable less deleted markable. Does not depend on the current user.)
-
nOutsiders(optional):
integer(int32)
Count of the outside users.
-
nUnread(optional):
integer(int32)
The number of chats that the current user can mark read.
-
objectType(optional):
string
The type of this object.
-
originalPictureURL(optional):
string(url)
The original picture URL.
-
profilePictureURL(optional):
string(url)
The profile picture URL (150 px by 150 px).
-
propertiesURL(optional):
string(url)
A URL to the properties of this conversation.
-
removedByID(optional):
An object's unique identifier from a long integer representation.
-
removedByURL(optional):
string(url)
A URL to the user that last removed this object.
-
removedByUserDisplayName(optional):
string
The display name of the user that last removed this object.
-
removedByUserName(optional):
string
The name of the user that last removed this object.
-
removedDate(optional):
string(date)
The date this object was removed.
-
removedDateInISO8601Format(optional):
string
The date this object was removed, in ISO 8601 format.
-
role(optional):
string
The current user's role in this conversation.
-
scaledPictureURL(optional):
string(url)
The scaled picture URL (44 px by 44 px).
-
secondaryExternalIDs(optional):
array secondaryExternalIDs
The secondary external IDs for this conversation.
-
securityContextID(optional):
string
The ID of the service that dictates the security for this conversation object.
-
socialObjectURL(optional):
string(url)
A URL to this object's containing collaboration object.
-
starsURL(optional):
string(url)
A URL to the stars of this conversation.
-
state(optional):
object XV1ConversationState
-
timeZone(optional):
string(timezone)
The time zone for this conversation.
-
url(optional):
string(url)
A URL to this object.
-
userPropertiesURL(optional):
string(url)
A URL to the user properties of this conversation.
-
wallPostControl(optional):
object XV1WallPostControlEnum
Nested Schema : XV1HierarchicalMembersInfo
Type:
object
V1 Hierarchical Members Information DTO.
Show Source
-
conversationAlreadyExists(optional):
boolean
Set to true if a conversation already exists when operationType is CREATE_CONVERSATION.
-
createdFolderIDs(optional):
object XV1FolderIDListInfo
List of folder IDs.
-
ignoredMembers(optional):
object XV1IgnoredMemberListInfo
List of ignored members.
-
ignoredUsers(optional):
object XV1IgnoredUserListInfo
List of ignored users.
-
operationType(optional):
object XV1HierarchicalMembersOperationType
-
removedFolderIDs(optional):
object XV1FolderIDListInfo
List of folder IDs.
Nested Schema : secondaryExternalIDs
Type:
array
The secondary external IDs for this conversation.
Show Source
-
Array of:
string
The secondary external IDs for this conversation.
Nested Schema : XV1ConversationState
Type:
Show Source
object
-
field(optional):
string
Allowed Values:
[ "CLOSED_CHAINED", "CLOSED_DISABLED", "CLOSED_DROPPED", "CLOSED_RESOLVED", "OPEN_ACTIVE" ]
V1 Conversation States.
Nested Schema : XV1WallPostControlEnum
Type:
Show Source
object
-
field(optional):
string
Allowed Values:
[ "ANYONE_CAN_POST", "OWNER_ONLY_POSTS", "OWNER_TOP_LEVEL" ]
V1 Wall Posting Control Enum.
Nested Schema : XV1FolderIDListInfo
Type:
object
List of folder IDs.
Show Source
-
hasMore(optional):
boolean
If true, there are more items to be returned.
-
ids(optional):
array ids
List of folder IDs.
-
nextURL(optional):
string(url)
Next page URL for the list. Null if this is the last page.
-
previousURL(optional):
string(url)
Previous page URL for the list. Null if this is the first page.
-
total(optional):
integer(int32)
If specified, this is the total number of available items. Null if the total is unknown.
Nested Schema : XV1IgnoredMemberListInfo
Type:
object
List of ignored members.
Show Source
-
groups(optional):
array groups
List of users.
-
hasMore(optional):
boolean
If true, there are more items to be returned.
-
nextURL(optional):
string(url)
Next page URL for the list. Null if this is the last page.
-
previousURL(optional):
string(url)
Previous page URL for the list. Null if this is the first page.
-
total(optional):
integer(int32)
If specified, this is the total number of available items. Null if the total is unknown.
-
users(optional):
array users
List of users.
Nested Schema : XV1IgnoredUserListInfo
Type:
object
List of ignored users.
Show Source
-
hasMore(optional):
boolean
If true, there are more items to be returned.
-
nextURL(optional):
string(url)
Next page URL for the list. Null if this is the last page.
-
previousURL(optional):
string(url)
Previous page URL for the list. Null if this is the first page.
-
total(optional):
integer(int32)
If specified, this is the total number of available items. Null if the total is unknown.
-
users(optional):
array users
List of users.
Nested Schema : XV1HierarchicalMembersOperationType
Type:
Show Source
object
-
field(optional):
string
Allowed Values:
[ "ASSOCIATE_CONVERSATION", "CREATE_CONVERSATION", "MOVE_FILE", "MOVE_FOLDER", "MOVE_MEMBERS", "REMOVE_MEMBERS", "REMOVE_MEMBERS_OBJECT", "SHARE_FOLDER" ]
V1 Users and Groups API Operation Types on Hierarchical Members.
Nested Schema : ids
Type:
array
List of folder IDs.
Show Source
-
Array of:
string
List of folder IDs.