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

# Notification: add header to webhook

Add a header to a registered webhook

# 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/notification/webhook/{webhook_id}": {
      "post": {
        "tags": [
          "Notification"
        ],
        "summary": "Notification: add header to webhook",
        "description": "Add a header to a registered webhook",
        "operationId": "post_api-v1-notification-webhook-0c0f6a33dbf9436d16231f783b4bcfbd",
        "parameters": [
          {
            "name": "webhook_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": "CreateWebhookHeaderRequest",
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "value"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "title": "CreatedWebhookHeaderResponse",
                  "type": "object",
                  "properties": {
                    "webhook_header_id": {
                      "type": "string",
                      "format": "uuid"
                    }
                  },
                  "required": [
                    "webhook_header_id"
                  ]
                }
              }
            }
          },
          "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": {
      "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"
        ]
      },
      "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"
      }
    }
  }
}
```