{ "info": { "_postman_id": "bc3cc96d-f94d-45d1-9a71-b4109739fb75", "name": "Amigo Account API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T00:59:41.000Z", "updatedAt": "2026-07-28T00:59:41.000Z", "lastUpdatedBy": "35240", "uid": "35240-bc3cc96d-f94d-45d1-9a71-b4109739fb75" }, "item": [ { "name": "v1", "item": [ { "name": "me", "item": [ { "name": "workspaces", "item": [ { "name": "Create a workspace under the authenticated identity", "id": "b530208d-236c-47ef-b02d-c416de632f8c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"slug\": \"qbw986n\",\n \"name\": \"\",\n \"environment\": \"production\",\n \"backend_org_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/me/workspaces", "host": [ "{{baseUrl}}" ], "path": [ "v1", "me", "workspaces" ] }, "description": "Create a new workspace and attach the authenticated caller as the owner." }, "response": [ { "id": "58ba324b-69c8-4ff7-96a8-154fffcd326d", "name": "Successful Response", "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 \"slug\": \"qbw986n\",\n \"name\": \"\",\n \"environment\": \"production\",\n \"backend_org_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/me/workspaces", "host": [ "{{baseUrl}}" ], "path": [ "v1", "me", "workspaces" ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"slug\": \"\",\n \"name\": \"\",\n \"environment\": \"\",\n \"backend_org_id\": \"\",\n \"region\": \"\",\n \"connector_type\": \"\",\n \"provisioned_at\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\"\n}", "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-58ba324b-69c8-4ff7-96a8-154fffcd326d" }, { "id": "d3f62e19-6733-4f8b-b204-3b30020da2f8", "name": "Missing the workspaces:write scope (developer grant) or unsupported principal type.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"slug\": \"qbw986n\",\n \"name\": \"\",\n \"environment\": \"production\",\n \"backend_org_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/me/workspaces", "host": [ "{{baseUrl}}" ], "path": [ "v1", "me", "workspaces" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-d3f62e19-6733-4f8b-b204-3b30020da2f8" }, { "id": "23146a10-d0d2-433f-9ecf-95dcd689b0d1", "name": "Workspace slug already taken.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"slug\": \"qbw986n\",\n \"name\": \"\",\n \"environment\": \"production\",\n \"backend_org_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/me/workspaces", "host": [ "{{baseUrl}}" ], "path": [ "v1", "me", "workspaces" ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-23146a10-d0d2-433f-9ecf-95dcd689b0d1" }, { "id": "275b7da2-f6fc-41a9-84e6-dfcc0f03da36", "name": "Invalid request body.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"slug\": \"qbw986n\",\n \"name\": \"\",\n \"environment\": \"production\",\n \"backend_org_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/me/workspaces", "host": [ "{{baseUrl}}" ], "path": [ "v1", "me", "workspaces" ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-275b7da2-f6fc-41a9-84e6-dfcc0f03da36" }, { "id": "400c224f-0663-4d5b-8c39-3425ed22f1be", "name": "Identity service unavailable.", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"slug\": \"qbw986n\",\n \"name\": \"\",\n \"environment\": \"production\",\n \"backend_org_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/me/workspaces", "host": [ "{{baseUrl}}" ], "path": [ "v1", "me", "workspaces" ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-400c224f-0663-4d5b-8c39-3425ed22f1be" } ], "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-b530208d-236c-47ef-b02d-c416de632f8c" } ], "id": "444a7e56-be21-4ded-a338-32394ac248e7", "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-444a7e56-be21-4ded-a338-32394ac248e7" } ], "id": "42b6d5c4-5548-4318-874c-f089da018170", "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-42b6d5c4-5548-4318-874c-f089da018170" } ], "id": "31c7ab5a-1fc6-4343-8707-dba7519dc61f", "createdAt": "2026-07-28T00:59:42.000Z", "updatedAt": "2026-07-28T00:59:42.000Z", "uid": "35240-31c7ab5a-1fc6-4343-8707-dba7519dc61f" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.amigo.ai" } ] }