> For the complete documentation index, see [llms.txt](https://lambda-6.gitbook.io/lambda/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lambda-6.gitbook.io/lambda/api-docs/notifications/posting-notifications.md).

# Posting Notifications

If you are developing your own malware[^1]; you may be happy to hear that Lambda allows developers to leverage our API, so you can handle recovered data through our user interface.

Sending a request to the below URL acts as a webhook[^2], after reloading the notifications/logs page, you will see your custom message.

## Post a notification to a Lambda user.

<mark style="color:blue;">`GET`</mark> `/users/notifications/send?uid={lambda_uid}`

#### Request Body

| Name                                      | Type   | Description                                                                      |
| ----------------------------------------- | ------ | -------------------------------------------------------------------------------- |
| message<mark style="color:red;">\*</mark> | String | Notification Message                                                             |
| rank<mark style="color:red;">\*</mark>    | String | <p>The context of the notification: </p><p></p><p>System, Urgent, or Payload</p> |
| link                                      | String | Link shown in the "Follow Link" text.                                            |

{% tabs %}
{% tab title="200: OK Notification Sent" %}

```javascript
{
    "success": true,
    "userFacingMessage": string
}
```

{% endtab %}

{% tab title="400: Bad Request Nonexistent UID or Invalid Notification Data" %}

```javascript
{
    "success": false,
    "userFacingMessage": "Invalid notification data."
}
```

```javascript
{
    "success": false,
    "userFacingMessage": "The UID passed does not belong to any account."
}
```

{% endtab %}

{% tab title="403: Forbidden Unauthorized" %}

```javascript
{
    "success": false,
    "userFacingMessage": string
}
```

{% endtab %}
{% endtabs %}

[^1]: For the sake of education purposes

[^2]: An application URI used to send automated messages sent from apps when something happens
