Conversations

    List conversations

    GEThttps://api.batzap.com/v1/chats

    Lists the inbox conversations, most recent activity first, with the contact, tag names and last message.

    Paginate with limit and offset; total is the number of conversations matching the filters.

    Media in last_message is never inlined. Use Get message media to fetch it.

    Rate limit
    Read · 120/min

    Query parameters

    statusstringoptional

    Only conversations in this status.

    openresolvedsnoozedspam
    tag_iduuidoptional

    Only conversations with this tag.

    assigned_user_iduuidoptional

    Only conversations assigned to this team member.

    unassignedbooleanoptional

    true returns only conversations with nobody assigned.

    searchstringoptional

    Matches contact name or phone number, ignoring case and accents.

    chat_iduuidoptional

    Return a single conversation.

    integration_iduuidoptional

    WhatsApp number to act from (see List integrations). Filled in automatically when the key is restricted to a single number.

    limitintegeroptionaldefault 100

    Page size.

    offsetintegeroptionaldefault 0

    Number of conversations to skip.