Skip to content
Developer

ChatroomParticipant

Chat and notifications6 EndpointsChat / ChatroomParticipant

Returns a list of all ChatroomParticipants

GET/api/chat/chatroom_participant

Query parameters

chatroomstring_LIST
personstring_LIST
companystring_LIST
eventSignUpstring_LIST
deletedbooleanThis property is used to mark an entity as deleted / archived | _LIST
participantTypestring_LIST
chatbotProfilestringDas Profil, aus dem dieser Bot-Teilnehmer seine Vorgaben zieht. Nur bei participantType internal_ai_bot gesetzt. | _LIST
searchStringstringtext to search for in the list
orderFieldNamestringname of the order field
orderFieldSortstringsorting modeAllowed: DESCASC
pageintegerpage of the list
pageSizeintegernumber of entries for each page
withMaxPageNumberstringreturns the number of pages available as a header if this is set

Responses

200Returns a list of all ChatroomParticipantsarray<ChatroomParticipant2>

Show fields (24)
  • idinteger

    Primary key of the participant. Internal ID.

  • participant_typestring

    Type of the participant.

  • first_namestring

    First name of the participant.

  • last_namestring

    Last name of the participant.

  • nicknamestring

    Nickname of the participant.

  • preferred_color_hexstring

    Preferred color of the participant as hex value.

  • avatar_tokenstring

    Token of the avatar image.

  • last_read_atstring (date-time)

    A timestamp of the last time this participant read the chatroom

  • message_count_readinteger

    Number of messages read by the participant.

  • room_adminboolean

    A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

  • can_writeboolean

    A flag to indicate if this participant can write messages

  • is_mutedboolean

    A flag to indicate if this participant wants to receive notifications

  • messenger_channelstring

    sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

  • messenger_phone_numberstring

    Mobile number of the messenger participant, E.164 digits without +.

  • messenger_verified_atstring (date-time)

    Point in time the messenger was verified.

  • left_atstring (date-time)

    Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

  • left_reasonstring

    self | room_admin, siehe LEFT_REASON_*

  • notify_levelstring

    Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

  • muted_untilstring (date-time)

    Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

  • namestring

    Name of the entity.

  • image_urlstring

    URL of the image of the entity.

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/chat/chatroom_participant \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
[
  {
    "id": 42,
    "first_name": "Lena",
    "last_name": "Hartmann",
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "participant_type": "string",
    "nickname": "string",
    "preferred_color_hex": "string",
    "avatar_token": "string",
    "last_read_at": "2026-10-15T09:30:00+02:00"
  }
]

Add a new ChatroomParticipant

POST/api/chat/chatroom_participant

Request body application/json

  • dataChatroomParticipant3
    Show fields (31)
    • idinteger

      Primary key of the participant. Internal ID.

    • participant_typestring

      Type of the participant.

    • chatroomChatroom10

      Chat room the participant belongs to.

    • public_sessionPublicSession4

      Public session of the participant.

    • first_namestring

      First name of the participant.

    • last_namestring

      Last name of the participant.

    • nicknamestring

      Nickname of the participant.

    • preferred_color_hexstring

      Preferred color of the participant as hex value.

    • avatar_tokenstring

      Token of the avatar image.

    • last_read_atstring (date-time)

      A timestamp of the last time this participant read the chatroom

    • message_count_readinteger

      Number of messages read by the participant.

    • room_adminboolean

      A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

    • can_writeboolean

      A flag to indicate if this participant can write messages

    • is_mutedboolean

      A flag to indicate if this participant wants to receive notifications

    • auto_createdboolean

      A flag to indicate if this participant was auto created by being in a company or event

    • reply_modestring

      Override zum Antwortmodus des Profils: always | mention | question. Leer heisst: der Wert aus dem Profil gilt.

    • ai_auto_close_secret_wordstring

      A word as the last part of an ai reply that will close the chatroom. Used for AI bots.

    • ai_promptstring

      The system prompt for the AI bot. Used for AI bots.

    • ai_number_of_context_messagesinteger

      The number of messages we add to the context of the AI bot. Used for AI bots.

    • messenger_channelstring

      sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

    • messenger_phone_numberstring

      Mobile number of the messenger participant, E.164 digits without +.

    • messenger_verified_atstring (date-time)

      Point in time the messenger was verified.

    • left_atstring (date-time)

      Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

    • left_reasonstring

      self | room_admin, siehe LEFT_REASON_*

    • notify_levelstring

      Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

    • muted_untilstring (date-time)

      Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

    • image_urlstring

      URL of the image of the entity.

Responses

200Add a new ChatroomParticipantChatroomParticipant3

Show fields (31)
  • idinteger

    Primary key of the participant. Internal ID.

  • participant_typestring

    Type of the participant.

  • chatroomChatroom10

    Chat room the participant belongs to.

    Show fields (6)
    • idinteger

      Primary key of the chat room. Internal ID.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

    • image_urlstring

      URL of the image of the entity.

  • public_sessionPublicSession4

    Public session of the participant.

    Show fields (4)
    • idinteger

      Primary key of the public session. Internal ID.

    • tokenstring

      Token that identifies the public session.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

  • first_namestring

    First name of the participant.

  • last_namestring

    Last name of the participant.

  • nicknamestring

    Nickname of the participant.

  • preferred_color_hexstring

    Preferred color of the participant as hex value.

  • avatar_tokenstring

    Token of the avatar image.

  • last_read_atstring (date-time)

    A timestamp of the last time this participant read the chatroom

  • message_count_readinteger

    Number of messages read by the participant.

  • room_adminboolean

    A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

  • can_writeboolean

    A flag to indicate if this participant can write messages

  • is_mutedboolean

    A flag to indicate if this participant wants to receive notifications

  • auto_createdboolean

    A flag to indicate if this participant was auto created by being in a company or event

  • reply_modestring

    Override zum Antwortmodus des Profils: always | mention | question. Leer heisst: der Wert aus dem Profil gilt.

  • ai_auto_close_secret_wordstring

    A word as the last part of an ai reply that will close the chatroom. Used for AI bots.

  • ai_promptstring

    The system prompt for the AI bot. Used for AI bots.

  • ai_number_of_context_messagesinteger

    The number of messages we add to the context of the AI bot. Used for AI bots.

  • messenger_channelstring

    sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

  • messenger_phone_numberstring

    Mobile number of the messenger participant, E.164 digits without +.

  • messenger_verified_atstring (date-time)

    Point in time the messenger was verified.

  • left_atstring (date-time)

    Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

  • left_reasonstring

    self | room_admin, siehe LEFT_REASON_*

  • notify_levelstring

    Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

  • muted_untilstring (date-time)

    Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

  • namestring

    Name of the entity.

  • image_urlstring

    URL of the image of the entity.

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/chat/chatroom_participant \
  --header 'content-type: application/json' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --data '
{
  "data": {
    "id": 42,
    "first_name": "Lena",
    "last_name": "Hartmann",
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "participant_type": "string"
  }
}
'
Response 200 application/json
{
  "id": 42,
  "first_name": "Lena",
  "last_name": "Hartmann",
  "name": "Beispiel",
  "image_url": "https://vynst.de",
  "participant_type": "string",
  "chatroom": {
    "id": 42,
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00",
    "deleted": true
  },
  "public_session": {
    "id": 42,
    "token": "string",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00"
  },
  "nickname": "string",
  "preferred_color_hex": "string"
}

Returns a single ChatroomParticipant entry.

GET/api/chat/chatroom_participant/{identifier}

Path parameters

identifierrequiredstring

Responses

200Return single ChatroomParticipantChatroomParticipant3

Show fields (31)
  • idinteger

    Primary key of the participant. Internal ID.

  • participant_typestring

    Type of the participant.

  • chatroomChatroom10

    Chat room the participant belongs to.

    Show fields (6)
    • idinteger

      Primary key of the chat room. Internal ID.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

    • image_urlstring

      URL of the image of the entity.

  • public_sessionPublicSession4

    Public session of the participant.

    Show fields (4)
    • idinteger

      Primary key of the public session. Internal ID.

    • tokenstring

      Token that identifies the public session.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

  • first_namestring

    First name of the participant.

  • last_namestring

    Last name of the participant.

  • nicknamestring

    Nickname of the participant.

  • preferred_color_hexstring

    Preferred color of the participant as hex value.

  • avatar_tokenstring

    Token of the avatar image.

  • last_read_atstring (date-time)

    A timestamp of the last time this participant read the chatroom

  • message_count_readinteger

    Number of messages read by the participant.

  • room_adminboolean

    A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

  • can_writeboolean

    A flag to indicate if this participant can write messages

  • is_mutedboolean

    A flag to indicate if this participant wants to receive notifications

  • auto_createdboolean

    A flag to indicate if this participant was auto created by being in a company or event

  • reply_modestring

    Override zum Antwortmodus des Profils: always | mention | question. Leer heisst: der Wert aus dem Profil gilt.

  • ai_auto_close_secret_wordstring

    A word as the last part of an ai reply that will close the chatroom. Used for AI bots.

  • ai_promptstring

    The system prompt for the AI bot. Used for AI bots.

  • ai_number_of_context_messagesinteger

    The number of messages we add to the context of the AI bot. Used for AI bots.

  • messenger_channelstring

    sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

  • messenger_phone_numberstring

    Mobile number of the messenger participant, E.164 digits without +.

  • messenger_verified_atstring (date-time)

    Point in time the messenger was verified.

  • left_atstring (date-time)

    Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

  • left_reasonstring

    self | room_admin, siehe LEFT_REASON_*

  • notify_levelstring

    Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

  • muted_untilstring (date-time)

    Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

  • namestring

    Name of the entity.

  • image_urlstring

    URL of the image of the entity.

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/chat/chatroom_participant/42 \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "id": 42,
  "first_name": "Lena",
  "last_name": "Hartmann",
  "name": "Beispiel",
  "image_url": "https://vynst.de",
  "participant_type": "string",
  "chatroom": {
    "id": 42,
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00",
    "deleted": true
  },
  "public_session": {
    "id": 42,
    "token": "string",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00"
  },
  "nickname": "string",
  "preferred_color_hex": "string"
}

Updates an existing ChatroomParticipant entry.

PUT/api/chat/chatroom_participant/{identifier}

Path parameters

identifierrequiredstring

Request body application/json

  • dataChatroomParticipant3
    Show fields (31)
    • idinteger

      Primary key of the participant. Internal ID.

    • participant_typestring

      Type of the participant.

    • chatroomChatroom10

      Chat room the participant belongs to.

    • public_sessionPublicSession4

      Public session of the participant.

    • first_namestring

      First name of the participant.

    • last_namestring

      Last name of the participant.

    • nicknamestring

      Nickname of the participant.

    • preferred_color_hexstring

      Preferred color of the participant as hex value.

    • avatar_tokenstring

      Token of the avatar image.

    • last_read_atstring (date-time)

      A timestamp of the last time this participant read the chatroom

    • message_count_readinteger

      Number of messages read by the participant.

    • room_adminboolean

      A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

    • can_writeboolean

      A flag to indicate if this participant can write messages

    • is_mutedboolean

      A flag to indicate if this participant wants to receive notifications

    • auto_createdboolean

      A flag to indicate if this participant was auto created by being in a company or event

    • reply_modestring

      Override zum Antwortmodus des Profils: always | mention | question. Leer heisst: der Wert aus dem Profil gilt.

    • ai_auto_close_secret_wordstring

      A word as the last part of an ai reply that will close the chatroom. Used for AI bots.

    • ai_promptstring

      The system prompt for the AI bot. Used for AI bots.

    • ai_number_of_context_messagesinteger

      The number of messages we add to the context of the AI bot. Used for AI bots.

    • messenger_channelstring

      sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

    • messenger_phone_numberstring

      Mobile number of the messenger participant, E.164 digits without +.

    • messenger_verified_atstring (date-time)

      Point in time the messenger was verified.

    • left_atstring (date-time)

      Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

    • left_reasonstring

      self | room_admin, siehe LEFT_REASON_*

    • notify_levelstring

      Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

    • muted_untilstring (date-time)

      Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

    • image_urlstring

      URL of the image of the entity.

Responses

200Update single ChatroomParticipantChatroomParticipant3

Show fields (31)
  • idinteger

    Primary key of the participant. Internal ID.

  • participant_typestring

    Type of the participant.

  • chatroomChatroom10

    Chat room the participant belongs to.

    Show fields (6)
    • idinteger

      Primary key of the chat room. Internal ID.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

    • image_urlstring

      URL of the image of the entity.

  • public_sessionPublicSession4

    Public session of the participant.

    Show fields (4)
    • idinteger

      Primary key of the public session. Internal ID.

    • tokenstring

      Token that identifies the public session.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

  • first_namestring

    First name of the participant.

  • last_namestring

    Last name of the participant.

  • nicknamestring

    Nickname of the participant.

  • preferred_color_hexstring

    Preferred color of the participant as hex value.

  • avatar_tokenstring

    Token of the avatar image.

  • last_read_atstring (date-time)

    A timestamp of the last time this participant read the chatroom

  • message_count_readinteger

    Number of messages read by the participant.

  • room_adminboolean

    A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

  • can_writeboolean

    A flag to indicate if this participant can write messages

  • is_mutedboolean

    A flag to indicate if this participant wants to receive notifications

  • auto_createdboolean

    A flag to indicate if this participant was auto created by being in a company or event

  • reply_modestring

    Override zum Antwortmodus des Profils: always | mention | question. Leer heisst: der Wert aus dem Profil gilt.

  • ai_auto_close_secret_wordstring

    A word as the last part of an ai reply that will close the chatroom. Used for AI bots.

  • ai_promptstring

    The system prompt for the AI bot. Used for AI bots.

  • ai_number_of_context_messagesinteger

    The number of messages we add to the context of the AI bot. Used for AI bots.

  • messenger_channelstring

    sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

  • messenger_phone_numberstring

    Mobile number of the messenger participant, E.164 digits without +.

  • messenger_verified_atstring (date-time)

    Point in time the messenger was verified.

  • left_atstring (date-time)

    Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

  • left_reasonstring

    self | room_admin, siehe LEFT_REASON_*

  • notify_levelstring

    Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

  • muted_untilstring (date-time)

    Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

  • namestring

    Name of the entity.

  • image_urlstring

    URL of the image of the entity.

Request
curl --request PUT \
  --url https://your-instance.iw-erp.de/api/chat/chatroom_participant/42 \
  --header 'content-type: application/json' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --data '
{
  "data": {
    "id": 42,
    "first_name": "Lena",
    "last_name": "Hartmann",
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "participant_type": "string"
  }
}
'
Response 200 application/json
{
  "id": 42,
  "first_name": "Lena",
  "last_name": "Hartmann",
  "name": "Beispiel",
  "image_url": "https://vynst.de",
  "participant_type": "string",
  "chatroom": {
    "id": 42,
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00",
    "deleted": true
  },
  "public_session": {
    "id": 42,
    "token": "string",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00"
  },
  "nickname": "string",
  "preferred_color_hex": "string"
}

Updates an existing ChatroomParticipant entry.

PATCH/api/chat/chatroom_participant/{identifier}

Path parameters

identifierrequiredstring

Request body application/json

  • dataChatroomParticipant3
    Show fields (31)
    • idinteger

      Primary key of the participant. Internal ID.

    • participant_typestring

      Type of the participant.

    • chatroomChatroom10

      Chat room the participant belongs to.

    • public_sessionPublicSession4

      Public session of the participant.

    • first_namestring

      First name of the participant.

    • last_namestring

      Last name of the participant.

    • nicknamestring

      Nickname of the participant.

    • preferred_color_hexstring

      Preferred color of the participant as hex value.

    • avatar_tokenstring

      Token of the avatar image.

    • last_read_atstring (date-time)

      A timestamp of the last time this participant read the chatroom

    • message_count_readinteger

      Number of messages read by the participant.

    • room_adminboolean

      A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

    • can_writeboolean

      A flag to indicate if this participant can write messages

    • is_mutedboolean

      A flag to indicate if this participant wants to receive notifications

    • auto_createdboolean

      A flag to indicate if this participant was auto created by being in a company or event

    • reply_modestring

      Override zum Antwortmodus des Profils: always | mention | question. Leer heisst: der Wert aus dem Profil gilt.

    • ai_auto_close_secret_wordstring

      A word as the last part of an ai reply that will close the chatroom. Used for AI bots.

    • ai_promptstring

      The system prompt for the AI bot. Used for AI bots.

    • ai_number_of_context_messagesinteger

      The number of messages we add to the context of the AI bot. Used for AI bots.

    • messenger_channelstring

      sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

    • messenger_phone_numberstring

      Mobile number of the messenger participant, E.164 digits without +.

    • messenger_verified_atstring (date-time)

      Point in time the messenger was verified.

    • left_atstring (date-time)

      Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

    • left_reasonstring

      self | room_admin, siehe LEFT_REASON_*

    • notify_levelstring

      Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

    • muted_untilstring (date-time)

      Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

    • image_urlstring

      URL of the image of the entity.

Responses

200Update single ChatroomParticipantChatroomParticipant3

Show fields (31)
  • idinteger

    Primary key of the participant. Internal ID.

  • participant_typestring

    Type of the participant.

  • chatroomChatroom10

    Chat room the participant belongs to.

    Show fields (6)
    • idinteger

      Primary key of the chat room. Internal ID.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

    • image_urlstring

      URL of the image of the entity.

  • public_sessionPublicSession4

    Public session of the participant.

    Show fields (4)
    • idinteger

      Primary key of the public session. Internal ID.

    • tokenstring

      Token that identifies the public session.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

  • first_namestring

    First name of the participant.

  • last_namestring

    Last name of the participant.

  • nicknamestring

    Nickname of the participant.

  • preferred_color_hexstring

    Preferred color of the participant as hex value.

  • avatar_tokenstring

    Token of the avatar image.

  • last_read_atstring (date-time)

    A timestamp of the last time this participant read the chatroom

  • message_count_readinteger

    Number of messages read by the participant.

  • room_adminboolean

    A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

  • can_writeboolean

    A flag to indicate if this participant can write messages

  • is_mutedboolean

    A flag to indicate if this participant wants to receive notifications

  • auto_createdboolean

    A flag to indicate if this participant was auto created by being in a company or event

  • reply_modestring

    Override zum Antwortmodus des Profils: always | mention | question. Leer heisst: der Wert aus dem Profil gilt.

  • ai_auto_close_secret_wordstring

    A word as the last part of an ai reply that will close the chatroom. Used for AI bots.

  • ai_promptstring

    The system prompt for the AI bot. Used for AI bots.

  • ai_number_of_context_messagesinteger

    The number of messages we add to the context of the AI bot. Used for AI bots.

  • messenger_channelstring

    sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

  • messenger_phone_numberstring

    Mobile number of the messenger participant, E.164 digits without +.

  • messenger_verified_atstring (date-time)

    Point in time the messenger was verified.

  • left_atstring (date-time)

    Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

  • left_reasonstring

    self | room_admin, siehe LEFT_REASON_*

  • notify_levelstring

    Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

  • muted_untilstring (date-time)

    Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

  • namestring

    Name of the entity.

  • image_urlstring

    URL of the image of the entity.

Request
curl --request PATCH \
  --url https://your-instance.iw-erp.de/api/chat/chatroom_participant/42 \
  --header 'content-type: application/json' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --data '
{
  "data": {
    "id": 42,
    "first_name": "Lena",
    "last_name": "Hartmann",
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "participant_type": "string"
  }
}
'
Response 200 application/json
{
  "id": 42,
  "first_name": "Lena",
  "last_name": "Hartmann",
  "name": "Beispiel",
  "image_url": "https://vynst.de",
  "participant_type": "string",
  "chatroom": {
    "id": 42,
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00",
    "deleted": true
  },
  "public_session": {
    "id": 42,
    "token": "string",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00"
  },
  "nickname": "string",
  "preferred_color_hex": "string"
}

Delete a single ChatroomParticipant

DELETE/api/chat/chatroom_participant/{identifier}

Path parameters

identifierrequiredstring

Responses

200Return single ChatroomParticipantChatroomParticipant3

Show fields (31)
  • idinteger

    Primary key of the participant. Internal ID.

  • participant_typestring

    Type of the participant.

  • chatroomChatroom10

    Chat room the participant belongs to.

    Show fields (6)
    • idinteger

      Primary key of the chat room. Internal ID.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

    • image_urlstring

      URL of the image of the entity.

  • public_sessionPublicSession4

    Public session of the participant.

    Show fields (4)
    • idinteger

      Primary key of the public session. Internal ID.

    • tokenstring

      Token that identifies the public session.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

  • first_namestring

    First name of the participant.

  • last_namestring

    Last name of the participant.

  • nicknamestring

    Nickname of the participant.

  • preferred_color_hexstring

    Preferred color of the participant as hex value.

  • avatar_tokenstring

    Token of the avatar image.

  • last_read_atstring (date-time)

    A timestamp of the last time this participant read the chatroom

  • message_count_readinteger

    Number of messages read by the participant.

  • room_adminboolean

    A flag to indicate if this participant can delete messages in the chatroom + rename the chatroom + add or remove participants

  • can_writeboolean

    A flag to indicate if this participant can write messages

  • is_mutedboolean

    A flag to indicate if this participant wants to receive notifications

  • auto_createdboolean

    A flag to indicate if this participant was auto created by being in a company or event

  • reply_modestring

    Override zum Antwortmodus des Profils: always | mention | question. Leer heisst: der Wert aus dem Profil gilt.

  • ai_auto_close_secret_wordstring

    A word as the last part of an ai reply that will close the chatroom. Used for AI bots.

  • ai_promptstring

    The system prompt for the AI bot. Used for AI bots.

  • ai_number_of_context_messagesinteger

    The number of messages we add to the context of the AI bot. Used for AI bots.

  • messenger_channelstring

    sms | whatsapp - set for an external participant who writes to the support over SMS or WhatsApp; answers in the room go back over this channel (MessengerSupportChatHelper).

  • messenger_phone_numberstring

    Mobile number of the messenger participant, E.164 digits without +.

  • messenger_verified_atstring (date-time)

    Point in time the messenger was verified.

  • left_atstring (date-time)

    Wann die Person den Raum verlassen hat bzw. von einem Raum-Admin entfernt wurde. Solange das gesetzt ist, nimmt der Event-Abgleich sie nicht wieder auf.

  • left_reasonstring

    self | room_admin, siehe LEFT_REASON_*

  • notify_levelstring

    Wann diese Person eine Push-Benachrichtigung bekommt: all | mentions | none, siehe NOTIFY_LEVEL_* (Einstellung chatroom_mute_enabled). Leer heisst: is_muted entscheidet (alt, von der Verwaltung gesetzt), sonst alle.

  • muted_untilstring (date-time)

    Bis wann der Raum ganz stumm ist ("fuer 8 Stunden aus"), danach gilt wieder notify_level.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

  • namestring

    Name of the entity.

  • image_urlstring

    URL of the image of the entity.

Request
curl --request DELETE \
  --url https://your-instance.iw-erp.de/api/chat/chatroom_participant/42 \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "id": 42,
  "first_name": "Lena",
  "last_name": "Hartmann",
  "name": "Beispiel",
  "image_url": "https://vynst.de",
  "participant_type": "string",
  "chatroom": {
    "id": 42,
    "name": "Beispiel",
    "image_url": "https://vynst.de",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00",
    "deleted": true
  },
  "public_session": {
    "id": 42,
    "token": "string",
    "created": "2026-10-15T09:30:00+02:00",
    "updated": "2026-10-15T09:30:00+02:00"
  },
  "nickname": "string",
  "preferred_color_hex": "string"
}