To use this cli, we need to first Install Nodejs, then run the following command.
npm i -g namirasoft-notification-sender-api-v1
Returns the application liveness status
ns-notification-sender health liveness
Returns the application readiness status
ns-notification-sender health readiness
Returns the application metrics
ns-notification-sender metrics get
Returns the value list of a given table and column
ns-notification-sender value list {table} {column} {search} {field_id} {limit}
Returns the row count of every entity across all databases, optionally grouped by workspace_id and filtered to specific workspaces
ns-notification-sender overview count
--group_by_workspace (Boolean)
--workspace_ids (Array)
Returns the topic category list
ns-notification-sender topiccategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a topic category by id.
ns-notification-sender topiccategory get {id}
Creates a new topic category for an entity
ns-notification-sender topiccategory create
--slot_id (String)
--category_id (String)
Deletes a topic category by an id.
ns-notification-sender topiccategory delete {id}
Returns the topic field list
ns-notification-sender topicfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a topic field by id.
ns-notification-sender topicfield get {id}
Creates a new topic field for an entity
ns-notification-sender topicfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a topic field by an id for an entity
ns-notification-sender topicfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a topic field by an id.
ns-notification-sender topicfield delete {id}
Returns the topic tag list
ns-notification-sender topictag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a topic tag by id.
ns-notification-sender topictag get {id}
Creates a new topic tag for an entity
ns-notification-sender topictag create
--name (String)
--value (String)
Updates a topic tag by an id for an entity
ns-notification-sender topictag update {id}
--name (String)
--value (String)
Deletes a topic tag by an id.
ns-notification-sender topictag delete {id}
Sends a message to a topic
ns-notification-sender topic _sendfor {user_id}
--from_application (Boolean)
--topic_id (String)
--title (String)
--message (String)
Sends an topic
ns-notification-sender topic send
--topic_id (String)
--title (String)
--message (String)
Returns the topic list
ns-notification-sender topic list {filters} {page} {size} {sorts} {all_workspaces}
Returns a topic by an id
ns-notification-sender topic get {id}
Creates a new topic
ns-notification-sender topic create
--workspace_id (String)
--name (String)
--limit (Boolean)
--limit_count (Integer)
--limit_per_value (Integer)
--limit_per_unit (Enum)
--delay (Boolean)
--delay_value (Integer)
--delay_unit (Enum)
--description (String)
--topic_category (Array)
--topic_field (Array)
--topic_tag (Array)
Updates a topic by an id
ns-notification-sender topic update {id}
--workspace_id (String)
--name (String)
--limit (Boolean)
--limit_count (Integer)
--limit_per_value (Integer)
--limit_per_unit (Enum)
--delay (Boolean)
--delay_value (Integer)
--delay_unit (Enum)
--description (String)
--topic_category (Array)
--topic_field (Array)
--topic_tag (Array)
Deletes a topic by an id
ns-notification-sender topic delete {id}
Returns the subscriber category list
ns-notification-sender subscribercategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a subscriber category by id.
ns-notification-sender subscribercategory get {id}
Creates a new subscriber category for an entity
ns-notification-sender subscribercategory create
--slot_id (String)
--category_id (String)
Deletes a subscriber category by an id.
ns-notification-sender subscribercategory delete {id}
Returns the subscriber field list
ns-notification-sender subscriberfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a subscriber field by id.
ns-notification-sender subscriberfield get {id}
Creates a new subscriber field for an entity
ns-notification-sender subscriberfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a subscriber field by an id for an entity
ns-notification-sender subscriberfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a subscriber field by an id.
ns-notification-sender subscriberfield delete {id}
Returns the subscriber tag list
ns-notification-sender subscribertag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a subscriber tag by id.
ns-notification-sender subscribertag get {id}
Creates a new subscriber tag for an entity
ns-notification-sender subscribertag create
--name (String)
--value (String)
Updates a subscriber tag by an id for an entity
ns-notification-sender subscribertag update {id}
--name (String)
--value (String)
Deletes a subscriber tag by an id.
ns-notification-sender subscribertag delete {id}
Returns the subscriber list
ns-notification-sender subscriber list {filters} {page} {size} {sorts} {all_workspaces}
Returns a subscriber by an id
ns-notification-sender subscriber get {id}
Creates a new subscriber
ns-notification-sender subscriber create
--workspace_id (String)
--topic_id (String)
--sender_id (String)
--sender_type (Enum)
--name (String)
--value (String)
--description (String)
--subscriber_category (Array)
--subscriber_field (Array)
--subscriber_tag (Array)
Updates a subscriber by an id
ns-notification-sender subscriber update {id}
--workspace_id (String)
--topic_id (String)
--sender_id (String)
--sender_type (Enum)
--name (String)
--value (String)
--description (String)
--subscriber_category (Array)
--subscriber_field (Array)
--subscriber_tag (Array)
Deletes a subscriber by an id
ns-notification-sender subscriber delete {id}
Sends a subscriber validation request
ns-notification-sender subscriber request {id}
Verify subscriber
ns-notification-sender subscriber verify {id}
--code (String)
Returns the sent subscriber list
ns-notification-sender sentsubscriber list {filters} {page} {size} {sorts} {all_workspaces}
Returns a sent subscriber by an id
ns-notification-sender sentsubscriber get {id}
Returns the sent topic list
ns-notification-sender senttopic list {filters} {page} {size} {sorts} {all_workspaces}
Returns a sent topic by an id
ns-notification-sender senttopic get {id}
{ "name": "OverviewCountInput", "type": "Object", "required": true, "fields": { "group_by_workspace": { "type": "Boolean", "required": false }, "workspace_ids": { "type": "Array", "required": false, "items": [ { "type": "String", "required": true } ] } }}
{ "name": "OverviewCountRow", "type": "Object", "required": true, "fields": { "database": { "type": "String", "required": true }, "table": { "type": "String", "required": true }, "total": { "type": "Integer", "required": true }, "by_workspace": { "type": "Array", "required": false, "items": [ { "name": "OverviewCountByWorkspace", "type": "Object", "required": true, "fields": { "workspace_id": { "type": "String", "required": true }, "count": { "type": "Integer", "required": true } } } ] } }}
{ "name": "OverviewCountByWorkspace", "type": "Object", "required": true, "fields": { "workspace_id": { "type": "String", "required": true }, "count": { "type": "Integer", "required": true } }}
{ "name": "TopicCategory", "type": "Object", "required": true, "fields": { "id": { "type": "Integer", "required": true }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "entity_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "category_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "name": "EntityCategoryInput", "type": "Object", "required": true, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "category_id": { "type": "String", "required": true, "min": 20, "max": 20 } }}
{ "name": "TopicField", "type": "Object", "required": true, "fields": { "id": { "type": "Integer", "required": true }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "entity_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "field_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "value": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "name": "EntityFieldInput", "type": "Object", "required": true, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "field_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "value": { "type": "Any", "required": false } }}
{ "name": "TopicTag", "type": "Object", "required": true, "fields": { "id": { "type": "Integer", "required": true }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "entity_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "name": "EntityTagInput", "type": "Object", "required": true, "fields": { "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false } }}
{ "name": "Topic", "type": "Object", "required": true, "fields": { "id": { "type": "String", "required": true, "min": 20, "max": 20 }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "workspace_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "name": { "type": "String", "required": true, "max": 255 }, "limit": { "type": "Boolean", "required": true }, "limit_count": { "type": "Integer", "required": false }, "limit_per_value": { "type": "Integer", "required": false }, "limit_per_unit": { "name": "TopicLimitPerUnit", "type": "Enum", "required": false, "valids": [ "Second", "Minute", "Hour", "Day" ] }, "delay": { "type": "Boolean", "required": true }, "delay_value": { "type": "Integer", "required": false }, "delay_unit": { "name": "TopicDelayUnit", "type": "Enum", "required": false, "valids": [ "Millisecond", "Second", "Minute" ] }, "description": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "name": "TopicFull", "type": "Object", "required": true, "fields": { "id": { "type": "String", "required": true, "min": 20, "max": 20 }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "workspace_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "name": { "type": "String", "required": true, "max": 255 }, "limit": { "type": "Boolean", "required": true }, "limit_count": { "type": "Integer", "required": false }, "limit_per_value": { "type": "Integer", "required": false }, "limit_per_unit": { "name": "TopicLimitPerUnit", "type": "Enum", "required": false, "valids": [ "Second", "Minute", "Hour", "Day" ] }, "delay": { "type": "Boolean", "required": true }, "delay_value": { "type": "Integer", "required": false }, "delay_unit": { "name": "TopicDelayUnit", "type": "Enum", "required": false, "valids": [ "Millisecond", "Second", "Minute" ] }, "description": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true }, "topic_category": { "type": "Array", "required": true, "items": [ { "name": "EntityCategoryInput", "type": "Object", "required": false, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "category_id": { "type": "String", "required": true, "min": 20, "max": 20 } } } ] }, "topic_field": { "type": "Array", "required": true, "items": [ { "name": "EntityFieldInput", "type": "Object", "required": false, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "field_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "value": { "type": "Any", "required": false } } } ] }, "topic_tag": { "type": "Array", "required": true, "items": [ { "name": "EntityTagInput", "type": "Object", "required": false, "fields": { "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false } } } ] } }}
{ "name": "TopicInput", "type": "Object", "required": true, "fields": { "workspace_id": { "type": "String", "required": false, "min": 20, "max": 20 }, "name": { "type": "String", "required": true, "max": 255 }, "limit": { "type": "Boolean", "required": true }, "limit_count": { "type": "Integer", "required": false }, "limit_per_value": { "type": "Integer", "required": false }, "limit_per_unit": { "name": "TopicLimitPerUnit", "type": "Enum", "required": false, "valids": [ "Second", "Minute", "Hour", "Day" ] }, "delay": { "type": "Boolean", "required": true }, "delay_value": { "type": "Integer", "required": false }, "delay_unit": { "name": "TopicDelayUnit", "type": "Enum", "required": false, "valids": [ "Millisecond", "Second", "Minute" ] }, "description": { "type": "String", "required": false }, "topic_category": { "type": "Array", "required": true, "items": [ { "name": "EntityCategoryInput", "type": "Object", "required": false, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "category_id": { "type": "String", "required": true, "min": 20, "max": 20 } } } ] }, "topic_field": { "type": "Array", "required": true, "items": [ { "name": "EntityFieldInput", "type": "Object", "required": false, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "field_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "value": { "type": "Any", "required": false } } } ] }, "topic_tag": { "type": "Array", "required": true, "items": [ { "name": "EntityTagInput", "type": "Object", "required": false, "fields": { "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false } } } ] } }}
{ "name": "SubscriberCategory", "type": "Object", "required": true, "fields": { "id": { "type": "Integer", "required": true }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "entity_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "category_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "name": "SubscriberField", "type": "Object", "required": true, "fields": { "id": { "type": "Integer", "required": true }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "entity_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "field_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "value": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "name": "SubscriberTag", "type": "Object", "required": true, "fields": { "id": { "type": "Integer", "required": true }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "entity_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "name": "Subscriber", "type": "Object", "required": true, "fields": { "id": { "type": "String", "required": true, "min": 20, "max": 20 }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "workspace_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "topic_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "sender_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "sender_type": { "name": "SubscriberSenderType", "type": "Enum", "required": true, "valids": [ "Email", "Slack", "SMS", "Teams", "Telegram" ] }, "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false, "max": 255 }, "verified": { "type": "Boolean", "required": true }, "description": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "name": "SubscriberFull", "type": "Object", "required": true, "fields": { "id": { "type": "String", "required": true, "min": 20, "max": 20 }, "user_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "workspace_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "topic_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "sender_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "sender_type": { "name": "SubscriberSenderType", "type": "Enum", "required": true, "valids": [ "Email", "Slack", "SMS", "Teams", "Telegram" ] }, "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false, "max": 255 }, "verified": { "type": "Boolean", "required": true }, "description": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true }, "subscriber_category": { "type": "Array", "required": true, "items": [ { "name": "EntityCategoryInput", "type": "Object", "required": false, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "category_id": { "type": "String", "required": true, "min": 20, "max": 20 } } } ] }, "subscriber_field": { "type": "Array", "required": true, "items": [ { "name": "EntityFieldInput", "type": "Object", "required": false, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "field_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "value": { "type": "Any", "required": false } } } ] }, "subscriber_tag": { "type": "Array", "required": true, "items": [ { "name": "EntityTagInput", "type": "Object", "required": false, "fields": { "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false } } } ] } }}
{ "name": "SubscriberInput", "type": "Object", "required": true, "fields": { "workspace_id": { "type": "String", "required": false, "min": 20, "max": 20 }, "topic_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "sender_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "sender_type": { "name": "SubscriberSenderType", "type": "Enum", "required": true, "valids": [ "Email", "Slack", "SMS", "Teams", "Telegram" ] }, "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false, "max": 255 }, "description": { "type": "String", "required": false }, "subscriber_category": { "type": "Array", "required": true, "items": [ { "name": "EntityCategoryInput", "type": "Object", "required": false, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "category_id": { "type": "String", "required": true, "min": 20, "max": 20 } } } ] }, "subscriber_field": { "type": "Array", "required": true, "items": [ { "name": "EntityFieldInput", "type": "Object", "required": false, "fields": { "slot_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "field_id": { "type": "String", "required": true, "min": 20, "max": 20 }, "value": { "type": "Any", "required": false } } } ] }, "subscriber_tag": { "type": "Array", "required": true, "items": [ { "name": "EntityTagInput", "type": "Object", "required": false, "fields": { "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false } } } ] } }}
{ "name": "SentSubscriber", "type": "Object", "required": true, "fields": { "id": { "type": "String", "required": true }, "user_id": { "type": "String", "required": false }, "session_id": { "type": "String", "required": false }, "topic_id": { "type": "String", "required": true }, "subscriber_id": { "type": "String", "required": true }, "message_id": { "type": "String", "required": true }, "subscriber_type": { "type": "String", "required": true }, "subscriber_value": { "type": "String", "required": false }, "title": { "type": "String", "required": true }, "message": { "type": "String", "required": true }, "successful": { "type": "Boolean", "required": false }, "result": { "type": "String", "required": false }, "created_at": { "type": "DateTime", "required": true }, "sent_at": { "type": "DateTime", "required": false } }}
{ "name": "SentTopic", "type": "Object", "required": true, "fields": { "id": { "type": "String", "required": true }, "user_id": { "type": "String", "required": false }, "session_id": { "type": "String", "required": false }, "topic_id": { "type": "String", "required": true }, "title": { "type": "String", "required": true }, "message": { "type": "String", "required": true }, "subscribers": { "type": "Double", "required": true }, "ignored": { "type": "Double", "required": true }, "successful": { "type": "Double", "required": false }, "failed": { "type": "Double", "required": false }, "created_at": { "type": "DateTime", "required": true }, "finished_at": { "type": "DateTime", "required": false } }}
Second
Minute
Hour
Day
Millisecond
Second
Minute
Slack
SMS
Teams
Telegram
©Copyright 2010 to 2026 Namira Software Corporation. All rights reserved.