---
updatedAt: 2025-06-05T21:49:09.000Z
agentTools:
  projectIndex: https://docs.cloudloop.com/llms.txt
---

# Change Subscriber

Change an already active contract

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "cloudloop",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.cloudloop.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/Telephony/DoChangeSubscriber": {
      "get": {
        "summary": "Change Subscriber",
        "description": "Change an already active contract",
        "operationId": "change-contract",
        "parameters": [
          {
            "name": "subscriber",
            "in": "query",
            "description": "CloudLoop Subscriber Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "plan",
            "in": "query",
            "description": "CloudLoop Plan NAME",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"contract\": {\n    \"subscriber\": \"rXgwyNPpDmebJLWXKZnoARqxMdZOVGva\",\n    \"networkStatus\": \"CHANGING\",\n    \"from\": \"2018-05-04T13:25:29.056\",\n    \"id\": \"DgXeoxwVPMyrdOWJamnGlqKRJLbajQkz\",\n    \"state\": \"CHANGED\",\n    \"to\": null,\n    \"plan\": {\n      \"inclusive\": 0,\n      \"pooled\": false,\n      \"suspendible\": false,\n      \"name\": \"Another Plan\",\n      \"description\": \"This is an example plan\",\n      \"increment\": 0,\n      \"commitment\": 0,\n      \"id\": \"OVdRorbmlwqkNBpaqLnJYPZvxaXpzjLg\",\n      \"minimum\": 0\n    },\n    \"hardware\": \"pwjgJyDQqreRkExwxYWAGYmVlazNdOMX\"\n  }\n}"
                  },
                  "Unable to Change": {
                    "value": "{\n  \"at\": 1525440391664,\n  \"error\": \"DispatcherOperationException\"\n}"
                  },
                  "Invalid Transition": {
                    "value": "{\n  \"at\": 1525440391664,\n  \"error\": \"DispatcherOperationException\"\n}"
                  },
                  "Incomplete Request": {
                    "value": "{\n  \"at\": 1525440513029,\n  \"error\": \"DispatcherInputException\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "contract": {
                          "type": "object",
                          "properties": {
                            "subscriber": {
                              "type": "string",
                              "example": "rXgwyNPpDmebJLWXKZnoARqxMdZOVGva"
                            },
                            "networkStatus": {
                              "type": "string",
                              "example": "CHANGING"
                            },
                            "from": {
                              "type": "string",
                              "example": "2018-05-04T13:25:29.056"
                            },
                            "id": {
                              "type": "string",
                              "example": "DgXeoxwVPMyrdOWJamnGlqKRJLbajQkz"
                            },
                            "state": {
                              "type": "string",
                              "example": "CHANGED"
                            },
                            "to": {},
                            "plan": {
                              "type": "object",
                              "properties": {
                                "inclusive": {
                                  "type": "integer",
                                  "example": 0,
                                  "default": 0
                                },
                                "pooled": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "suspendible": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "name": {
                                  "type": "string",
                                  "example": "Another Plan"
                                },
                                "description": {
                                  "type": "string",
                                  "example": "This is an example plan"
                                },
                                "increment": {
                                  "type": "integer",
                                  "example": 0,
                                  "default": 0
                                },
                                "commitment": {
                                  "type": "integer",
                                  "example": 0,
                                  "default": 0
                                },
                                "id": {
                                  "type": "string",
                                  "example": "OVdRorbmlwqkNBpaqLnJYPZvxaXpzjLg"
                                },
                                "minimum": {
                                  "type": "integer",
                                  "example": 0,
                                  "default": 0
                                }
                              }
                            },
                            "hardware": {
                              "type": "string",
                              "example": "pwjgJyDQqreRkExwxYWAGYmVlazNdOMX"
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Unable to Change",
                      "type": "object",
                      "properties": {
                        "at": {
                          "type": "integer",
                          "example": 1525440391664,
                          "default": 0
                        },
                        "error": {
                          "type": "string",
                          "example": "DispatcherOperationException"
                        }
                      }
                    },
                    {
                      "title": "Invalid Transition",
                      "type": "object",
                      "properties": {
                        "at": {
                          "type": "integer",
                          "example": 1525440391664,
                          "default": 0
                        },
                        "error": {
                          "type": "string",
                          "example": "DispatcherOperationException"
                        }
                      }
                    },
                    {
                      "title": "Incomplete Request",
                      "type": "object",
                      "properties": {
                        "at": {
                          "type": "integer",
                          "example": 1525440513029,
                          "default": 0
                        },
                        "error": {
                          "type": "string",
                          "example": "DispatcherInputException"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```