My Project
  1. notfication
My Project
  • OUTBACK APIs
    • User
      • Create User
      • Login User
      • Forgot Password
      • Validate otp
      • Reset Password
      • Social login
      • Search Post
      • Update User
      • Get Profile
      • Get User Profile for Web
      • Delete Account
      • Logout
      • Get All Users
      • Update FCM TOKEN
      • Verify User
      • Follow Unfollow User
      • Get User Connections
    • Post
      • Get Popular Categories Post
      • Add Post
      • Update Post
      • Get Post
      • Get My Post
      • Detail Post By Id
      • Get Trending Posts
      • Get Most Viewed Post
      • get specfic user post
      • Record Fav_Unfav post
      • Get Favt Post
      • Record Views
      • All Posts Views
      • Add Comment
      • Get Comments
      • Get Collection List
      • Get Post Collection
      • Remove Collection
      • Soft Delete Post
      • Delete Post
      • Update Sold Type
      • report post
      • update thumnail of posts
    • ChatRoom/Messages
      • Create Chatroom
      • Send Message
      • Get Messages
      • Get ChatRoom
      • Update block status
      • Delete Message
    • Town Hall
      • Add townhall post
      • get town hall post
      • get specific user townhall post
      • reaction on townhall post
      • Add replies
      • get replies
      • Reaction On reply
      • get Location search
      • Report Townhall post
    • notfication
      • message notfication
        POST
      • message notfication
        GET
    • Category
      • Update Category
      • Get Model By Makes
      • get category V2
      • Add Category
      • Add subcategory
      • Get Categories
      • Delete Category
    • Payments
      • Add Card
      • Get Cards
      • Top up Wallet
      • Get Transaction History
      • View Wallet balence
      • Make Payments
      • Update Default Card
      • Add Bank Account
      • Update Bank Account
      • Withdraw to Bank Acc
    • PAYMENTS APIS
      • Create Setup Intent
      • Save Payment Method
      • For getting test payment Id
      • View Balance
      • Add funds to Account
      • Add Bank Account
      • Get User Bank Accounts
      • Select Default Bank Acc
  1. notfication

message notfication

POST
/notification-mgt/send-message-notification

Request

Header Params
Authorization
string 
required
Example:
bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NmVkNDI0Zjk5NDgyZDNmMzFmZWYzNDMiLCJpYXQiOjE3MzA3MTg5NDUsImV4cCI6MTc2MjI3NjU0NX0.C70QoQMtgbC09ZxomDqL44c2dEKneBDSX0wuF6kLsL8
Body Params application/json
receiverId
string 
required
message
string 
required
chatRoomId
string 
required
Example
{
    "receiverId":"670d08d6898b286148ebe97d",
    "message":"hello",
    "chatRoomId":"6728acbb688098d871ff22eb"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://13.239.78.144:3000/api/v1/notification-mgt/send-message-notification' \
--header 'Authorization: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NmVkNDI0Zjk5NDgyZDNmMzFmZWYzNDMiLCJpYXQiOjE3MzA3MTg5NDUsImV4cCI6MTc2MjI3NjU0NX0.C70QoQMtgbC09ZxomDqL44c2dEKneBDSX0wuF6kLsL8' \
--header 'Content-Type: application/json' \
--data-raw '{
    "receiverId":"670d08d6898b286148ebe97d",
    "message":"hello",
    "chatRoomId":"6728acbb688098d871ff22eb"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-11-18 09:35:52
Previous
Report Townhall post
Next
message notfication
Built with