RCS

Generate RCS deeplink

Changed on

Generate a deeplink URL that can be used to start an RCS conversation with a specific agent.

get/messages/rcs_deeplinks/{agent_id}

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/messages/rcs_deeplinks/{agent_id}
  • Auth: HTTP bearer

Path parameters

agent_idstring required

RCS agent ID

Query parameters

phone_numberstring

Phone number in E164 format (URL encoded)

bodystring

Pre-filled message body (URL encoded)

Response

Successful response with deeplink URL

Example response

{
  "data": {
    "url": "sms:+18445550001?service_id=my_agent_id%40rbm.goog&body=hello%20world"
  }
}

Changes