SAP Digital Interconnect is now Sinch

Contact Us

cancel
Showing results for 
Search instead for 
Did you mean: 
Shahzad_Ismail
Community Manager
Community Manager

Send your first message with cURL using Live Link 365

Prerequisites

  • An active Live Link 365 Account
  • cURL installed on your computer.

Process

To send your first message, take the following steps:

  1. Log into your Live Link 365 account.

  2. Create an App key, noting the Key and Secret.

  3. Use cURL to call the /api/oauth/token endpoint and create a token. For example:
    curl -X POST \ https://livelink.sapdigitalinterconnect.com/api/oauth/token \
    -H 'Content-Type: application/x-www-form-urlencoded'\
    -H 'scope: livelink:api' \ 
    -d 'grant_type=client_credentials'\
    -u APP_KEY:SECRET

  4. Use cURL to call the /api/v2/sms endpoint to send an SMS: For example:
    curl -X POST \ https://livelink.sapmobileservices.com/api/v2/sms \
    -H "Authorization: Bearer yourToken" \

    -H "Content-Type: application/json" \
    -d "{\"destination\": [\"YOUR-MOBILE-NUMBER\"], \"message\": \"Hello From Live Link!\"}"

That’s it! You just sent your first SMS with cURL using the Live Link 365’s SMS API!

 

Further References

For further information about how to get up and running quickly with Live link 365, refer to:

 

Shahzad Ismail
Head of Knowledge Management and Community Engagement, Sinch
Labels (2)
Tags (1)
0 Kudos