{
  "opencollection": "1.0.0",
  "info": {
    "name": "Telnyx Access Tokens RCS API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "RCS",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Send an RCS message",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/messages/rcs",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send an RCS message"
        },
        {
          "info": {
            "name": "Generate RCS deeplink",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/messages/rcs/deeplinks/:agent_id",
            "params": [
              {
                "name": "agent_id",
                "value": "",
                "type": "path",
                "description": "RCS agent ID"
              },
              {
                "name": "phone_number",
                "value": "%2B18445550001",
                "type": "query",
                "description": "Phone number in E164 format (URL encoded)"
              },
              {
                "name": "body",
                "value": "hello%20world",
                "type": "query",
                "description": "Pre-filled message body (URL encoded)"
              }
            ]
          },
          "docs": "Generate a deeplink URL that can be used to start an RCS conversation with a specific agent."
        },
        {
          "info": {
            "name": "List all RCS agents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/messaging/rcs/agents",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Consolidated page parameter (deepObject style). Originally: page[number], page[size]"
              }
            ]
          },
          "docs": "List all RCS agents"
        },
        {
          "info": {
            "name": "Retrieve an RCS agent",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/messaging/rcs/agents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "RCS agent ID"
              }
            ]
          },
          "docs": "Retrieve an RCS agent"
        },
        {
          "info": {
            "name": "Modify an RCS agent",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.telnyx.com/v2/messaging/rcs/agents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "RCS agent ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modify an RCS agent"
        },
        {
          "info": {
            "name": "Check RCS capabilities (batch)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/messaging/rcs/bulk_capabilities",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Check RCS capabilities (batch)"
        },
        {
          "info": {
            "name": "Check RCS capabilities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/messaging/rcs/capabilities/:agent_id/:phone_number",
            "params": [
              {
                "name": "agent_id",
                "value": "",
                "type": "path",
                "description": "RCS agent ID"
              },
              {
                "name": "phone_number",
                "value": "",
                "type": "path",
                "description": "Phone number in E164 format"
              }
            ]
          },
          "docs": "Check RCS capabilities"
        },
        {
          "info": {
            "name": "Add RCS test number",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.telnyx.com/v2/messaging/rcs/test_number_invite/:id/:phone_number",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "RCS agent ID"
              },
              {
                "name": "phone_number",
                "value": "",
                "type": "path",
                "description": "Phone number in E164 format to invite for testing"
              }
            ]
          },
          "docs": "Adds a test phone number to an RCS agent for testing purposes."
        }
      ]
    }
  ],
  "bundled": true
}