---
title: "Create account notification"
method: POST
path: "/account_notifications"
tags: ["Account notifications"]
---

# Create account notification

`POST /account_notifications`

## Request

- Base URL: `https://api.pipelinecrm.com/api/v3`
- URL: `https://api.pipelinecrm.com/api/v3/account_notifications`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer and API key in header `app-key`
  - API key in query parameter `api_key` and API key in query parameter `app_key`

## Request body

- object
  - `account_notification` object
    - `text` string, required: The content of the notification
    - `user_id` integer: Defaults to user associated with API key
    - `hide_popup` boolean

## Response `200`

Successful Response

- AccountNotification
  - `id` integer: Unique identifier
  - `created_at` string: Timestamp when the record was created (time zone in user's time zone).
  - `updated_at` string: Timestamp when the record was last touched (time zone in user's time zone).
  - `user_id` integer: The user_id of the account notification
  - `account_id` integer, nullable: The account_id of the account notification
  - `text` string: The content of the notification
  - `seen` boolean: Boolean used to mark seen account notifications
  - `read_at` string, nullable: Timestamp for when note was read
  - `hide_popup` boolean: Used only for create, displays/hides popup for user when account notification is created

## Other responses

- `400`: The request could not be processed as sent (for example a malformed id or an unsupported combination of parameters).

---

[API](https://skmtc.dev/pipelinecrm/apis/pipeline-crm-api.md) · [All operations](https://skmtc.dev/pipelinecrm/apis/pipeline-crm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pipelinecrm/apis/pipeline-crm-api/revisions/53ebfcc83597?raw)
