Skip to content

List messages

GET/admin/v1/stores/{store_id}/contact-messages

    The inbox, newest first: one status, or every message but spam and archived ones.

    Path parameters

    • store_idstringrequired

      The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

    Query parameters

    • statusenum

      One status; without it, every message but spam and archived ones.

      • new
      • read
      • replied
      • spam
      • archived
    • qstring

      Searches the name, email, order number and message.

    • cursorstring
    • limitinteger

      1–250, default 50.

    Headers

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Returns

    200 Newest first.

    Errors

    • 403forbiddenMissing permission.