Get an Agent Verification Status

GET Method

The Get an Agent Verification Status API allows you to retrieve the current verification status of an agent based on agent number, indicating whether the agent is verified or not.

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

URLRegion
https://rcs-api.<pod>.kaleyra.ioFor North America (NA).
https://rcs-api.<pod>.kaleyra.ioFor the rest of the world.

API Domain and Value

api_domainValue
IN podhttps://rcs-api.in.kaleyra.io
NA podhttps://rcs-api.na.kaleyra.io

API request to get an Agent Verification Status

To get an agent verification status, use the https://rcs-api.<pod>.kaleyra.io/v1/<sid>/rcs/agentstatus?agent_number={agent_number} endpoint with the following request method:

Request Format

The following is the request format to get an agent verification status:

curl --location --request GET 'https://<api_domain>/v1/<sid>/rcs/agentstatus?agent_number=<agent_number>'\
--header 'Content-Type: <content_type>' \
--header 'api-key: <api-key>'

Sample Request Format

The following is the sample request format to get an agent verification status:

curl --location --request GET 'https://rcs-api.na.kaleyra.io/v1/XXXXX6913850XXXX/rcs/agentstatus?agent_number=48400'\
--header 'Content-Type: application/json' \
--header 'api-key: XXXXX3b8497f58a94e84b671aca43XXXX' 

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

The following is the list of parameters to be used in the payload to get an agent verification status by agent number:

ParameterData TypeDescriptionExampleMandatory?
agent_numberstringAuto generated number by the server at the time of create agent request.48400Yes

Sample Success Response

The following is the sample success response:

{
    "code": "RCS902",
    "message": "Agent verification obtained successfully",
    "data": true,
    "error": {}
}

Failure Responses

The following is the list of error codes that you can encounter while getting an agent verification status:

ScenarioHTTP StatusError CodeMessageError Code ConstantError Message
Method Not Allowed405RCS405Method not allowed.METHOD_NOT_ALLOWEDMethod not allowed.
Gateway Error500RCS502Internal Gateway ErrorRCS_CHANNEL_INTERNAL_ERRORInternal Gateway Error.
Internal Server Error500RCS500Internal server errorRCS_CHANNEL_INTERNAL_ERRORInternal server error.




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