{ "info": { "_postman_id": "0d3c253a-0fee-4ac2-b52d-c73ea2f28987", "name": "Lev Account & Team API Keys API", "description": "Build on Lev with AI-friendly API docs, agent guides, and production integration recipes.", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T02:05:17.000Z", "updatedAt": "2026-07-28T02:05:17.000Z", "lastUpdatedBy": "35240", "uid": "35240-0d3c253a-0fee-4ac2-b52d-c73ea2f28987" }, "item": [ { "name": "api", "item": [ { "name": "external", "item": [ { "name": "v2", "item": [ { "name": "api-keys", "item": [ { "name": "{key_id}", "item": [ { "name": "Permanently revoke an API key", "id": "33db95e3-028f-4406-b245-bb68665ffbfa", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys/:key_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys", ":key_id" ], "variable": [ { "id": "9db9bd8d-600e-4023-9953-bf2408183c8f", "key": "key_id", "value": "", "description": "(Required) The ID of the API key to revoke" } ] }, "description": "Permanently revoke an API key\n\nDocs page: https://www.lev.com/docs/build/api-keys" }, "response": [ { "id": "c4f79f6c-2c9a-4f2a-b1d6-0be41ee45e93", "name": "Success", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys/:key_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys", ":key_id" ], "variable": [ { "key": "key_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"timestamp\": \"\",\n \"data\": {\n \"deleted\": \"\"\n }\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-c4f79f6c-2c9a-4f2a-b1d6-0be41ee45e93" }, { "id": "61e7af06-07f9-45c8-b5fd-538c9a88360e", "name": "Unauthorized", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys/:key_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys", ":key_id" ], "variable": [ { "key": "key_id" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-61e7af06-07f9-45c8-b5fd-538c9a88360e" }, { "id": "0eddb6e9-552c-4792-978f-43aac4ea26b8", "name": "Forbidden", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys/:key_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys", ":key_id" ], "variable": [ { "key": "key_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-0eddb6e9-552c-4792-978f-43aac4ea26b8" } ], "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-33db95e3-028f-4406-b245-bb68665ffbfa" } ], "id": "4a02dd7a-24dd-48eb-895a-80a78c32769c", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-4a02dd7a-24dd-48eb-895a-80a78c32769c" }, { "name": "Create a new API key for the authenticated user", "id": "c1090c5d-7123-49ac-a011-84ff63a251f3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"label\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys" ] }, "description": "Create a new API key for the authenticated user\n\nDocs page: https://www.lev.com/docs/build/api-keys" }, "response": [ { "id": "bf64f8ec-d20e-4581-a314-44f1b838ec9b", "name": "Success", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"label\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys" ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"timestamp\": \"\",\n \"data\": {\n \"id\": \"\",\n \"label\": \"\",\n \"key_prefix\": \"\",\n \"api_key\": \"\",\n \"created_at\": \"\",\n \"last_used_at\": \"\"\n }\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-bf64f8ec-d20e-4581-a314-44f1b838ec9b" }, { "id": "a6a9d31b-e158-4ba0-97a3-77305a6e4f5f", "name": "Unauthorized", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"label\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-a6a9d31b-e158-4ba0-97a3-77305a6e4f5f" }, { "id": "0c505d6a-ada5-45b9-a841-e77042658b01", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"label\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-0c505d6a-ada5-45b9-a841-e77042658b01" } ], "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-c1090c5d-7123-49ac-a011-84ff63a251f3" }, { "name": "List all API keys for the authenticated user", "id": "b6436f29-42f9-4d64-9b09-f9c5098cf5c2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys?limit=&offset=", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys" ], "query": [ { "description": "Results per page (1\u2013200, default 50)", "key": "limit", "value": "" }, { "description": "Number of results to skip (default 0)", "key": "offset", "value": "" } ] }, "description": "List all API keys for the authenticated user\n\nDocs page: https://www.lev.com/docs/build/api-keys" }, "response": [ { "id": "b62b3094-cb91-4aa3-987b-e306da90a8f6", "name": "Success", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys?limit=&offset=", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys" ], "query": [ { "description": "Results per page (1\u2013200, default 50)", "key": "limit", "value": "" }, { "description": "Number of results to skip (default 0)", "key": "offset", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"timestamp\": \"\",\n \"data\": [\n {\n \"id\": \"\",\n \"label\": \"\",\n \"key_prefix\": \"\",\n \"api_key\": \"\",\n \"created_at\": \"\",\n \"last_used_at\": \"\"\n },\n {\n \"id\": \"\",\n \"label\": \"\",\n \"key_prefix\": \"\",\n \"api_key\": \"\",\n \"created_at\": \"\",\n \"last_used_at\": \"\"\n }\n ],\n \"pagination\": {}\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-b62b3094-cb91-4aa3-987b-e306da90a8f6" }, { "id": "731e28eb-599d-4169-97a5-5f09826ee9fc", "name": "Unauthorized", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys?limit=&offset=", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys" ], "query": [ { "description": "Results per page (1\u2013200, default 50)", "key": "limit", "value": "" }, { "description": "Number of results to skip (default 0)", "key": "offset", "value": "" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-731e28eb-599d-4169-97a5-5f09826ee9fc" }, { "id": "6d2db1b8-9c63-4d05-9e65-410f35c2d143", "name": "Forbidden", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/api/external/v2/api-keys?limit=&offset=", "host": [ "{{baseUrl}}" ], "path": [ "api", "external", "v2", "api-keys" ], "query": [ { "description": "Results per page (1\u2013200, default 50)", "key": "limit", "value": "" }, { "description": "Number of results to skip (default 0)", "key": "offset", "value": "" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"request_id\": \"\",\n \"error\": {\n \"code\": \"\",\n \"message\": \"\"\n }\n}", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-6d2db1b8-9c63-4d05-9e65-410f35c2d143" } ], "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-b6436f29-42f9-4d64-9b09-f9c5098cf5c2" } ], "id": "f4e8ba70-240a-44e3-beee-595841288b14", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-f4e8ba70-240a-44e3-beee-595841288b14" } ], "id": "7c0f79ab-9483-4c92-ab2a-55aebcabe704", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-7c0f79ab-9483-4c92-ab2a-55aebcabe704" } ], "id": "d805aa91-9c59-4279-970c-c014cb0752f2", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-d805aa91-9c59-4279-970c-c014cb0752f2" } ], "id": "603f7f3c-13e9-4291-ac01-87393cf6b295", "createdAt": "2026-07-28T02:05:18.000Z", "updatedAt": "2026-07-28T02:05:18.000Z", "uid": "35240-603f7f3c-13e9-4291-ac01-87393cf6b295" } ], "variable": [ { "key": "baseUrl", "value": "https://api.lev.com" } ] }