Query parameters

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data object
      Hide data attributes Show data attributes object
GET /chat/room
curl \
 --request GET 'https://sandbox.serchservice.com/api/v1/chat/room?roommate=string' \
 --header "X-Serch-Signed: $API_KEY" \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Serch-Drive-Api-Key: $API_KEY" \
 --header "X-Serch-Drive-Secret-Key: $API_KEY" \
 --header "X-Serch-Guest-Api-Key: $API_KEY" \
 --header "X-Serch-Guest-Secret-Key: $API_KEY"
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": {
    "room": "string",
    "roommate": "string",
    "name": "string",
    "avatar": "string",
    "category": "string",
    "image": "string",
    "label": "string",
    "message": "string",
    "status": "SENDING",
    "count": 42,
    "bookmark": "string",
    "trip": "string",
    "schedule": {
      "id": "string",
      "time": "string",
      "avatar": "string",
      "name": "string",
      "category": "string",
      "image": "string",
      "status": "PENDING",
      "reason": "string",
      "label": "string",
      "rating": 42.0,
      "snt": "string",
      "created_at": "2025-05-04T09:42:00Z",
      "closed_by": "string",
      "closed_at": "string",
      "closed_on_time": true
    },
    "groups": [
      {
        "label": "string",
        "time": "2025-05-04T09:42:00Z",
        "messages": [
          {
            "id": "string",
            "label": "string",
            "room": "string",
            "message": "string",
            "status": "SENDING",
            "type": "TEXT",
            "duration": "string",
            "name": "string",
            "reply": {
              "id": "string",
              "label": "string",
              "message": "string",
              "duration": "string",
              "type": "TEXT",
              "sender": "string",
              "status": "SENDING",
              "has_only_emojis": true,
              "has_only_one_emoji": true,
              "file_size": "string",
              "is_sent_by_current_user": true
            },
            "has_only_emojis": true,
            "has_only_one_emoji": true,
            "file_size": "string",
            "is_sent_by_current_user": true,
            "sent_at": "2025-05-04T09:42:00Z"
          }
        ]
      }
    ],
    "is_active": true,
    "message_id": "string",
    "last_seen": "string",
    "is_bookmarked": true,
    "sent_at": "2025-05-04T09:42:00Z"
  }
}