Register Tester

POST Method

The Register Tester API is used to register a mobile number as a test device under a specific agent and brand. This enables simulation and validation of RCS messaging flows in a test environment. It helps developers and QA teams ensure message delivery and formatting before going live.

Prerequisites

  • After you sign up, your account will be on the trial version. You must complete the KYC to access all the features in kaleyra.io.
  • Before you get started, Create an API Key. To view the API Key and the SID, see View API Key and SID.
  • Before sending the RCS, you must configure the RCS channel in the Kaleyra platform. To configure the RCS channel in your account, please contact your local Kaleyra representative.

Base URL

https://rcs-api.<pod>.kaleyra.ai - For North America (NA).

https://rcs-api.<pod>.kaleyra.io - For rest of the world.

API Domain and Value

API request to Register a Tester

To register a tester, use the https://rcs-api.<pod>.kaleyra.ai/v1/<sid>/rcs/agent/registerTester endpoint with the following request method:

Request Format

The following is the request format to register a tester:

curl --location 'https://<api_domain>/ v1/<sid>/rcs/messages\
--header 'Content-Type:<Content-Type>' \
--header 'api-key: <api-key>' \
--data {  
    "phoneno":"<phone number>",  
    "agent_no":"<agent number>"  
}  

Sample Request Format

The following is the sample request format to register a tester:

curl --location ' 
‘https://rcs-api.na.kaleyra.ai/v1/xxxxx6913850xxxx/rcs/agent/registerTester' \ 
--header 'Content-Type: application/json' \  
--header 'api-key: xxxxx3b8497f58a94e84b671aca43xxxx' \  
--data '{  
    "phoneno":"91953XXXXX92",  
    "agent_no":"48900"  
}'    

URL Parameters and Headers

The following is the list of parameters and headers to send the outgoing message request:

Parameter/HeadersData TypeDescriptionExampleMandatory?
sidStringAccount SID (Security Identifier).xxxxx6913850xxxxYes
Content-TypeStringIndicates the format of the content the API will be processing.The only allowed value is application/JSONYes
api-keyStringAPI key generated from kaleyra.io account.xxxxx3b8497f58a94e84b671aca43xxxxYes

Following is the list of attributes to be used in the payload to send the messages:

ParameterData TypeDescriptionExampleMandatory?
phonenoStringMobile number to be registered as a tester (E.164 format without +).91953XXXXX92Yes
agent_noStringService code unique to the agent specified when the agent is created/onboarded.48900Yes

Sample Success Response

The following success message:

{
"phoneno": "91953XXXXX92",
"agent_no": "48900",
"id": "e1b9479c-3fe5-43d5-9dde-2d487b9baf1b"
}




© 2025 Kaleyra Inc. All rights reserved.
Trademarks, logos and service marks displayed on this site are registered and unregistered trademarks of Kaleyra Inc.