Skip to content

Quick start guide

You’ll need an account and a workspace to get started. A workspace is where your team collaborates on templates, monitors activity, and so on.

  1. Create a free account if you haven’t already.
  2. Open your Waypoint dashboard.
  3. Click the big ’+’ to add a new workspace.
  4. Name the workspace and click ‘Create’.

Next, your first template. We’ll start from one of the sample templates.

  1. In your new workspace, click ‘Templates’ at the top.
  2. Click ’+ New’.
  3. On the ‘From samples’ tab, pick the ‘New comment’ sample.
  4. Click ‘Untitled template’ in the header and rename it to something descriptive (eg. ‘New comment’).

Tweak the template in Waypoint’s builder, then send yourself a preview.

  1. Make any changes you want — learn more about building templates.
  2. Open the ‘General’ tab in the template builder.
  3. Under ‘Test this template’, click ‘Send test’. You’ll get an email with your latest changes.
  4. Happy with it? Click ‘Save’ in the header.

Your template is set up and rendering correctly. Next, hook it up to the API by creating a key so your app can send data to Waypoint.

  1. Open the ‘Settings’ page of your workspace.
  2. Scroll to the ‘API keys’ section, click ’+ Add key’, and follow the prompts.
  3. Once the key is created, scroll back to the ‘API keys’ section — you’ll see your new Username and Password. We’ll use these in a moment.

Now build the API request that passes the variables your template expects.

Looking at send a templated email API, here’s the data you’ll pass:

PropertyDescription
templateIdThe ID of the template to send.
variablesJSON object passed to the template.
toEmail address of the recipient.

In your application, follow the steps below using the code example.

  1. In the template builder, switch to the ‘Data’ tab — this is the data your template needs to render.
  2. Copy the JSON and paste it into the variables property of the API request. Wire it up to your dynamic data, or just tweak the hardcoded values for testing.
  3. Switch to the ‘General’ tab and copy the template ID at the bottom.
  4. Paste the template ID into the templateId field on the request.
  5. Set to to the email of someone in your workspace (see trial plan limitations).
  6. Paste your username and password (from Step 4) into the auth of the request.
  7. Run it.
Terminal window
curl "https://live.waypointapi.com/v1/email_messages" \
-H "Content-Type: application/json" \
-u "API_KEY_USERNAME:API_KEY_PASSWORD" \
-d '{
"templateId": "TEMPLATE_ID",
"to": "EMAIL_ADDRESS",
"variables": {
"comment": {
"id": "comment_123",
"user": {
"displayName": "User1"
},
"channel": {
"name": "Tutorial"
},
"message": "Hi, this is a test comment sent from the Waypoint API.",
"thread": {
"id": "thread_123",
"user": {
"displayName": "User2"
}
}
}
}
}'

Open your ‘Activity’ page to make sure the request came through with the expected template data.

If it worked, you’ll see both your preview email and your test request in the activity events list. Click any item to open the details — full timeline, metadata, email content, and template data.

Not seeing anything? Check the ‘API Request Logs’ link on your ‘Activity’ page for full API logs.

Still stuck? Email us at support@usewaypoint.com.

Whenever you and your team are ready, here are the recommended next steps:

  1. Invite your teammates to your workspace.
  2. Add a custom verified domain.
  3. Add approved senders.
  4. Send test emails with sandbox requests — great for devs sending from local or test environments.
  5. Upgrade your plan to start sending live emails (see trial plan limitations).