Skip to main content

Get notification by ID

GET 

https://core-prod.malipopay.co.tz/api/v1/notification/:id

Returns a single notification by its ID.

Request

Path Parameters

    id stringrequired

    Notification ID

Responses

Notification fetched successfully

Schema
    _idstring
    Example: 65a2c81f3d4e5b0c2f9a7e63
    titlestring
    Example: Payment Received
    messagestring
    Example: You have received a payment of TZS 50,000 from John Doe
    typestring

    Possible values: [INFO, WARNING, SUCCESS, ERROR]

    Example: SUCCESS
    recipientstring
    Example: 613771e99a924399394b795a
    readboolean

    Whether the notification has been read

    Example: false
    referencestring
    Example: ML21030
    projectstring
    Example: 63db68a6c5f3e7682e23c2ca
    deletedboolean
    Example: false
    createdAtdate-time
    Example: 2024-03-05T14:30:00.000Z
    updatedAtdate-time
    Example: 2024-03-05T14:30:00.000Z

Authorization: apiToken

name: apiTokentype: apiKeyin: headerdescription: Project API key. Get yours from the Malipopay dashboard under Settings → API Keys.
curl -L 'https://core-prod.malipopay.co.tz/api/v1/notification/:id' \
-H 'Accept: application/json' \
-H 'apiToken: <apiToken>'
Request
Base URL
https://core-prod.malipopay.co.tz
Auth
Parameters
— pathrequired
Response

Click the Send API Request button above and see the response here!