RCS

Modify an RCS agent

Changed on

Updates the supplied configuration fields on the specified RCS agent.

patch/messaging/rcs/agents/{id}

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/messaging/rcs/agents/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

RCS agent ID

Request body

profile_idstring uuid nullable

Messaging profile ID associated with the RCS Agent

webhook_urlstring url nullable

URL to receive RCS events

webhook_failover_urlstring url nullable

Failover URL to receive RCS events

Example request

{
  "profile_id": "4001932a-b8a3-42fc-9389-021be6388909",
  "webhook_url": "http://example.com",
  "webhook_failover_url": "http://example.com"
}

Response

Successful response with the updated RCS agent

Example response

{
  "data": {
    "agent_id": "TestAgent",
    "user_id": "2ecf295b-36c6-4d43-ad05-71eb1e560518",
    "profile_id": "4001932a-b8a3-42fc-9389-021be6388909",
    "webhook_url": "http://example.com",
    "webhook_failover_url": "http://example.com",
    "agent_name": "Test Agent",
    "enabled": true,
    "created_at": "2024-01-01T12:00:00.000Z",
    "updated_at": "2024-01-01T12:00:00.000Z"
  }
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the / response's property type changed from no type to object for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the /// response's property format changed from json-pointer to no format for status