Skip to main content
GET
/
realtime
/
room.didCohostInviteAccept
room cohost invitation accepted
curl --request GET \
  --url https://apix.us.amity.co/realtime/room.didCohostInviteAccept
{
  "data": {
    "invitations": [
      {
        "_id": "690c6b1a2b055f909ff1c9a1",
        "networkId": "606f37a0ae601e3c33eba9e3",
        "type": "livestreamCohostInvite",
        "targetId": "690c6a641b055f909ff1c8e1",
        "targetType": "room",
        "userId": "690c6a0bfb181288c0325727",
        "status": "approved",
        "createdBy": "690c6a0bfb181288c0325726",
        "respondedAt": "2025-11-06T10:02:00.000Z",
        "createdAt": "2025-11-06T10:01:00.000Z",
        "updatedAt": "2025-11-06T10:02:00.000Z",
        "invitationId": "690c6b1a2b055f909ff1c9a1",
        "invitedUserId": "testcohost-456-789",
        "invitedUserPublicId": "testcohost-456-789",
        "invitedUserInternalId": "690c6a0bfb181288c0325727",
        "inviterUserId": "teste2c39fe5-d5fc-4943-a9be-cf54ad4d0825",
        "inviterUserPublicId": "teste2c39fe5-d5fc-4943-a9be-cf54ad4d0825",
        "inviterUserInternalId": "690c6a0bfb181288c0325726"
      }
    ],
    "users": [
      {
        "_id": "690c6a0bfb181288c0325726",
        "path": "606f37a0ae601e3c33eba9e3/user/690c6a0bfb181288c0325726",
        "displayName": "Stamm - O'Reilly",
        "userId": "teste2c39fe5-d5fc-4943-a9be-cf54ad4d0825"
      },
      {
        "_id": "690c6a0bfb181288c0325727",
        "path": "606f37a0ae601e3c33eba9e3/user/690c6a0bfb181288c0325727",
        "displayName": "Invited Co-host",
        "userId": "testcohost-456-789"
      }
    ]
  },
  "eventType": "room.didCohostInviteAccept",
  "id": "690c6a0bfb181288c0325727",
  "networkId": "606f37a0ae601e3c33eba9e3",
  "path": "606f37a0ae601e3c33eba9e3/rooms/690c6a641b055f909ff1c8e1",
  "senderId": "asc-app-c1-588c759896-pmzz8-1",
  "sentTime": "2025-11-06T10:02:00.456Z",
  "version": 1
}

Response

200 - application/json

RTE data for room.didCohostInviteAccept event

id
string

The accepted user ID (internal)

Example:

"690c6a0bfb181288c0325727"

data
object
networkId
string

ID of the network.

path
string

A topic path for subscription.

eventType
string

Name of the event.

senderId
string

ID of sender node.

sendTime
string<date-time>

The date/time when event was sent.

version
string

Version of API