API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.
URL cơ sở
API Kavio có tại địa chỉ:
https://app.getkavio.app/api
Xác thực
Mọi yêu cầu API đều cần Bearer token trong header Authorization. Bạn có thể tạo khóa API (Personal Access Token) trên bảng điều khiển Kavio hoặc qua endpoint POST /api-keys.
Authorization: Bearer YOUR_API_KEY
Giữ kín khóa API. Không để khóa xuất hiện trong mã phía máy khách hoặc kho mã
công khai. Token dạng văn bản thuần chỉ hiển thị một lần khi tạo, vì vậy hãy
lưu ngay.
Phạm vi không gian làm việc
Mỗi khóa API được gắn với một không gian làm việc ngay khi tạo. Mọi yêu cầu đều thao tác trong không gian đó; bạn không thể dùng cùng khóa để xem hoặc sửa tài nguyên ở nơi khác. Nếu làm việc với nhiều không gian, hãy tạo một khóa API cho từng nơi.Bạn có thể dùng cùng khóa cho REST API và máy chủ MCP.
Giới hạn tần suất
Các yêu cầu API được giới hạn tần suất để ngăn hành vi lạm dụng. Khi vượt giới hạn, API trả về mã 429; header Retry-After cho biết cần chờ bao nhiêu giây.
Lỗi
API sử dụng các mã trạng thái HTTP thông dụng. Mọi phản hồi lỗi đều có trường message.
Trạng thái
Mô tả
200
Thành công
201
Đã tạo
204
Không có nội dung (đã xóa thành công)
401
Thiếu khóa API hoặc khóa không hợp lệ
402
Cần có gói đăng ký đang hoạt động
404
Không tìm thấy tài nguyên hoặc tài nguyên nằm ngoài không gian của khóa
422
Lỗi xác thực dữ liệu
429
Đã vượt giới hạn tần suất
{ "message": "The name field is required."}
Cấu trúc phản hồi
Tài nguyên được trả về trực tiếp, không bọc trong data:. Một tài nguyên có dạng:
Dùng tham số truy vấn page để chuyển trang. Các endpoint danh sách khác (chữ ký, nhãn, tài khoản mạng xã hội và khóa API) trả về toàn bộ mục trong một mảng thuần, không phân trang.
Tra cứu nhanh
Tài nguyên
Endpoint
Bài đăng
GET /posts, POST /posts, GET /posts/{id}, PUT /posts/{id}, DELETE /posts/{id}, POST /posts/{id}/media, POST /posts/{id}/media/from-url, GET /posts/{id}/metrics, GET /posts/{id}/preview
Nền tảng
GET /content-types
Không gian làm việc
GET /workspace
Chữ ký
GET /signatures, POST /signatures, PUT /signatures/{id}, DELETE /signatures/{id}
Nhãn
GET /labels, POST /labels, PUT /labels/{id}, DELETE /labels/{id}
Tài khoản mạng xã hội
GET /social-accounts, PUT /social-accounts/{id}/toggle
Khóa API
GET /api-keys, POST /api-keys, DELETE /api-keys/{id}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kavio Docs","colors":{"primary":"#2563eb","light":"#3b82f6","dark":"#1d4ed8"},"logo":{"light":"https://mintcdn.com/kavio/v0bkouT8mVjjx8DU/logo/light.png?fit=max\u0026auto=format\u0026n=v0bkouT8mVjjx8DU\u0026q=85\u0026s=309ef015bbf172f60d4949bba63f6493","dark":"https://mintcdn.com/kavio/v0bkouT8mVjjx8DU/logo/dark.png?fit=max\u0026auto=format\u0026n=v0bkouT8mVjjx8DU\u0026q=85\u0026s=f6f1d419ba23a4acc53fe3759ae31e65"},"favicon":"https://mintcdn.com/kavio/v0bkouT8mVjjx8DU/favicon.png?fit=max\u0026auto=format\u0026n=v0bkouT8mVjjx8DU\u0026q=85\u0026s=4b0b33f41d60e14761793ff204a87866","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://app.getkavio.app/api"}},"background":{"color":{"light":"#f8fafc","dark":"#0f172a"}},"navbar":{"links":[{"href":"https://getkavio.app","label":"Home"}],"primary":{"type":"button","label":"Get started free","href":"https://app.getkavio.app/register"}},"footer":{"socials":{"x":"https://x.com/getkavio","youtube":"https://www.youtube.com/@getkavio"}},"integrations":{"posthog":{"apiKey":"phc_qZKcjfjndNDmU4k5KSfhsiSCjS9yGuVuFLYfqri0YG1","apiHost":"https://dt.getkavio.app"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"knowledge-base/introduction"},{"language":"vi","default":true,"href":"vi/knowledge-base/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kavio","hasAudioNarration":false,"actualSubdomain":"kavio","customDomains":["docs.getkavio.app"],"gitSource":{"type":"gitlab","owner":"kavio1","repo":"kavio_site","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"projectId":82502039,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a992755b8d2f9ee7b619988","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"en","tag":"Kavio Ecommerce","count":84},{"language":"vi","tag":"Kavio Ecommerce","count":84},{"language":"en","tag":"Kavio Content","count":55},{"language":"vi","tag":"Kavio Content","count":55},{"language":"en","tag":"API Reference","count":26},{"language":"vi","tag":"Tài liệu API","count":26},{"language":"en","tag":"Knowledge Base","count":17},{"language":"vi","tag":"Hướng dẫn sử dụng","count":17},{"language":"en","tag":"Build with AI","count":12},{"language":"en","tag":"Advanced and technical settings","count":12},{"language":"en","tag":"Essential store settings","count":12},{"language":"vi","tag":"Xây dựng với AI","count":12},{"language":"vi","tag":"Cài đặt nâng cao và kỹ thuật","count":12},{"language":"vi","tag":"Cài đặt cửa hàng thiết yếu","count":12},{"language":"en","tag":"Setup Guides","count":10},{"language":"en","tag":"Posts","count":10},{"language":"vi","tag":"Hướng dẫn thiết lập","count":10},{"language":"vi","tag":"Bài đăng","count":10},{"language":"en","tag":"Orders and fulfillment","count":9},{"language":"vi","tag":"Đơn hàng và giao hàng","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"vi/api-reference/introduction","slug":"/vi/api-reference/introduction","pageMetadata":{"title":"Giới thiệu","description":"API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.","href":"/vi/api-reference/introduction"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`url-cơ-sở`,children:`URL cơ sở`}),`\n`,_jsx(_components.p,{children:`API Kavio có tại địa chỉ:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://app.getkavio.app/api`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`xác-thực`,children:`Xác thực`}),`\n`,_jsxs(_components.p,{children:[`Mọi yêu cầu API đều cần Bearer token trong header `,_jsx(_components.code,{children:`Authorization`}),`. Bạn có thể tạo khóa API (Personal Access Token) trên `,_jsx(_components.a,{href:`https://app.getkavio.app/settings/authentication`,children:`bảng điều khiển Kavio`}),` hoặc qua endpoint `,_jsx(_components.a,{href:`/vi/api-reference/endpoint/create-api-key`,children:_jsx(_components.code,{children:`POST /api-keys`})}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Giữ kín khóa API. Không để khóa xuất hiện trong mã phía máy khách hoặc kho mã\ncông khai. Token dạng văn bản thuần chỉ hiển thị một lần khi tạo, vì vậy hãy\nlưu ngay.`})}),`\n`,_jsx(Heading,{level:`2`,id:`phạm-vi-không-gian-làm-việc`,children:`Phạm vi không gian làm việc`}),`\n`,_jsx(_components.p,{children:`Mỗi khóa API được gắn với một không gian làm việc ngay khi tạo. Mọi yêu cầu đều thao tác trong không gian đó; bạn không thể dùng cùng khóa để xem hoặc sửa tài nguyên ở nơi khác. Nếu làm việc với nhiều không gian, hãy tạo một khóa API cho từng nơi.`}),`\n`,_jsxs(_components.p,{children:[`Bạn có thể dùng cùng khóa cho REST API và `,_jsx(_components.a,{href:`/vi/ai/introduction`,children:`máy chủ MCP`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`giới-hạn-tần-suất`,children:`Giới hạn tần suất`}),`\n`,_jsxs(_components.p,{children:[`Các yêu cầu API được giới hạn tần suất để ngăn hành vi lạm dụng. Khi vượt giới hạn, API trả về mã `,_jsx(_components.code,{children:`429`}),`; header `,_jsx(_components.code,{children:`Retry-After`}),` cho biết cần chờ bao nhiêu giây.`]}),`\n`,_jsx(Heading,{level:`2`,id:`lỗi`,children:`Lỗi`}),`\n`,_jsxs(_components.p,{children:[`API sử dụng các mã trạng thái HTTP thông dụng. Mọi phản hồi lỗi đều có trường `,_jsx(_components.code,{children:`message`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Trạng thái`}),_jsx(_components.th,{children:`Mô tả`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`Thành công`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`201`})}),_jsx(_components.td,{children:`Đã tạo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`204`})}),_jsx(_components.td,{children:`Không có nội dung (đã xóa thành công)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Thiếu khóa API hoặc khóa không hợp lệ`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`402`})}),_jsx(_components.td,{children:`Cần có gói đăng ký đang hoạt động`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Không tìm thấy tài nguyên hoặc tài nguyên nằm ngoài không gian của khóa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`Lỗi xác thực dữ liệu`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Đã vượt giới hạn tần suất`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The name field is required.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`cấu-trúc-phản-hồi`,children:`Cấu trúc phản hồi`}),`\n`,_jsxs(_components.p,{children:[`Tài nguyên được trả về `,_jsx(_components.strong,{children:`trực tiếp`}),`, không bọc trong `,_jsx(_components.code,{children:`data:`}),`. Một tài nguyên có dạng:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9f1a2b3c-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Danh sách không phân trang được trả về dưới dạng mảng thuần:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9f1a2b3c-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Chỉ endpoint `,_jsx(_components.code,{children:`GET /posts`}),` bọc dữ liệu trong `,_jsx(_components.code,{children:`data:`}),` vì endpoint này có phân trang.`]}),`\n`,_jsx(Heading,{level:`2`,id:`phân-trang`,children:`Phân trang`}),`\n`,_jsxs(_components.p,{children:[`Endpoint `,_jsx(_components.a,{href:`/vi/api-reference/endpoint/list-posts`,children:_jsx(_components.code,{children:`GET /posts`})}),` trả về 15 bài đăng mỗi trang. Phản hồi sử dụng cấu trúc phân trang tiêu chuẩn của Laravel:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"links\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.getkavio.app/api/posts?page=1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.getkavio.app/api/posts?page=5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.getkavio.app/api/posts?page=2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"per_page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`72`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.getkavio.app/api/posts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"links\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u0026laquo; Previous\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.getkavio.app/api/posts?page=1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Next \u0026raquo;\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Dùng tham số truy vấn `,_jsx(_components.code,{children:`page`}),` để chuyển trang. Các endpoint danh sách khác (chữ ký, nhãn, tài khoản mạng xã hội và khóa API) trả về toàn bộ mục trong một mảng thuần, không phân trang.`]}),`\n`,_jsx(Heading,{level:`2`,id:`tra-cứu-nhanh`,children:`Tra cứu nhanh`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tài nguyên`}),_jsx(_components.th,{children:`Endpoint`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bài đăng`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /posts`}),`, `,_jsx(_components.code,{children:`POST /posts`}),`, `,_jsx(_components.code,{children:`GET /posts/{id}`}),`, `,_jsx(_components.code,{children:`PUT /posts/{id}`}),`, `,_jsx(_components.code,{children:`DELETE /posts/{id}`}),`, `,_jsx(_components.code,{children:`POST /posts/{id}/media`}),`, `,_jsx(_components.code,{children:`POST /posts/{id}/media/from-url`}),`, `,_jsx(_components.code,{children:`GET /posts/{id}/metrics`}),`, `,_jsx(_components.code,{children:`GET /posts/{id}/preview`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Nền tảng`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /content-types`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Không gian làm việc`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /workspace`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Chữ ký`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /signatures`}),`, `,_jsx(_components.code,{children:`POST /signatures`}),`, `,_jsx(_components.code,{children:`PUT /signatures/{id}`}),`, `,_jsx(_components.code,{children:`DELETE /signatures/{id}`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Nhãn`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /labels`}),`, `,_jsx(_components.code,{children:`POST /labels`}),`, `,_jsx(_components.code,{children:`PUT /labels/{id}`}),`, `,_jsx(_components.code,{children:`DELETE /labels/{id}`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tài khoản mạng xã hội`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /social-accounts`}),`, `,_jsx(_components.code,{children:`PUT /social-accounts/{id}/toggle`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Khóa API`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /api-keys`}),`, `,_jsx(_components.code,{children:`POST /api-keys`}),`, `,_jsx(_components.code,{children:`DELETE /api-keys/{id}`})]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Giới thiệu","description":"API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.","href":"/vi/api-reference/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"URL cơ sở","slug":"url-cơ-sở","depth":2,"children":[]},{"title":"Xác thực","slug":"xác-thực","depth":2,"children":[]},{"title":"Phạm vi không gian làm việc","slug":"phạm-vi-không-gian-làm-việc","depth":2,"children":[]},{"title":"Giới hạn tần suất","slug":"giới-hạn-tần-suất","depth":2,"children":[]},{"title":"Lỗi","slug":"lỗi","depth":2,"children":[]},{"title":"Cấu trúc phản hồi","slug":"cấu-trúc-phản-hồi","depth":2,"children":[]},{"title":"Phân trang","slug":"phân-trang","depth":2,"children":[]},{"title":"Tra cứu nhanh","slug":"tra-cứu-nhanh","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"kavio","siteName":"Kavio Docs","title":"Giới thiệu - Kavio Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/introduction","matchLevel":1},"vi":{"href":"/vi/api-reference/introduction","matchLevel":0}}},"lastModified":"2026-07-31T08:20:16.422Z","originalFileLocation":"vi/api-reference/introduction.mdx","locale":"vi"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kavio Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Giới thiệu - Kavio Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kavio Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getkavio.app/vi/api-reference/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kavio.mintlify.site/_mintlify/api/og/v2?division=T%E1%BB%95ng+quan\u0026amp;title=Gi%E1%BB%9Bi+thi%E1%BB%87u\u0026amp;description=API+Kavio+gi%C3%BAp+b%E1%BA%A1n+qu%E1%BA%A3n+l%C3%BD+b%C3%A0i+%C4%91%C4%83ng+m%E1%BA%A1ng+x%C3%A3+h%E1%BB%99i%2C+ch%E1%BB%AF+k%C3%BD%2C+nh%C3%A3n+v%C3%A0+nhi%E1%BB%81u+n%E1%BB%99i+dung+kh%C3%A1c+qua+REST+API+%C4%91%C6%A1n+gi%E1%BA%A3n.\u0026amp;theme=8c97d124a89922b21243dc87\u0026amp;signature=5c7b4a6b9f42999fb3e0e95da36844f7ea40e03ecdfc69de6bfed9e36d76a736\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Giới thiệu - Kavio Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kavio.mintlify.site/_mintlify/api/og/v2?division=T%E1%BB%95ng+quan\u0026amp;title=Gi%E1%BB%9Bi+thi%E1%BB%87u\u0026amp;description=API+Kavio+gi%C3%BAp+b%E1%BA%A1n+qu%E1%BA%A3n+l%C3%BD+b%C3%A0i+%C4%91%C4%83ng+m%E1%BA%A1ng+x%C3%A3+h%E1%BB%99i%2C+ch%E1%BB%AF+k%C3%BD%2C+nh%C3%A3n+v%C3%A0+nhi%E1%BB%81u+n%E1%BB%99i+dung+kh%C3%A1c+qua+REST+API+%C4%91%C6%A1n+gi%E1%BA%A3n.\u0026amp;theme=8c97d124a89922b21243dc87\u0026amp;signature=5c7b4a6b9f42999fb3e0e95da36844f7ea40e03ecdfc69de6bfed9e36d76a736\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kavio Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563eb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getkavio.app/vi/api-reference/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/vi/api-reference/introduction.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://docs.getkavio.app/vi/api-reference/introduction\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.getkavio.app/api-reference/introduction\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.getkavio.app/vi/api-reference/introduction\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getkavio.app/#organization\",\"name\":\"Kavio Docs\",\"url\":\"https://docs.getkavio.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kavio/v0bkouT8mVjjx8DU/logo/light.png?fit=max\u0026auto=format\u0026n=v0bkouT8mVjjx8DU\u0026q=85\u0026s=309ef015bbf172f60d4949bba63f6493\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getkavio.app#website\",\"name\":\"Kavio Docs\",\"url\":\"https://docs.getkavio.app\",\"publisher\":{\"@id\":\"https://docs.getkavio.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getkavio.app/vi/api-reference/introduction#webpage\",\"url\":\"https://docs.getkavio.app/vi/api-reference/introduction\",\"name\":\"Giới thiệu\",\"description\":\"API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.\",\"dateModified\":\"2026-07-31T08:20:16.422Z\",\"isPartOf\":{\"@id\":\"https://docs.getkavio.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getkavio.app/vi/api-reference/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getkavio.app/vi/api-reference/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Kavio Docs\",\"item\":\"https://docs.getkavio.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Giới thiệu\",\"item\":\"https://docs.getkavio.app/vi/api-reference/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.getkavio.app/vi/api-reference/introduction#article\",\"headline\":\"Giới thiệu\",\"name\":\"Giới thiệu\",\"description\":\"API Kavio giúp bạn quản lý bài đăng mạng xã hội, chữ ký, nhãn và nhiều nội dung khác qua REST API đơn giản.\",\"url\":\"https://docs.getkavio.app/vi/api-reference/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getkavio.app/vi/api-reference/introduction#webpage\"},\"dateModified\":\"2026-07-31T08:20:16.422Z\",\"publisher\":{\"@id\":\"https://docs.getkavio.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getkavio.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kavio Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Kavio Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/vi/api-reference/introduction.md","siteName":"Kavio Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/api-reference/introduction"}]},{"language":"vi","default":true,"tabs":[{"tab":"Kavio Content","icon":"pen-to-square","anchors":[{"anchor":"Hướng dẫn sử dụng","icon":"book","pages":[{"title":"Hướng dẫn sử dụng","href":"/vi/knowledge-base/introduction"}]},{"anchor":"Tài liệu API","icon":"code","groups":[{"group":"Tổng quan","pages":[{"title":"Giới thiệu","href":"/vi/api-reference/introduction"}]},{"group":"Bài đăng","pages":[{"title":"Liệt kê bài đăng","api":"GET /posts","description":"Liệt kê bài đăng trong không gian làm việc hiện tại, mỗi trang 15 bài.","href":"/vi/api-reference/endpoint/list-posts"},{"title":"Lấy bài đăng","api":"GET /posts/{post}","href":"/vi/api-reference/endpoint/get-post"},{"title":"Tạo bài đăng","api":"POST /posts","href":"/vi/api-reference/endpoint/create-post"},{"title":"Cập nhật bài đăng","api":"PUT /posts/{post}","href":"/vi/api-reference/endpoint/update-post"},{"title":"Xóa bài đăng","api":"DELETE /posts/{post}","href":"/vi/api-reference/endpoint/delete-post"},{"title":"Tải tệp đa phương tiện lên","api":"POST /posts/{post}/media","href":"/vi/api-reference/endpoint/upload-media"},{"title":"Đính kèm nội dung đa phương tiện từ URL","api":"POST /posts/{post}/media/from-url","href":"/vi/api-reference/endpoint/attach-media-from-url"},{"title":"Tải nội dung đa phương tiện lên qua URL đã ký","api":"POST /uploads/{token}","href":"/vi/api-reference/endpoint/request-media-upload"},{"title":"Lấy số liệu bài đăng","api":"GET /posts/{post}/metrics","href":"/vi/api-reference/endpoint/get-post-metrics"},{"title":"Xem trước bài đăng trên từng nền tảng","api":"GET /posts/{post}/preview","href":"/vi/api-reference/endpoint/get-post-preview"}]},{"group":"Nền tảng","pages":[{"title":"Liệt kê loại nội dung","api":"GET /content-types","href":"/vi/api-reference/endpoint/list-content-types"}]},{"group":"Không gian làm việc","pages":[{"title":"Lấy thông tin không gian làm việc","api":"GET /workspace","href":"/vi/api-reference/endpoint/get-workspace"}]},{"group":"Chữ ký","pages":[{"title":"Liệt kê chữ ký","api":"GET /signatures","href":"/vi/api-reference/endpoint/list-signatures"},{"title":"Tạo chữ ký","api":"POST /signatures","href":"/vi/api-reference/endpoint/create-signature"},{"title":"Cập nhật chữ ký","api":"PUT /signatures/{signature}","href":"/vi/api-reference/endpoint/update-signature"},{"title":"Xóa chữ ký","api":"DELETE /signatures/{signature}","href":"/vi/api-reference/endpoint/delete-signature"}]},{"group":"Nhãn","pages":[{"title":"Liệt kê nhãn","api":"GET /labels","href":"/vi/api-reference/endpoint/list-labels"},{"title":"Tạo nhãn","api":"POST /labels","href":"/vi/api-reference/endpoint/create-label"},{"title":"Cập nhật nhãn","api":"PUT /labels/{label}","href":"/vi/api-reference/endpoint/update-label"},{"title":"Xóa nhãn","api":"DELETE /labels/{label}","href":"/vi/api-reference/endpoint/delete-label"}]},{"group":"Tài khoản mạng xã hội","pages":[{"title":"Liệt kê tài khoản mạng xã hội","api":"GET /social-accounts","href":"/vi/api-reference/endpoint/list-social-accounts"},{"title":"Bật hoặc tắt tài khoản mạng xã hội","api":"PUT /social-accounts/{account}/toggle","href":"/vi/api-reference/endpoint/toggle-social-account"}]},{"group":"Khóa API","pages":[{"title":"Liệt kê khóa API","api":"GET /api-keys","href":"/vi/api-reference/endpoint/list-api-keys"},{"title":"Tạo khóa API","api":"POST /api-keys","href":"/vi/api-reference/endpoint/create-api-key"},{"title":"Xóa khóa API","api":"DELETE /api-keys/{apiToken}","href":"/vi/api-reference/endpoint/delete-api-key"}]}]},{"anchor":"Xây dựng với AI","icon":"microchip-ai","pages":[{"title":"Xây dựng với AI","href":"/vi/ai/introduction"}]}]},{"tab":"Kavio Ecommerce","icon":"store","pages":[{"title":"Kavio Ecommerce","href":"/vi/ecommerce/getting-started"}]}]}]},"basePath":"","title":"Giới thiệu - Kavio Docs","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":[],"chunks":[]}