SellAuth

Notifications

Get Latest Notifications

Retrieves the latest notifications.

GET
/v1/shops/{shopId}/notifications/latest

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/notifications/latest" \
  -H "Authorization: Bearer <token>"

{
  "notifications": [
    {
      "id": "ded99ed5-7ed8-464f-9206-baaca0b787b0",
      "level": "info",
      "title": "New Support Ticket",
      "description": "Question",
      "link": "/tickets/a0ec2492-c627-4b90-a390-6ca955902f27",
      "created_at": "2026-01-25T17:07:43.000000Z"
    },
    {
      "id": "20795549-0633-46d0-90e6-3f88e569df34",
      "level": "success",
      "title": "New Feedback Received",
      "description": "You received a new 5/5 feedback on an invoice #ba1181294bc7a-0000000000971.",
      "link": "/feedbacks/?search=43431",
      "created_at": "2026-01-25T17:03:45.000000Z"
    },
    {
      "id": "b53d6bcc-fe53-4ffe-9ee4-a14cddd6db99",
      "level": "success",
      "title": "New Sale",
      "description": "2 items have been sold for $1.35",
      "link": "/invoices/971",
      "created_at": "2025-07-27T18:05:30.000000Z"
    }
  ],
  "unread_count": 3
}

Get Notifications Page

Retrieves a paginated list of notifications.

GET
/v1/shops/{shopId}/notifications/page

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/notifications/page" \
  -H "Authorization: Bearer <token>"

{
  "current_page": 1,
  "data": [
    {
      "id": "ded99ed5-7ed8-464f-9206-baaca0b787b0",
      "level": "info",
      "title": "New Support Ticket",
      "description": "Question",
      "link": "/tickets/a0ec2492-c627-4b90-a390-6ca955902f27",
      "created_at": "2026-01-25T17:07:43.000000Z"
    },
    {
      "id": "20795549-0633-46d0-90e6-3f88e569df34",
      "level": "success",
      "title": "New Feedback Received",
      "description": "You received a new 5/5 feedback on an invoice #ba1181294bc7a-0000000000971.",
      "link": "/feedbacks/?search=43431",
      "created_at": "2026-01-25T17:03:45.000000Z"
    },
    {
      "id": "b53d6bcc-fe53-4ffe-9ee4-a14cddd6db99",
      "level": "success",
      "title": "New Sale",
      "description": "2 items have been sold for $1.35",
      "link": "/invoices/971",
      "created_at": "2025-07-27T18:05:30.000000Z"
    }
  ],
  "first_page_url": "https://api.sellauth.com/v1/shops/38/notifications/page?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "https://api.sellauth.com/v1/shops/38/notifications/page?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "active": false
    },
    {
      "url": "https://api.sellauth.com/v1/shops/38/notifications/page?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next &raquo;",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "https://api.sellauth.com/v1/shops/38/notifications/page",
  "per_page": 6,
  "prev_page_url": null,
  "to": 3,
  "total": 3
}

Mark Notifications as Read

Marks all notifications as read.

POST
/v1/shops/{shopId}/notifications/mark-as-read

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/notifications/mark-as-read" \
  -H "Authorization: Bearer <token>"

GET
/v1/shops/{shopId}/notifications/settings

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/notifications/settings" \
  -H "Authorization: Bearer <token>"

{
  "success": false,
  "error": "Shop not found",
  "message": "Shop not found"
}

POST
/v1/shops/{shopId}/notifications/settings

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/notifications/settings" \
  -H "Authorization: Bearer <token>"