{"__v":1,"_id":"561c4b191529740d00a70dd1","category":{"__v":3,"_id":"55e680efde6fef23009480db","pages":["55ee660b51ee721700b31575","55ee661a1452cd0d009e5f96","561c4b191529740d00a70dd1"],"project":"55e67aaa9cc7c62b00c4a1ea","version":"55e67aab9cc7c62b00c4a1ed","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-02T04:54:07.577Z","from_sync":false,"order":3,"slug":"messaging-your-users","title":"Messaging your users"},"parentDoc":null,"project":"55e67aaa9cc7c62b00c4a1ea","user":"55d29988486de50d00327118","version":{"__v":10,"_id":"55e67aab9cc7c62b00c4a1ed","project":"55e67aaa9cc7c62b00c4a1ea","createdAt":"2015-09-02T04:27:23.612Z","releaseDate":"2015-09-02T04:27:23.612Z","categories":["55e67aac9cc7c62b00c4a1ee","55e67b5556007d23005fee7d","55e67b5dde6fef23009480ca","55e680efde6fef23009480db","55e6829485a9741900314e99","561c61b4ad272c0d00a892df","586c014c0abf1d0f000d04d4","58991d2ad207df0f0002186b","589b8e1fdbb7cd190026732c","58b8ca5e3265d70f001788d4"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-13T00:06:49.489Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"Carnival allows you to send rich messages to your users. Messages can include URLs (either internal for deeplinking or external), images (including GIFs) and videos. Messages can also include a push attachment to alert a user. \n\n\n\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/81b1ee0-Screen_Shot_2017-03-02_at_7.42.43_PM.png\",\n        \"Screen Shot 2017-03-02 at 7.42.43 PM.png\",\n        956,\n        1744,\n        \"#e1e9f0\"\n      ],\n      \"caption\": \"Sending a welcome message to your users.\"\n    }\n  ]\n}\n[/block]\nTo create a message, navigate to **Messages** and click **Create New**. You can also send stand-alone push notifications as well in this area, or through our [Notifications API](doc:notifications).\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"body\": \"When testing in production, we recommend sending to just your device. Instructions on how to do that are in [Testing Production Push Notifications](doc:send-a-message).\"\n}\n[/block]","excerpt":"","slug":"sending-messages","type":"basic","title":"Sending Messages"}
Carnival allows you to send rich messages to your users. Messages can include URLs (either internal for deeplinking or external), images (including GIFs) and videos. Messages can also include a push attachment to alert a user. [block:image] { "images": [ { "image": [ "https://files.readme.io/81b1ee0-Screen_Shot_2017-03-02_at_7.42.43_PM.png", "Screen Shot 2017-03-02 at 7.42.43 PM.png", 956, 1744, "#e1e9f0" ], "caption": "Sending a welcome message to your users." } ] } [/block] To create a message, navigate to **Messages** and click **Create New**. You can also send stand-alone push notifications as well in this area, or through our [Notifications API](doc:notifications). [block:callout] { "type": "warning", "body": "When testing in production, we recommend sending to just your device. Instructions on how to do that are in [Testing Production Push Notifications](doc:send-a-message)." } [/block]