Create a Chat Room Invitation
Inviting a user in a chatroom
post/
Request
- Base URLhttps://cf-blast.livelikecdn.com/api/v1/chat-room-invitations
- URLhttps://cf-blast.livelikecdn.com/api/v1/chat-room-invitations/
- Authnone required
Headers
Authorizationstring
Bearer {Token} of the user who is sending the invite
Request body
Response
201
Example response
{
"id": "9786579e-9062-42ed-aa34-fda95a050ed5",
"url": "https://cf-blast.livelikecdn.com/api/v1/chat-room-invitations/9786579e-9062-42ed-aa34-fda95a050ed5/",
"created_at": "2021-10-12T14:11:15.028377Z",
"status": "pending",
"invited_profile": {
"id": "cb3bd893-00eb-486b-8f40-bb198aa1f595",
"url": "https://cf-blast.livelikecdn.com/api/v1/profiles/cb3bd893-00eb-486b-8f40-bb198aa1f595/",
"created_at": "2021-09-17T10:30:56.891495Z",
"nickname": "Avinash Mishra",
"badges_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/cb3bd893-00eb-486b-8f40-bb198aa1f595/badges/",
"badge_progress_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/cb3bd893-00eb-486b-8f40-bb198aa1f595/badge-progress/",
"subscribe_channel": "profile.cb3bd893-00eb-486b-8f40-bb198aa1f595",
"chat_room_memberships_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/cb3bd893-00eb-486b-8f40-bb198aa1f595/chat-room-memberships/"
},
"chat_room": {
"id": "6c932689-3a92-46c5-95ef-2855d0ceed41",
"url": "https://cf-blast.livelikecdn.com/api/v1/chat-rooms/6c932689-3a92-46c5-95ef-2855d0ceed41/",
"client_id": "f1chnK2agE6OXrK5i5pJialmiStntuL8OaKcFEbf",
"title": "boom",
"created_at": "2021-10-12T14:11:04.882466Z",
"content_filter": "none",
"visibility": "members",
"channels": {
"chat": {
"pubnub": "chatroom.6c932689-3a92-46c5-95ef-2855d0ceed41"
},
"reactions": {
"pubnub": "chatroom.reactions.6c932689-3a92-46c5-95ef-2855d0ceed41"
},
"control": {
"pubnub": "chatroom.control.6c932689-3a92-46c5-95ef-2855d0ceed41"
}
},
"report_message_url": "https://cf-blast.livelikecdn.com/api/v1/chat-rooms/6c932689-3a92-46c5-95ef-2855d0ceed41/report-chat-message/",
"reported_messages_url": "https://cf-blast.livelikecdn.com/api/v1/reported-chat-room-messages/?chat_room_id=6c932689-3a92-46c5-95ef-2855d0ceed41&status=pending",
"delete_message_url": "https://cf-blast.livelikecdn.com/api/v1/chat-rooms/6c932689-3a92-46c5-95ef-2855d0ceed41/delete-chat-message/",
"upload_url": "https://cf-blast.livelikecdn.com/api/v1/chat-rooms/6c932689-3a92-46c5-95ef-2855d0ceed41/upload/",
"memberships_url": "https://cf-blast.livelikecdn.com/api/v1/chat-rooms/6c932689-3a92-46c5-95ef-2855d0ceed41/memberships/",
"muted_status_url_template": "https://cf-blast.livelikecdn.com/api/v1/chat-rooms/6c932689-3a92-46c5-95ef-2855d0ceed41/muted-status/{profile_id}/",
"custom_messages_url": "https://cf-blast.livelikecdn.com/api/v1/chat-rooms/6c932689-3a92-46c5-95ef-2855d0ceed41/custom-messages/",
"sticker_packs_url": "https://cf-blast-storage.livelikecdn.com/sticker-packs/6c932689-3a92-46c5-95ef-2855d0ceed41/sticker_packs.json",
"reaction_packs_url": "https://cf-blast-storage.livelikecdn.com/reaction-packs/6c932689-3a92-46c5-95ef-2855d0ceed41/reaction_packs.json",
"sponsors_url": "https://cf-blast-storage.livelikecdn.com/sponsors/6c932689-3a92-46c5-95ef-2855d0ceed41/sponsors.json"
},
"invited_by": {
"id": "c8d2922f-8324-4a9a-97f6-88851c53d331",
"url": "https://cf-blast.livelikecdn.com/api/v1/profiles/c8d2922f-8324-4a9a-97f6-88851c53d331/",
"created_at": "2021-06-10T07:54:36.470604Z",
"nickname": "Gautam Aggarwal",
"badges_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/c8d2922f-8324-4a9a-97f6-88851c53d331/badges/",
"badge_progress_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/c8d2922f-8324-4a9a-97f6-88851c53d331/badge-progress/",
"subscribe_channel": "profile.c8d2922f-8324-4a9a-97f6-88851c53d331",
"chat_room_memberships_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/c8d2922f-8324-4a9a-97f6-88851c53d331/chat-room-memberships/"
},
"chat_room_id": "6c932689-3a92-46c5-95ef-2855d0ceed41",
"invited_profile_id": "cb3bd893-00eb-486b-8f40-bb198aa1f595"
}Changes
No recorded changes to this operation across all 1 revision of this API.