{
    "item": [
        {
            "name": "Webhooks",
            "description": "",
            "item": [
                {
                    "id": "c826900c-085c-4dfb-9f25-9d44bd1933ae",
                    "name": "List Webhooks",
                    "request": {
                        "name": "List Webhooks",
                        "description": {
                            "content": "Retrieve a paginated list of webhooks.",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                ""
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "ISO 8601 timestamp (UTC). Only include movements on or after this time.",
                                        "type": "text/plain"
                                    },
                                    "key": "date_from",
                                    "value": "5195-94-71T45:64:31Z"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "ISO 8601 timestamp (UTC). Only include movements on or before this time.",
                                        "type": "text/plain"
                                    },
                                    "key": "date_to",
                                    "value": "5685-91-55T53:56:83"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "Filter by webhook status.",
                                        "type": "text/plain"
                                    },
                                    "key": "status",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "If provided, only return movements with this operation type.",
                                        "type": "text/plain"
                                    },
                                    "key": "operation_type",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "If provided, only return movements with this operation ID.",
                                        "type": "text/plain"
                                    },
                                    "key": "operation_id",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "Page index (1-based). Results start from page 1 by default.",
                                        "type": "text/plain"
                                    },
                                    "key": "page_number",
                                    "value": "1"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "Maximum number of movements to return per page. Defaults to 50.",
                                        "type": "text/plain"
                                    },
                                    "key": "page_size",
                                    "value": "50"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "",
                                        "type": "text/plain"
                                    },
                                    "key": "limit",
                                    "value": "50"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "",
                                        "type": "text/plain"
                                    },
                                    "key": "cursor",
                                    "value": "<string>"
                                }
                            ],
                            "variable": []
                        },
                        "header": [
                            {
                                "disabled": false,
                                "description": {
                                    "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                    "type": "text/plain"
                                },
                                "key": "x-company-id",
                                "value": "<integer>"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "GET",
                        "body": {},
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{basicAuthUsername}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{basicAuthPassword}}"
                                }
                            ]
                        }
                    },
                    "response": [
                        {
                            "id": "a7c7df12-f19d-432e-a503-5600cb6a2695",
                            "name": "Successful Response",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "ISO 8601 timestamp (UTC). Only include movements on or after this time.",
                                                "type": "text/plain"
                                            },
                                            "key": "date_from",
                                            "value": "5195-94-71T45:64:31Z"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "ISO 8601 timestamp (UTC). Only include movements on or before this time.",
                                                "type": "text/plain"
                                            },
                                            "key": "date_to",
                                            "value": "5685-91-55T53:56:83"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Filter by webhook status.",
                                                "type": "text/plain"
                                            },
                                            "key": "status",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "If provided, only return movements with this operation type.",
                                                "type": "text/plain"
                                            },
                                            "key": "operation_type",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "If provided, only return movements with this operation ID.",
                                                "type": "text/plain"
                                            },
                                            "key": "operation_id",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Page index (1-based). Results start from page 1 by default.",
                                                "type": "text/plain"
                                            },
                                            "key": "page_number",
                                            "value": "1"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Maximum number of movements to return per page. Defaults to 50.",
                                                "type": "text/plain"
                                            },
                                            "key": "page_size",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "cursor",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "OK",
                            "code": 200,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"data\": {\n    \"id\": \"<string>\",\n    \"status\": \"PENDING\",\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\",\n    \"operation_type\": \"<string>\",\n    \"url\": \"<string>\",\n    \"last_response_status\": \"<string>\",\n    \"last_response_body\": {\n      \"key_0\": \"string\"\n    }\n  },\n  \"status\": \"success\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "24727ad7-1101-4525-8640-636f9e3c1240",
                            "name": "Bad Request",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "ISO 8601 timestamp (UTC). Only include movements on or after this time.",
                                                "type": "text/plain"
                                            },
                                            "key": "date_from",
                                            "value": "5195-94-71T45:64:31Z"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "ISO 8601 timestamp (UTC). Only include movements on or before this time.",
                                                "type": "text/plain"
                                            },
                                            "key": "date_to",
                                            "value": "5685-91-55T53:56:83"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Filter by webhook status.",
                                                "type": "text/plain"
                                            },
                                            "key": "status",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "If provided, only return movements with this operation type.",
                                                "type": "text/plain"
                                            },
                                            "key": "operation_type",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "If provided, only return movements with this operation ID.",
                                                "type": "text/plain"
                                            },
                                            "key": "operation_id",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Page index (1-based). Results start from page 1 by default.",
                                                "type": "text/plain"
                                            },
                                            "key": "page_number",
                                            "value": "1"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Maximum number of movements to return per page. Defaults to 50.",
                                                "type": "text/plain"
                                            },
                                            "key": "page_size",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "cursor",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "2f432281-66eb-4ee8-9de8-57739559ce3d",
                            "name": "Unprocessable Entity",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "ISO 8601 timestamp (UTC). Only include movements on or after this time.",
                                                "type": "text/plain"
                                            },
                                            "key": "date_from",
                                            "value": "5195-94-71T45:64:31Z"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "ISO 8601 timestamp (UTC). Only include movements on or before this time.",
                                                "type": "text/plain"
                                            },
                                            "key": "date_to",
                                            "value": "5685-91-55T53:56:83"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Filter by webhook status.",
                                                "type": "text/plain"
                                            },
                                            "key": "status",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "If provided, only return movements with this operation type.",
                                                "type": "text/plain"
                                            },
                                            "key": "operation_type",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "If provided, only return movements with this operation ID.",
                                                "type": "text/plain"
                                            },
                                            "key": "operation_id",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Page index (1-based). Results start from page 1 by default.",
                                                "type": "text/plain"
                                            },
                                            "key": "page_number",
                                            "value": "1"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Maximum number of movements to return per page. Defaults to 50.",
                                                "type": "text/plain"
                                            },
                                            "key": "page_size",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "50"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "",
                                                "type": "text/plain"
                                            },
                                            "key": "cursor",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                            "code": 422,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                },
                {
                    "id": "e588dccf-d079-47bb-963a-ac9cafddc359",
                    "name": "Update Webhook",
                    "request": {
                        "name": "Update Webhook",
                        "description": {
                            "content": "Updates an existing webhook's configuration or status. If the webhook is currently in an ERROR state, you can trigger a resend by updating its status to PENDING.",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                ":webhook_id",
                                ""
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "type": "any",
                                    "value": "<string>",
                                    "key": "webhook_id",
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) ",
                                        "type": "text/plain"
                                    }
                                }
                            ]
                        },
                        "header": [
                            {
                                "disabled": false,
                                "description": {
                                    "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                    "type": "text/plain"
                                },
                                "key": "x-company-id",
                                "value": "<integer>"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "PATCH",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"status\": \"PENDING\",\n  \"url\": \"<string>\"\n}",
                            "options": {
                                "raw": {
                                    "headerFamily": "json",
                                    "language": "json"
                                }
                            }
                        },
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{basicAuthUsername}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{basicAuthPassword}}"
                                }
                            ]
                        }
                    },
                    "response": [
                        {
                            "id": "7db27562-b8a5-4460-9256-7d12c3868be4",
                            "name": "Successful Response",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        ":webhook_id",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) ",
                                                "type": "text/plain"
                                            },
                                            "type": "any",
                                            "value": "<string>",
                                            "key": "webhook_id"
                                        }
                                    ]
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "PATCH",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n  \"status\": \"PENDING\",\n  \"url\": \"<string>\"\n}",
                                    "options": {
                                        "raw": {
                                            "headerFamily": "json",
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"data\": {\n    \"id\": \"<string>\",\n    \"status\": \"PENDING\",\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\",\n    \"operation_type\": \"<string>\",\n    \"url\": \"<string>\",\n    \"last_response_status\": \"<string>\",\n    \"last_response_body\": {\n      \"key_0\": \"string\"\n    }\n  },\n  \"status\": \"success\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "80b951c2-a3e7-47b4-9a79-8f98da4d5c9a",
                            "name": "Bad Request",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        ":webhook_id",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) ",
                                                "type": "text/plain"
                                            },
                                            "type": "any",
                                            "value": "<string>",
                                            "key": "webhook_id"
                                        }
                                    ]
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "PATCH",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n  \"status\": \"PENDING\",\n  \"url\": \"<string>\"\n}",
                                    "options": {
                                        "raw": {
                                            "headerFamily": "json",
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "2884901d-f4e3-4058-9af0-7fc1baf3a5c6",
                            "name": "Unprocessable Entity",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        ":webhook_id",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) ",
                                                "type": "text/plain"
                                            },
                                            "type": "any",
                                            "value": "<string>",
                                            "key": "webhook_id"
                                        }
                                    ]
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "PATCH",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n  \"status\": \"PENDING\",\n  \"url\": \"<string>\"\n}",
                                    "options": {
                                        "raw": {
                                            "headerFamily": "json",
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                            "code": 422,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                }
            ]
        }
    ],
    "event": [],
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://app2test.infiniaweb.com/infinia_api/v1/webhooks"
        }
    ],
    "info": {
        "_postman_id": "16381499-b340-4d53-a571-ebdcf2de67e6",
        "name": "Webhooks",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": {
            "content": "Manage your webhooks",
            "type": "text/plain"
        }
    }
}