Onboarding API
Step 1: User Creation
Use the provided API to create a user. Ensure that the country in the payload is from the supported countries list (refer to the attached file for the list).
curl --location 'https://apis.rmlconnect.net/wbm-analytics-apis/api/analytics/create-user-with-pageaccess' \
--header 'Authorization: <token>' \
--header 'Api-Type: reseller-onboard' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "XXXX",
"last_name": "XXXX",
"username": "XXXX",
"isv_username": "<ISV_USERNAME>",
"email": "XXXX",
"phone": "{phone}",
"legal_company_name": "RML",
"legal_company_address": "RML",
"country": "American Samoa"
}'Step 2: System User Mapping (POST)
Use this API to map a system user to a specific WhatsApp Business Account (WABA) within RML WhatsApp Management platform.
curl --location 'https://apis.rmlconnect.net/wam/v1/system-user-mapping' \
--header 'Authorization: RML Token' \
--header 'Content-Type: application/json' \
--data '{
"waba_id":"2487592731539XXXX"
}'Step 3: Credit Line Mapping (POST)
This API is used to map a credit line to a WABA, ensuring the account is correctly linked with its respective credit setup.
curl --location 'https://apis.rmlconnect.net/wam/v1/credit-line-mapping?debug=True' \
--header 'Authorization: Rml Token' \
--header 'Content-Type: application/json' \
--data '{
"waba_id":"1234",
"waba_currency":"INR"
}'Step 4: TSP Cloud Registration
Complete the TSP Cloud Registration process to finalize the WABA setup on RML Platform.
curl --location 'https://apis.rmlconnect.net/wam/v1/tsp-cloud-registration?source=UI&debug=true' \
--header 'Authorization: RML Token' \
--header 'Content-Type: application/json' \
--data '{
"waba_id": "561105616",
"solution_id": "123",
"phone_no": "{phone}",
"username": "RMLUAXXX",
"data_localization_region" : "IN"
}'Updated 12 days ago
Did this page help you?