{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/frame.makeroi.tech"
        }
    ],
    "info": {
        "name": "\u0424\u0440\u0435\u0439\u043c \u2014 REST API",
        "_postman_id": "f190e178-89d6-4b58-b239-2ee67a918e8f",
        "description": "\u0421\u0441\u044b\u043b\u043a\u0438, \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0438 \u0442\u043e\u043a\u0435\u043d\u044b \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0436\u0435\u0442\u0430 amoCRM \u00ab\u0424\u0440\u0435\u0439\u043c\u00bb.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f",
            "description": "",
            "item": [
                {
                    "name": "auth.exchange \u2014 \u0412\u044b\u0434\u0430\u0442\u044c \u0447\u0430\u0441\u043e\u0432\u043e\u0439 JWT \u00ab\u0424\u0440\u0435\u0439\u043c\u0430\u00bb.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/auth\/exchange",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/auth\/exchange"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u041e\u0431\u043c\u0435\u043d \u0448\u0442\u0430\u0442\u043d\u043e\u0433\u043e amoCRM widget JWT \u0438\u0437 X-Auth-Token \u043d\u0430 JWT \u0434\u043b\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.\n\u041f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0441\u0442\u0430\u0440\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"token\":\"<frame_jwt>\",\"token_type\":\"Bearer\",\"expires_in\":3600,\"expires_at\":\"2026-10-01T12:00:00+00:00\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435",
            "description": "",
            "item": [
                {
                    "name": "admin.directory.sync \u2014 \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0433\u0440\u0443\u043f\u043f\u044b amoCRM.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/directory\/sync",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/directory\/sync"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 \u0441\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c widget JWT \u0432 X-Auth-Token."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"users_synced\":12}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "admin.sessions.revoke \u2014 \u041e\u0442\u043e\u0437\u0432\u0430\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 frame JWT \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/sessions\/revoke",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/sessions\/revoke"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"user_id\":123}"
                        },
                        "description": "\u0423\u043a\u0430\u0436\u0438\u0442\u0435 ID \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f amoCRM. \u0423\u0436\u0435 \u0432\u044b\u0434\u0430\u043d\u043d\u044b\u0435 JWT \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0443\u0442 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c\n\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443, \u0435\u0441\u043b\u0438 \u0438\u0445 \u0441\u0435\u0441\u0441\u0438\u0438 \u0435\u0449\u0451 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0442."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"revoked\":2}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "admin.legacyImport \u2014 \u0420\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u0438\u043c\u043f\u043e\u0440\u0442 \u0441\u0442\u0430\u0440\u044b\u0445 \u0441\u0441\u044b\u043b\u043e\u043a.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/legacy-import",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/legacy-import"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0447\u0442\u0435\u043d\u0438\u0438 \u0438\u043b\u0438\n\u043e\u0431\u043c\u0435\u043d\u0435 JWT. \u041f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u044b."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"created\":1,\"existing\":0,\"already_imported\":false}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "admin.links.index \u2014 \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/links",
                            "query": [
                                {
                                    "key": "limit",
                                    "value": "50",
                                    "description": "\u0420\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043e\u0442 1 \u0434\u043e 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "\u041a\u0443\u0440\u0441\u043e\u0440 \u0438\u0437 next_cursor \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/links?limit=50&cursor=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443 amoCRM \u0441\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c widget JWT \u0432 X-Auth-Token.\n\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438; URL \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d."
                    },
                    "response": []
                },
                {
                    "name": "admin.links.store \u2014 \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/links",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/links"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"\u041e\u0442\u0447\u0451\u0442\",\"note\":\"\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043e\u0442\u0447\u0451\u0442 \u043e\u0442\u0434\u0435\u043b\u0430 \u043f\u0440\u043e\u0434\u0430\u0436.\",\"url\":\"https:\\\/\\\/site.example\\\/app#frame_token={{frame_token}}\",\"open_in_new_window\":false,\"token_mode\":\"none\",\"is_active\":true,\"placement\":\"card_tab\",\"entity_types\":[\"contacts\"],\"access_mode\":\"assigned\",\"append_entity_id\":false,\"append_manager_id\":false,\"access\":{\"users\":[16],\"groups\":[22]}}"
                        },
                        "description": "\u041f\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 HTTPS URL \u0438 ACL \u043f\u043e ID \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0433\u0440\u0443\u043f\u043f amoCRM. \u041f\u0443\u0441\u0442\u043e\u0439 ACL\n\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u0432\u0441\u0435\u0445, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430."
                    },
                    "response": []
                },
                {
                    "name": "admin.links.order \u2014 \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0432\u0441\u0435\u0445 \u0441\u0441\u044b\u043b\u043e\u043a.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/links\/order",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/links\/order"
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"ids\":[\"architecto\"]}"
                        },
                        "description": "\u041c\u0430\u0441\u0441\u0438\u0432 ids \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0432\u0441\u0435 \u043d\u0435\u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\n\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 version \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0438."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"success\":true}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "admin.links.show \u2014 \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/links\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/links\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc",
                                    "description": "The ID of the link."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d URL, ACL \u0438 version \u0434\u043b\u044f If-Match."
                    },
                    "response": []
                },
                {
                    "name": "admin.links.update \u2014 \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/links\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/links\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc",
                                    "description": "The ID of the link."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "If-Match",
                                "value": "1"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"\u041e\u0442\u0447\u0451\u0442\",\"note\":\"\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043e\u0442\u0447\u0451\u0442 \u043e\u0442\u0434\u0435\u043b\u0430 \u043f\u0440\u043e\u0434\u0430\u0436.\",\"url\":\"https:\\\/\\\/site.example\\\/app#frame_token={{frame_token}}\",\"open_in_new_window\":false,\"token_mode\":\"none\",\"is_active\":true,\"placement\":\"card_tab\",\"entity_types\":[\"leads\"],\"access_mode\":\"assigned\",\"append_entity_id\":false,\"append_manager_id\":false,\"access\":{\"users\":[16],\"groups\":[22]}}"
                        },
                        "description": "\u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u0435\u0439 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f. \u0422\u0440\u0435\u0431\u0443\u0435\u0442 If-Match \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c\nversion \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043e\u0442\u0432\u0435\u0442\u0430: 428 \u043f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438, 409 \u043f\u0440\u0438 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u0435."
                    },
                    "response": []
                },
                {
                    "name": "admin.links.destroy \u2014 \u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/admin\/links\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/admin\/links\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc",
                                    "description": "The ID of the link."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "If-Match",
                                "value": "1"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u041c\u044f\u0433\u043a\u043e\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435. \u0422\u0440\u0435\u0431\u0443\u0435\u0442 If-Match \u0441 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 version; \u0443\u0441\u043f\u0435\u0445 \u2014 204 \u0431\u0435\u0437 \u0442\u0435\u043b\u0430."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0441\u044b\u043b\u043a\u0430\u043c",
            "description": "",
            "item": [
                {
                    "name": "user.me \u2014 \u0423\u0437\u043d\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u043e JWT.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/me",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/me"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 widget JWT \u0432 X-Auth-Token \u0438\u043b\u0438 frame JWT \u0432 Authorization: Bearer.\nJWT \u0438\u0437 URL \u0441\u0441\u044b\u043b\u043a\u0438 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"token_valid\":true,\"account_id\":123,\"user\":{\"id\":456,\"name\":\"\u0418\u0432\u0430\u043d\",\"is_admin\":false},\"link\":{\"id\":\"11111111-1111-4111-8111-111111111111\",\"allowed\":true,\"url_template\":\"https:\/\/site.example\/app#frame_token={{frame_token}}\"},\"group_access_verified\":true,\"expires_at\":\"2026-11-23T12:00:00+00:00\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "links.tokenAccess \u2014 \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u0432 frame_token.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/access",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/access"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u041c\u0435\u0442\u043e\u0434 \u0434\u043b\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0441\u0430\u0439\u0442\u0430: \u043f\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 JWT \u0438\u0437 URL \u0432 Authorization: Bearer.\nUUID \u0431\u0435\u0440\u0451\u0442\u0441\u044f \u0438\u0437 \u0442\u043e\u043a\u0435\u043d\u0430. \u041e\u0431\u0449\u0438\u0439 JWT \u0438 widget JWT \u0437\u0434\u0435\u0441\u044c \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\":\"11111111-1111-4111-8111-111111111111\",\"allowed\":true}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "links.index \u2014 \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/links",
                            "query": [
                                {
                                    "key": "limit",
                                    "value": "50",
                                    "description": "\u0420\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043e\u0442 1 \u0434\u043e 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "\u041a\u0443\u0440\u0441\u043e\u0440 \u0438\u0437 next_cursor \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/links?limit=50&cursor=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0441 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0451\u043d\u043d\u044b\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f\nwidget JWT \u0438\u043b\u0438 \u043e\u0431\u0449\u0438\u0439 frame JWT \u0441 \u043e\u0431\u043b\u0430\u0441\u0442\u044c\u044e links:read; JWT \u0438\u0437 URL \u043e\u0434\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0438\n\u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a."
                    },
                    "response": []
                },
                {
                    "name": "links.show \u2014 \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0434\u043d\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/links\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/links\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc",
                                    "description": "The ID of the link."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "URL \u0432 \u043e\u0442\u0432\u0435\u0442\u0435 \u0443\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 JWT \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0438, \u0435\u0441\u043b\u0438 \u0437\u0430\u0434\u0430\u043d\u0430 \u043c\u0430\u0441\u043a\u0430\n{{frame_token}} \u0438\u043b\u0438 \u0440\u0435\u0436\u0438\u043c fragment. \u0427\u0443\u0436\u0430\u044f \u0438\u043b\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u0434\u0430\u0451\u0442 404."
                    },
                    "response": []
                },
                {
                    "name": "links.access \u2014 \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0441\u044b\u043b\u043a\u0435 \u043f\u043e UUID.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/links\/:id\/access",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/links\/:id\/access",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc",
                                    "description": "The ID of the link."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 allowed=false \u0434\u043b\u044f \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0438\u043b\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u0438.\nJWT \u0438\u0437 URL \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\":\"11111111-1111-4111-8111-111111111111\",\"allowed\":true}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "\u041a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 AmoCRM",
            "description": "",
            "item": [
                {
                    "name": "cardLinks.index \u2014 \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0440\u0430\u0432\u044b\u0435 \u0431\u043b\u043e\u043a\u0438 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/card-links",
                            "query": [
                                {
                                    "key": "entity_type",
                                    "value": "leads",
                                    "description": "\u0422\u0438\u043f \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438.",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "50",
                                    "description": "\u0420\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043e\u0442 1 \u0434\u043e 100.",
                                    "disabled": false
                                },
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "\u041a\u0443\u0440\u0441\u043e\u0440 \u0438\u0437 next_cursor \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v1\/card-links?entity_type=leads&limit=50&cursor=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"entity_type\":\"architecto\"}"
                        },
                        "description": "URL \u043d\u0435 \u0432\u044b\u0434\u0430\u0451\u0442\u0441\u044f \u0434\u043e POST \/card-links\/{id}\/resolve. \u0422\u0438\u043f\u044b \u043a\u0430\u0440\u0442\u043e\u0447\u0435\u043a:\nleads, contacts, companies, customers."
                    },
                    "response": []
                },
                {
                    "name": "cardLinks.resolve \u2014 \u0421\u043e\u0431\u0440\u0430\u0442\u044c URL \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u043d\u0430 backend.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/card-links\/:id\/resolve",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/card-links\/:id\/resolve",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc",
                                    "description": "The ID of the card link."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"entity_type\":\"leads\",\"entity_id\":987654,\"fields\":{\"123456\":\"ORD-1042\"}}"
                        },
                        "description": "entity_id \u0438 fields \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u043c \u043a\u0430\u043a \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u043d\u043e \u043d\u0435\n\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\u0442 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0443. \u0418\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\n\u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0441\u044b\u043b\u043a\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. URL \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0441 frame_token."
                    },
                    "response": []
                }
            ]
        }
    ],
    "auth": {
        "type": "apikey",
        "apikey": [
            {
                "key": "in",
                "value": "header",
                "type": "string"
            },
            {
                "key": "key",
                "value": "X-Auth-Token",
                "type": "string"
            }
        ]
    }
}