---
updatedAt: 2025-06-16T22:57:49.000Z
agentTools:
  projectIndex: https://developers.paygreen.fr/llms.txt
---

# List Notifications

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Notifications API",
    "description": "This API processes webhook notifications",
    "version": "1.10.8"
  },
  "servers": [
    {
      "url": "https://api.paygreen.fr",
      "description": "Production environment"
    },
    {
      "url": "https://sb-api.paygreen.fr",
      "description": "Sandbox environment"
    }
  ],
  "paths": {
    "/notifications/": {
      "get": {
        "tags": [
          "Notifications"
        ],
        "summary": "List Notifications",
        "operationId": "get_list_notifications",
        "parameters": [
          {
            "name": "listener_id",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Listener/properties/id"
            },
            "example": "lis_1a222c9020b64157890a257290f0f2b6"
          },
          {
            "name": "subject_id",
            "in": "query",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Notification/properties/subject_id"
            },
            "example": "po_65fed5cd034e44e1a974f2903c800943"
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the Notifications",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Notification"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated"
          },
          "403": {
            "description": "Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Listener": {
        "required": [
          "url",
          "created_at",
          "updated_at"
        ],
        "properties": {
          "id": {
            "description": "The unique identifier of this Listener",
            "type": "string",
            "pattern": "lis_[0-9a-f]{32}"
          },
          "shop_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "type": "string"
          },
          "hmac_key": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "deleted",
              "disabled"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "instant": {
            "description": "Set to false to delay notifications by 15 seconds",
            "type": "boolean",
            "default": true
          }
        },
        "type": "object"
      },
      "Notification": {
        "required": [
          "subject_id",
          "executed_at",
          "type"
        ],
        "properties": {
          "id": {
            "description": "The unique identifier of this Notifications",
            "type": "string",
            "pattern": "ntf_[0-9a-f]{32}"
          },
          "subject_id": {
            "type": "string"
          },
          "content": {
            "type": "string",
            "nullable": true
          },
          "response_code": {
            "type": "integer",
            "nullable": true
          },
          "timeout": {
            "type": "boolean",
            "default": false
          },
          "response_time": {
            "type": "integer",
            "nullable": true
          },
          "executed_at": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "$ref": "#/components/schemas/NotificationType"
          },
          "acknowledged": {
            "type": "boolean",
            "default": false
          },
          "related_url": {
            "type": "string",
            "nullable": true
          },
          "event": {
            "type": "string",
            "nullable": true
          },
          "listener_id": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/UuidInterface"
              }
            ]
          }
        },
        "type": "object"
      },
      "NotificationType": {
        "type": "object"
      },
      "UuidInterface": {
        "type": "object"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "bearerFormat": "JWT",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "tags": [
    {
      "name": "Notifications"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```