Example: Netcore RCS API
Last updated
Last updated
Lets explore how to add Netcore's Template RCS API to
Netcore's API documentation:
The API Key of the account.
Step 1: Go to > Campaigns > Channels > RCS
Step 2: Click on "Add New RCS API"
Step 3: Basic details
Name of configuration: The name you entered in the previous step will be displayed here
Description: Add a description for your new RCS client.
Step 4: API Details
HTTP Method: Select the HTTP method as POST
API URL: Provide the Netcore RCS API URL.
Also, You can simply import the cURL of the API and skip to the next step! Let's understand how "Detect from cURL" works.
Clicking the +detect from URL button will pop up the following window.
Once you enter the curl, it will automatically fetch the Headers and Payload from the API and populate in the relevant fields and the tree view will occur based on the values in the payload.
After the API is broken down into it's respective components, input your account's API Key, in the header param "api_key"
Step 5: Assigning mandatory fields
Assign message.0.to with To* as the recipient mobile number will go here.
Assign messages.0.content.templateCode with Template ID* as the RCS template ID will go here.
Step 6: configuring personalisation parameters object
In Netcore RCS API, message.0.content.attributes
is the path that consumes the template's personalisation parameters in the form of key:value pairs.
Select the edit icon in the above node.
Give an appropriate display name.
Define it as optional and select the drop index as "Pass empty".
Navigate to > Test API
Assign values to the payload and click "test"
You will receive the confirmation as shown below once your API is validated
The response and Webhooks screen is where you will map the relevant path of the response body to the internal MessageID identifier which supports Lemnisk to identify every message trigger and map its delivery report.
Navigate to > Response and Webhooks
Enter values to the payload and Click "Test Configuration"
You will receive the response from the vendor when triggered successfully.
Select message.messageID
- this is path of the messageID in the API response.
Congratulations! Netcore Template RCS API is successfully configured for you. You can now proceed to create engagements on this client.
You can set up the Netcore API in the same way as you set up an with a global payload.
This is the same functionality we implemented in External API. Click to know in detail.