Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
mkdir -p ws
cd ws
cp ../tutorial-config.json .
cp ../README.md .
cp -r $GITHUB_WORKSPACE/scripting/TemplateWorkspace/. .
cp $GITHUB_WORKSPACE/scripting/createWorkspace.sh .
ls -a
Expand Down
4 changes: 3 additions & 1 deletion tutorials/messages_api-node-sms/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Messages API Interactive Tutorial
# Messages API Onboarding Tutorial - Send a SMS (Node.js)

This tutorial takes you through how to send an SMS with the [Vonage Messages API](https://developer.vonage.com/messages/overview) in Node.js.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ In this step, we will intialize the Vonage Client with some credentials and init
| `VONAGE_NUMBER` | The phone number you are sending the message from. This is the number rented from Vonage when setting up the application. |
| `TO_NUMBER` | The phone number you are sending the message to. |

> Note: If your account is in the trial period, the `TO_NUMBER` can only be the phone number that you used to create the account. Also, don't use a leading + or 00 when entering a phone number, start with the country code, for example 447700900000.
> Note: If your account is in the trial period, the `TO_NUMBER` can only be the phone number that you used to create the account. Also, don't use a leading + or 00 when entering a phone number, start with the country code, for example 447700900000. This is the E.164 number format.

Copy this code into `send-sms.js`

Expand All @@ -26,5 +26,6 @@ const vonage = new Vonage({
applicationId: process.env.VONAGE_APPLICATION_ID,
privateKey: process.env.VONAGE_PRIVATE_KEY,
});

```

Update `TO_NUMBER` with the number you want to send an SMS to. The environment variables that are being used have been auto populated for you, you can view them in the `.env` file.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
title: What's Next?
---

Please visit the <a href="https://developer.vonage.com" target="_blank">Vonage Developer Portal</a> for more tutorials.
Please visit the <a href="https://developer.vonage.com" target="_blank">Vonage Developer Portal</a> to learn more about the Vonage APIs.

> Right click to open URLs in a new tab
2 changes: 1 addition & 1 deletion tutorials/messages_api-node-sms/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Vonage Messages API Interactive Onboarding - SMS
title: Vonage Messages API Onboarding - SMS (Node.js)
description: Get started building with the Vonage Messages API.
template: splash
hero:
Expand Down
2 changes: 1 addition & 1 deletion tutorials/messages_api-node-sms/tutorial-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"panels": [
"terminal"
],
"version": "0.4.1"
"version": "0.5.0"
}
Loading