Generate RCS deeplink
Changed onGenerate a deeplink URL that can be used to start an RCS conversation with a specific agent.
Request
- Base URLhttps://api.telnyx.com/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
RCS agent ID
Query parameters
Phone number in E164 format (URL encoded)
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
- breaking
the response's body type changed from
objectto no type for status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - breaking
the
///response's property format changed fromjson-pointerto no format for status
- breaking