Make integration

Prerequisite: Create an MessengerOS Account, since the connection is made with OAuth 2.0
In order to create a secure connection between Make and MessengerOS, you need to create an MessengerOS account. You can do it here: Create account

Subscribe Contact to Email List

1. Endpoint

 /api/integration/make/subscribe/email

2. Body

{
    "email": "recipient@example.com", // mandatory
    "first_name": "First name", // optional
    "last_name": "Last name", // optional
    "name": "Full name", // optional
    "phone_number": "Phone number", // optional
    "distribution_lists": [
        "xxxxxx-xxxxxx-xxxx-xxxxx-xxxxxxxxx"
    ]  // optional
}

3. Output

{"status": "received"}

Subscribe Contact to Phone Numbers List

1. Endpoint

 /api/integration/make/subscribe/sms

2. Body

{
    "phone_number": "Phone number", // mandatory
    "first_name": "First name", // optional
    "last_name": "Last name", // optional
    "name": "Full name", // optional
    "distribution_lists": [
        "xxxxxx-xxxxxx-xxxx-xxxxx-xxxxxxxxx"
    ]  // optional
}

3. Output

{"status": "received"}

Send Email

1. Endpoint

 /api/integration/make/send/email

2. Body

{
    "email": "recipient@example.com", // mandatory
    "template": "xxxxxx-xxxxxx-xxxx-xxxxx-xxxxxxxxx", // mandatory from MessengerOS Account
}

3. Output

{"status": "received"}

Send SMS

1. Endpoint

 /api/integration/make/send/sms

2. Body

{
    "phone_number": "Phone number", // mandatory
    "template": "xxxxxx-xxxxxx-xxxx-xxxxx-xxxxxxxxx", // mandatory from MessengerOS Account
}

3. Output

{"status": "received"}
© MessengerOS