---
updatedAt: 2026-07-22T09:34:57.000Z
agentTools:
  projectIndex: https://developer.netwo.io/llms.txt
---

# Update a simcard

Update a simcard. Response 201 indicate update was successfully registered, and is being process.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Netwo API",
    "contact": {
      "name": "Netwo",
      "url": "https://app.netwo.io",
      "email": "contact@netwo.io"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.netwo.io"
    }
  ],
  "paths": {
    "/api/v1/service/simcard/{service_id}": {
      "put": {
        "tags": [
          "Service"
        ],
        "summary": "Update a simcard",
        "description": "Update a simcard. Response 201 indicate update was successfully registered, and is being process.",
        "operationId": "put_api-v1-service-simcard-56a68449c49933b8235206b62e7436a5",
        "parameters": [
          {
            "name": "service_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Actor-Slug",
            "in": "header",
            "description": "`X-Actor-Slug` header should contain an actor slug",
            "required": true,
            "deprecated": false,
            "style": "simple",
            "schema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "title": "ActorSlug",
              "description": "Define an `ActorSlug` which **has to be provided** to the handlers protected by an API key\nto generate the `security` definition of the endpoint in the openapi spec",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "UpdateSimCardHttp",
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UpdatePackagePayloadHttp"
                  },
                  {
                    "$ref": "#/components/schemas/AddExtensionPayloadHttp"
                  },
                  {
                    "$ref": "#/components/schemas/SimCardCommandHttp"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "410": {
            "description": "Gone"
          },
          "413": {
            "description": "Payload Too Large"
          },
          "422": {
            "description": "Unprocessable Entity"
          },
          "500": {
            "description": "Internal Server Error"
          },
          "501": {
            "description": "Not Implemented"
          }
        },
        "deprecated": false,
        "security": [
          {
            "authorized_user": []
          }
        ]
      }
    }
  },
  "webhooks": {
    "AppointmentCreated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "AppointmentRescheduled": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "AppointmentSelected": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "Consumption": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "CustomerRecordCreated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "CustomerRecordUpdated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "LandlineConnectionDown": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Landline connection is down",
        "description": "Sent when the connection of one of your landline services goes from up to down. `object_id` is the service id.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "LandlineConnectionUp": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Landline connection is up",
        "description": "Sent when the connection of one of your landline services goes from down to up. `object_id` is the service id.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "MobileBorderCrossed": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Mobile line crossed a border",
        "description": "Sent when one of your mobile lines enters another country. `object_id` is the subscription id, `sub_object_id` the id of the event holding the country that was entered: GET /api/v2-beta/mobile/subscriptions/{object_id}/events/{sub_object_id}.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "MobileSubscriptionStatusChanged": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "OrderLineCreated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "OrderLineMessageCreated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "OrderLineMessagePending": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "OrderLineUpdated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "OutgoingPortabilityApnfCommandReceived": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "OutgoingPortabilityFeedbackCriRequested": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeApproved": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeCancelled": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeCompleted": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeCreated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeHierarchyAccepted": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeNewMessage": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeOffer": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangePendingPropagation": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeProcessing": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "ServiceChangeRefused": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "SignalizationCreated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "SignalizationMessagePending": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "SignalizationMessagingCreated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "SignalizationUpdated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "title": "WebhookPayloadHttp",
                "type": "object",
                "properties": {
                  "event_type": {
                    "$ref": "#/components/schemas/NotificationTypeHttp"
                  },
                  "triggered_by": {
                    "type": "string"
                  },
                  "object_type": {
                    "$ref": "#/components/schemas/WebhookObjectTypeHttp"
                  },
                  "object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "sub_object_type": {
                    "description": "What `sub_object_id` refers to.",
                    "$ref": "#/components/schemas/WebhookSubObjectTypeHttp"
                  },
                  "event_date": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "event_type",
                  "triggered_by",
                  "object_type",
                  "object_id",
                  "event_date"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AddExtensionPayloadHttp": {
        "description": "Add an extension to allow more data consumption.\nVolume is in bytes",
        "type": "object",
        "properties": {
          "volume": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "required": [
          "volume"
        ]
      },
      "NotificationTypeHttp": {
        "type": "string",
        "enum": [
          "appointment_created",
          "appointment_selected",
          "appointment_rescheduled",
          "consumption",
          "order_line_created",
          "order_line_updated",
          "order_line_message_created",
          "order_line_message_pending",
          "signalization_created",
          "signalization_updated",
          "signalization_messaging_created",
          "signalization_message_pending",
          "customer_record_updated",
          "customer_record_created",
          "outgoing_portability_feedback_cri_requested",
          "outgoing_portability_apnf_command_received",
          "service_change_created",
          "service_change_cancelled",
          "service_change_completed",
          "service_change_new_message",
          "service_change_offer",
          "service_change_pending_propagation",
          "service_change_approved",
          "service_change_hierarchy_accepted",
          "service_change_refused",
          "service_change_processing",
          "mobile_subscription_status_changed",
          "mobile_border_crossed",
          "landline_connection_up",
          "landline_connection_down"
        ]
      },
      "PackageIdentifierHttp": {
        "description": "Update the monthly package if `package_id` is \"monthly\", or another package by using its uuid",
        "anyOf": [
          {
            "title": "Monthly",
            "$ref": "#/components/schemas/PackageIdentifierMonthlyHttp"
          },
          {
            "title": "Extension UUID",
            "type": "string",
            "format": "uuid"
          }
        ]
      },
      "PackageIdentifierMonthlyHttp": {
        "type": "string",
        "enum": [
          "monthly"
        ]
      },
      "SimCardCommandHttp": {
        "description": "`Suspend` will disconnect the simcard from the mobile network and block it. There is no way to unsuspend a simcard for now.\n`ResetSession` will disconnect and reconnect the simcard from the mobile network (useful to ensure network updates are correctly applied)",
        "type": "string",
        "enum": [
          "suspend",
          "reset_session"
        ]
      },
      "UpdatePackagePayloadHttp": {
        "description": "Update a package data volume.\nVolume is in bytes",
        "type": "object",
        "properties": {
          "volume": {
            "description": "New package volume in bytes",
            "type": "integer"
          },
          "package_id": {
            "$ref": "#/components/schemas/PackageIdentifierHttp"
          }
        },
        "required": [
          "volume",
          "package_id"
        ]
      },
      "WebhookObjectTypeHttp": {
        "type": "string",
        "enum": [
          "appointment",
          "consumption",
          "order_line",
          "signalization",
          "customer_record",
          "portability",
          "service_change",
          "mobile_subscription",
          "service"
        ]
      },
      "WebhookSubObjectTypeHttp": {
        "oneOf": [
          {
            "description": "Messaging thread, read through the messages endpoint of the parent object.",
            "type": "string",
            "const": "message_room"
          },
          {
            "description": "Entry of the object's event history.",
            "type": "string",
            "const": "service_event"
          }
        ]
      }
    },
    "securitySchemes": {
      "authorized_user": {
        "type": "apiKey",
        "name": "X-Api-Key",
        "in": "header",
        "description": "`X-Api-Key` header should contain an api token"
      }
    }
  }
}
```