chat

Get or create a DM room with another user

post/v1/chat/rooms/dm

Request body

otherUserIdstring uuid required

Response

Successful response

idstring required
type'dm' | 'group' | 'swap' | 'duel' | 'clan' | 'post' required
typeIdstring nullable required
typeNamestring nullable required
visibility'public' | 'private' required
namestring nullable required
imageUrlstring nullable required
channelNamestring required
createdAtstring required
unreadCountinteger required
lastReadAtstring required
lastReadMessageIdstring nullable
mutedboolean required
isPinnedboolean
pinnedAtstring nullable
isArchivedboolean
archivedAtstring nullable
status'accepted' | 'pending' | 'declined'
myRole'owner' | 'admin' | 'member'
isBannedboolean
memberCountinteger

Changes

Changed in 5 of the 21 revisions of this API.36

    • added the optional property messages/items/quoted_post/anyOf[BasePost]/recap_content/anyOf[RecapContent]/translations to the response with the 200 status

      response-optional-property-added

    • added the optional property messages/items/platform to the response with the 200 status

      response-optional-property-added

    • added the required property lastMessage/anyOf[subschema #1]/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property lastMessage/anyOf[subschema #1]/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/forwarded_from/anyOf[ForwardedFromMessage]/user/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/forwarded_from/anyOf[ForwardedFromMessage]/user/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/pinned_by/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/pinned_by/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/quoted_post/anyOf[BasePost]/copiedUser/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/quoted_post/anyOf[BasePost]/copiedUser/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/quoted_post/anyOf[BasePost]/copiers/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/quoted_post/anyOf[BasePost]/copiers/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/quoted_post/anyOf[BasePost]/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/quoted_post/anyOf[BasePost]/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/quoted_post/anyOf[BasePost]/user/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/quoted_post/anyOf[BasePost]/user/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/reply_to/anyOf[ReplyToMessage]/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/reply_to/anyOf[ReplyToMessage]/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/reply_to/anyOf[ReplyToMessage]/user/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/reply_to/anyOf[ReplyToMessage]/user/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/user/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property messages/items/user/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property otherMembers/items/user/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property otherMembers/items/user/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property recentMessages/items/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property recentMessages/items/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the optional property messages/items/link_preview/anyOf[LinkPreview]/isPlayable to the response with the 200 status

      response-optional-property-added

    • added the optional property messages/items/quoted_post/anyOf[BasePost]/link_preview/anyOf[LinkPreview]/isPlayable to the response with the 200 status

      response-optional-property-added

    • added the optional property lastMessage/anyOf[subschema #1]/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property messages/items/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property messages/items/quoted_post/anyOf[BasePost]/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property messages/items/reply_to/anyOf[ReplyToMessage]/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property recentMessages/items/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property messages/items/reply_to/anyOf[ReplyToMessage]/mentioned_users to the response with the 200 status

      response-optional-property-added