{"info":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","description":"<html><head></head><body><p>API for managing assets and folders in Optimole.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"45486636","collectionId":"27d2b869-1685-4c8c-954a-3a0d593860c2","publishedId":"2sBXiesEPc","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"2563eb"},"publishDate":"2026-03-11T11:58:51.000Z"},"item":[{"name":"Assets","item":[{"name":"List all assets.","id":"129972f9-0efe-4acb-b57a-40097b22e5ee","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cursor\":\"architecto\",\"domains\":[\"n\"],\"folder\":\"642\",\"mime_types\":[\"--w\\/*\"],\"per_page\":8,\"search\":\"architecto\",\"sort_field\":\"size\",\"sort_order\":\"asc\",\"statuses\":[\"deleted\"]}"},"url":"https://dashboard.optimole.com/api/assets?cursor=architecto&per_page=20&domains[0]=architecto&folder=root&mime_types[0]=image/jpeg&mime_types[1]=image/*&search=architecto&sort_field=time&sort_order=desc&statuses[0]=done","description":"<p>Retrieve a paginated list of assets for the authenticated application.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","assets"],"host":["https://dashboard.optimole.com"],"query":[{"description":{"content":"<p>The pagination cursor.</p>\n","type":"text/plain"},"key":"cursor","value":"architecto"},{"description":{"content":"<p>The number of results per page.</p>\n","type":"text/plain"},"key":"per_page","value":"20"},{"description":{"content":"<p>Filter by domains.</p>\n","type":"text/plain"},"key":"domains[0]","value":"architecto"},{"description":{"content":"<p>Filter by folder ID or \"root\".</p>\n","type":"text/plain"},"key":"folder","value":"root"},{"description":{"content":"<p>Filter by MIME types. Wildcards are supported.</p>\n","type":"text/plain"},"key":"mime_types[0]","value":"image/jpeg"},{"description":{"content":"<p>Filter by MIME types. Wildcards are supported.</p>\n","type":"text/plain"},"key":"mime_types[1]","value":"image/*"},{"description":{"content":"<p>Search assets by filename.</p>\n","type":"text/plain"},"key":"search","value":"architecto"},{"description":{"content":"<p>Field to sort by.</p>\n","type":"text/plain"},"key":"sort_field","value":"time"},{"description":{"content":"<p>Sort order.</p>\n","type":"text/plain"},"key":"sort_order","value":"desc"},{"description":{"content":"<p>Filter by asset statuses.</p>\n","type":"text/plain"},"key":"statuses[0]","value":"done"}],"variable":[]}},"response":[{"id":"90746129-4334-4429-a38a-efa2d386a6c4","name":"response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cursor\":\"architecto\",\"domains\":[\"n\"],\"folder\":\"642\",\"mime_types\":[\"--w\\/*\"],\"per_page\":8,\"search\":\"architecto\",\"sort_field\":\"size\",\"sort_order\":\"asc\",\"statuses\":[\"deleted\"]}"},"url":{"raw":"https://dashboard.optimole.com/api/assets?cursor=architecto&per_page=20&domains[0]=architecto&folder=root&mime_types[0]=image/jpeg&mime_types[1]=image/*&search=architecto&sort_field=time&sort_order=desc&statuses[0]=done","host":["https://dashboard.optimole.com"],"path":["api","assets"],"query":[{"key":"cursor","value":"architecto","description":"The pagination cursor."},{"key":"per_page","value":"20","description":"The number of results per page."},{"key":"domains[0]","value":"architecto","description":"Filter by domains."},{"key":"folder","value":"root","description":"Filter by folder ID or \"root\"."},{"key":"mime_types[0]","value":"image/jpeg","description":"Filter by MIME types. Wildcards are supported."},{"key":"mime_types[1]","value":"image/*","description":"Filter by MIME types. Wildcards are supported."},{"key":"search","value":"architecto","description":"Search assets by filename."},{"key":"sort_field","value":"time","description":"Field to sort by."},{"key":"sort_order","value":"desc","description":"Sort order."},{"key":"statuses[0]","value":"done","description":"Filter by asset statuses."}]},"description":"Retrieve a paginated list of assets for the authenticated application."},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n   {\n     \"id\": 1,\n     \"resource\": \"asset_key\",\n     \"status\": \"done\",\n     \"mime_type\": \"image/jpeg\"\n   }\n ],\n \"meta\": {\n   \"per_page\": 20,\n   \"prev_cursor\": null,\n   \"next_cursor\": \"eyJjYXJkIjo2fQ\",\n   \"has_more\": true\n }\n}"}],"_postman_id":"129972f9-0efe-4acb-b57a-40097b22e5ee"},{"name":"Create a new asset.","id":"6c6bc2f0-a90f-4be3-8317-fe30f8b2ac44","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"filename\":\"image.jpg\",\"size\":102400,\"content_type\":\"image\\/jpeg\",\"folder_id\":12}"},"url":"https://dashboard.optimole.com/api/assets","description":"<p>This endpoint initiates the asset upload process by generating a signed S3 URL\nand creating a pending asset record in the database.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","assets"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[]}},"response":[{"id":"49e5d027-3b9d-450a-92d2-254b146951c3","name":"response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"filename\":\"image.jpg\",\"size\":102400,\"content_type\":\"image\\/jpeg\",\"folder_id\":12}"},"url":"https://dashboard.optimole.com/api/assets","description":"This endpoint initiates the asset upload process by generating a signed S3 URL\nand creating a pending asset record in the database."},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"asset\": {\n   \"id\": 1,\n   \"folder_id\": 12,\n   \"user_key\": \"api_key\",\n   \"origin_url\": \"https://example.com/image.jpg\",\n   \"resource\": \"asset_key\",\n   \"status\": \"pending\",\n   \"size\": 102400,\n   \"mime_type\": \"image/jpeg\",\n   \"upload_status\": \"not_offloaded\"\n },\n \"uploadUrl\": \"https://s3.amazonaws.com/...\"\n}"}],"_postman_id":"6c6bc2f0-a90f-4be3-8317-fe30f8b2ac44"},{"name":"Update multiple assets.","id":"775020e1-20c6-406e-a9bd-baa09a0d89b7","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"assets\":[{\"key\":\"42cf6621995747f69a30d32f6a6c4f82\",\"title\":\"My Beautiful Image\",\"alt\":\"A beautiful image\",\"width\":1920,\"height\":1080,\"size\":102400,\"folder_id\":12}]}"},"url":"https://dashboard.optimole.com/api/assets","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","assets"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[]}},"response":[{"id":"0182a462-c09f-40e6-9de2-e03976b12abc","name":"response","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"assets\":[{\"key\":\"42cf6621995747f69a30d32f6a6c4f82\",\"title\":\"My Beautiful Image\",\"alt\":\"A beautiful image\",\"width\":1920,\"height\":1080,\"size\":102400,\"folder_id\":12}]}"},"url":"https://dashboard.optimole.com/api/assets"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"775020e1-20c6-406e-a9bd-baa09a0d89b7"},{"name":"Delete multiple assets.","id":"e1ddd4ee-9f2d-4e84-b371-35b64f98dc25","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"keys\":[\"42cf6621995747f69a30d32f6a6c4f82\"]}"},"url":"https://dashboard.optimole.com/api/assets","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","assets"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[]}},"response":[{"id":"8e3e6e2f-0124-489e-b617-614459496536","name":"response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"keys\":[\"42cf6621995747f69a30d32f6a6c4f82\"]}"},"url":"https://dashboard.optimole.com/api/assets"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"e1ddd4ee-9f2d-4e84-b371-35b64f98dc25"},{"name":"Get asset details.","id":"52b54926-b764-456c-a7f0-9a253000ba90","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"https://dashboard.optimole.com/api/assets/:key","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","assets",":key"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"02aa6456-ab06-43e3-acc1-970cbe871b7a","description":{"content":"<p>The unique 32-character hash of the asset.</p>\n","type":"text/plain"},"type":"any","value":"42cf6621995747f69a30d32f6a6c4f82","key":"key"}]}},"response":[{"id":"7ec11cc8-c636-4119-9c35-2dd4392c4af3","name":"response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://dashboard.optimole.com/api/assets/:key","host":["https://dashboard.optimole.com"],"path":["api","assets",":key"],"variable":[{"id":"02aa6456-ab06-43e3-acc1-970cbe871b7a","key":"key","value":"42cf6621995747f69a30d32f6a6c4f82","description":"The unique 32-character hash of the asset."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"id\": 1,\n \"resource\": \"42cf6621995747f69a30d32f6a6c4f82\",\n \"status\": \"done\",\n \"mime_type\": \"image/jpeg\"\n}"}],"_postman_id":"52b54926-b764-456c-a7f0-9a253000ba90"},{"name":"Get a signed URL for an asset.","id":"1013ffff-b38f-4ef8-913f-3386805045c5","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"size\":\"small\"}"},"url":"https://dashboard.optimole.com/api/assets/:key/signed-url","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","assets",":key","signed-url"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"701f5355-71ff-48e2-802d-8b3b82dd87a2","description":{"content":"<p>The unique 32-character hash of the asset.</p>\n","type":"text/plain"},"type":"any","value":"42cf6621995747f69a30d32f6a6c4f82","key":"key"}]}},"response":[{"id":"5c3e4cbf-034a-4e12-b314-8d9f0f9a66a7","name":"response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"size\":\"small\"}"},"url":{"raw":"https://dashboard.optimole.com/api/assets/:key/signed-url","host":["https://dashboard.optimole.com"],"path":["api","assets",":key","signed-url"],"variable":[{"id":"701f5355-71ff-48e2-802d-8b3b82dd87a2","key":"key","value":"42cf6621995747f69a30d32f6a6c4f82","description":"The unique 32-character hash of the asset."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"url\": \"https://s3.amazonaws.com/...\"\n}"}],"_postman_id":"1013ffff-b38f-4ef8-913f-3386805045c5"},{"name":"Update an asset.","id":"af19e041-e944-4f49-ac2c-f33a2994e467","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"title\":\"My Beautiful Image\",\"alt\":\"A beautiful image\",\"width\":1920,\"height\":1080,\"size\":102400,\"folder_id\":12}"},"url":"https://dashboard.optimole.com/api/assets/:key","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","assets",":key"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"15c5d41e-2716-4683-a2f6-0ec2749dfdef","description":{"content":"<p>The unique 32-character hash of the asset.</p>\n","type":"text/plain"},"type":"any","value":"42cf6621995747f69a30d32f6a6c4f82","key":"key"}]}},"response":[{"id":"7f3d9962-f72b-4a70-a0f9-94ead3bc082d","name":"response","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"title\":\"My Beautiful Image\",\"alt\":\"A beautiful image\",\"width\":1920,\"height\":1080,\"size\":102400,\"folder_id\":12}"},"url":{"raw":"https://dashboard.optimole.com/api/assets/:key","host":["https://dashboard.optimole.com"],"path":["api","assets",":key"],"variable":[{"id":"15c5d41e-2716-4683-a2f6-0ec2749dfdef","key":"key","value":"42cf6621995747f69a30d32f6a6c4f82","description":"The unique 32-character hash of the asset."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"id\": 1,\n \"folder_id\": 12,\n \"resource\": \"42cf6621995747f69a30d32f6a6c4f82\",\n \"status\": \"done\"\n}"}],"_postman_id":"af19e041-e944-4f49-ac2c-f33a2994e467"},{"name":"Delete an asset.","id":"fda47e63-199e-428e-9628-1a2a8a6464c5","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"https://dashboard.optimole.com/api/assets/:key","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","assets",":key"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"d00f639e-9bc1-4df3-a9c7-0f63f3e369ec","description":{"content":"<p>The unique 32-character hash of the asset.</p>\n","type":"text/plain"},"type":"any","value":"42cf6621995747f69a30d32f6a6c4f82","key":"key"}]}},"response":[{"id":"f3e6df73-082c-4397-9ff3-68dd7aa4a499","name":"response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://dashboard.optimole.com/api/assets/:key","host":["https://dashboard.optimole.com"],"path":["api","assets",":key"],"variable":[{"id":"d00f639e-9bc1-4df3-a9c7-0f63f3e369ec","key":"key","value":"42cf6621995747f69a30d32f6a6c4f82","description":"The unique 32-character hash of the asset."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"fda47e63-199e-428e-9628-1a2a8a6464c5"}],"id":"33cab3e1-50a6-453c-8610-52b16ea0c650","_postman_id":"33cab3e1-50a6-453c-8610-52b16ea0c650","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}}},{"name":"Domains","item":[{"name":"List all custom domains for the application.","id":"23e321ec-3944-4f8d-9ad0-743a71a5b75b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cursor\":\"architecto\",\"per_page\":22}"},"url":"https://dashboard.optimole.com/api/domains?cursor=architecto&per_page=20","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","domains"],"host":["https://dashboard.optimole.com"],"query":[{"description":{"content":"<p>The pagination cursor.</p>\n","type":"text/plain"},"key":"cursor","value":"architecto"},{"description":{"content":"<p>The number of results per page.</p>\n","type":"text/plain"},"key":"per_page","value":"20"}],"variable":[]}},"response":[{"id":"524fca67-2f8f-45eb-a535-71536d4b39fd","name":"response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cursor\":\"architecto\",\"per_page\":22}"},"url":{"raw":"https://dashboard.optimole.com/api/domains?cursor=architecto&per_page=20","host":["https://dashboard.optimole.com"],"path":["api","domains"],"query":[{"key":"cursor","value":"architecto","description":"The pagination cursor."},{"key":"per_page","value":"20","description":"The number of results per page."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n   {\n     \"id\": 1,\n     \"domain\": \"example.com\",\n     \"status\": \"pending\",\n     \"status_label\": \"Pending SSL registration\",\n     \"has_ssl\": false,\n     \"has_dns\": false\n   }\n ],\n \"meta\": {\n   \"limit\": 5,\n   \"count\": 1,\n   \"per_page\": 20,\n   \"prev_cursor\": null,\n   \"next_cursor\": \"eyJjYXJkIjo2fQ\",\n   \"has_more\": true\n }\n}"}],"_postman_id":"23e321ec-3944-4f8d-9ad0-743a71a5b75b"},{"name":"Create a new custom domain.","id":"252059fa-80df-4ebd-82c1-7a08fef192e2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"domain\":\"images.example.com\"}"},"url":"https://dashboard.optimole.com/api/domains","description":"<p>This endpoint initiates the custom domain provisioning process by requesting\nan SSL certificate and creating a background job to handle the setup.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","domains"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[]}},"response":[{"id":"5b8b213d-e879-4fa1-b817-c55914baabf3","name":"response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"domain\":\"images.example.com\"}"},"url":"https://dashboard.optimole.com/api/domains","description":"This endpoint initiates the custom domain provisioning process by requesting\nan SSL certificate and creating a background job to handle the setup."},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"id\": 1,\n \"domain\": \"images.example.com\",\n \"status\": \"pending\",\n \"validations\": {\n   \"name\": \"_abc.images.example.com\",\n   \"type\": \"CNAME\",\n   \"value\": \"_xyz.acm-validations.aws\"\n }\n}"}],"_postman_id":"252059fa-80df-4ebd-82c1-7a08fef192e2"},{"name":"Get domain details.","id":"93a0115a-1248-4607-990f-916fa78f0c25","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"https://dashboard.optimole.com/api/domains/:domain","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","domains",":domain"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"70b85ffc-766d-49b6-9a44-1cefa0b018ef","description":{"content":"<p>The domain.</p>\n","type":"text/plain"},"type":"any","value":"564","key":"domain"},{"id":"da11debe-b8f2-471b-8d3b-6ebd48722a6b","description":{"content":"<p>The ID of the custom domain.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"7f1b4849-9ba8-4ede-82b6-29178d5e086c","name":"response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://dashboard.optimole.com/api/domains/:domain","host":["https://dashboard.optimole.com"],"path":["api","domains",":domain"],"variable":[{"id":"70b85ffc-766d-49b6-9a44-1cefa0b018ef","key":"domain","value":"564","description":"The domain."},{"id":"da11debe-b8f2-471b-8d3b-6ebd48722a6b","key":"id","value":"1","description":"The ID of the custom domain."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"id\": 1,\n \"domain\": \"images.example.com\",\n \"status\": \"pending\",\n \"status_label\": \"Pending SSL registration\",\n \"has_ssl\": false,\n \"has_dns\": false,\n \"validations\": {\n   \"name\": \"_abc.images.example.com\",\n   \"type\": \"CNAME\",\n   \"value\": \"_xyz.acm-validations.aws\"\n }\n}"}],"_postman_id":"93a0115a-1248-4607-990f-916fa78f0c25"},{"name":"Delete a custom domain.","id":"7233dded-f77b-4bf0-b468-3b6199af31fb","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"https://dashboard.optimole.com/api/domains/:domain","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","domains",":domain"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"33a1344a-1c0e-4665-a941-0c0d626004f9","description":{"content":"<p>The ID of the custom domain to delete.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"domain"}]}},"response":[{"id":"ef159e1c-6245-4fa9-98f7-2c06a57d5ddc","name":"response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://dashboard.optimole.com/api/domains/:domain","host":["https://dashboard.optimole.com"],"path":["api","domains",":domain"],"variable":[{"id":"33a1344a-1c0e-4665-a941-0c0d626004f9","key":"domain","value":"1","description":"The ID of the custom domain to delete."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"7233dded-f77b-4bf0-b468-3b6199af31fb"}],"id":"c5d981f6-a311-4a14-8dfa-4c6b089dc5fd","_postman_id":"c5d981f6-a311-4a14-8dfa-4c6b089dc5fd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}}},{"name":"Folders","item":[{"name":"List all folders.","id":"c71c15d7-3828-45db-b8c2-b6b1cd08d55c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cursor\":\"architecto\",\"parent_id\":\"642\",\"per_page\":1,\"statuses\":[\"deleted\"]}"},"url":"https://dashboard.optimole.com/api/folders?cursor=architecto&per_page=20&parent=root&statuses[0]=active","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","folders"],"host":["https://dashboard.optimole.com"],"query":[{"description":{"content":"<p>The pagination cursor.</p>\n","type":"text/plain"},"key":"cursor","value":"architecto"},{"description":{"content":"<p>The number of results per page.</p>\n","type":"text/plain"},"key":"per_page","value":"20"},{"description":{"content":"<p>Filter by parent folder ID or \"root\".</p>\n","type":"text/plain"},"key":"parent","value":"root"},{"description":{"content":"<p>Filter by folder statuses.</p>\n","type":"text/plain"},"key":"statuses[0]","value":"active"}],"variable":[]}},"response":[{"id":"326d5f82-178c-4bb7-bb98-ea1901378e99","name":"response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cursor\":\"architecto\",\"parent_id\":\"642\",\"per_page\":1,\"statuses\":[\"deleted\"]}"},"url":{"raw":"https://dashboard.optimole.com/api/folders?cursor=architecto&per_page=20&parent=root&statuses[0]=active","host":["https://dashboard.optimole.com"],"path":["api","folders"],"query":[{"key":"cursor","value":"architecto","description":"The pagination cursor."},{"key":"per_page","value":"20","description":"The number of results per page."},{"key":"parent","value":"root","description":"Filter by parent folder ID or \"root\"."},{"key":"statuses[0]","value":"active","description":"Filter by folder statuses."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n   {\n     \"id\": 1,\n     \"name\": \"My Images\",\n     \"status\": \"active\"\n   }\n ],\n \"meta\": {\n   \"per_page\": 20,\n   \"prev_cursor\": null,\n   \"next_cursor\": \"eyJjYXJkIjo2fQ\",\n   \"has_more\": true\n }\n}"}],"_postman_id":"c71c15d7-3828-45db-b8c2-b6b1cd08d55c"},{"name":"Create a new folder.","id":"3a424bea-a84e-4d7c-969c-77dc14044c85","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"My Images\",\"parent_id\":22,\"parent\":1}"},"url":"https://dashboard.optimole.com/api/folders","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","folders"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[]}},"response":[{"id":"e299d62e-5bdf-4ed2-bbab-2fb5a5ccdab9","name":"response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"My Images\",\"parent_id\":22,\"parent\":1}"},"url":"https://dashboard.optimole.com/api/folders"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"id\": 12,\n \"name\": \"My Images\",\n \"parent_id\": 1,\n \"status\": \"active\"\n}"}],"_postman_id":"3a424bea-a84e-4d7c-969c-77dc14044c85"},{"name":"Update multiple folders.","id":"f42078c3-430b-4e74-860a-71aa7c738ddc","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"folders\":[{\"id\":12,\"name\":\"My Folder\",\"parent_id\":1,\"status\":\"active\"}]}"},"url":"https://dashboard.optimole.com/api/folders","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","folders"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[]}},"response":[{"id":"3c1a2300-b47b-40d6-bd33-dd6785b5011d","name":"response","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"folders\":[{\"id\":12,\"name\":\"My Folder\",\"parent_id\":1,\"status\":\"active\"}]}"},"url":"https://dashboard.optimole.com/api/folders"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"f42078c3-430b-4e74-860a-71aa7c738ddc"},{"name":"Get folder details.","id":"bcbf2d53-1032-4359-beee-c5e1ba4b3518","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"https://dashboard.optimole.com/api/folders/:folder","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","folders",":folder"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"a492f22a-92e7-4487-a1ed-4bf1e384b3b7","description":{"content":"<p>The ID of the folder.</p>\n","type":"text/plain"},"type":"any","value":"12","key":"folder"}]}},"response":[{"id":"600814f4-2b5b-483f-ae82-7344b9d203df","name":"response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://dashboard.optimole.com/api/folders/:folder","host":["https://dashboard.optimole.com"],"path":["api","folders",":folder"],"variable":[{"id":"a492f22a-92e7-4487-a1ed-4bf1e384b3b7","key":"folder","value":"12","description":"The ID of the folder."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"id\": 12,\n \"name\": \"My Images\",\n \"status\": \"active\",\n \"parents\": []\n}"}],"_postman_id":"bcbf2d53-1032-4359-beee-c5e1ba4b3518"},{"name":"Update a folder.","id":"9c32b667-ff4e-4afc-b7c5-bc1804dee7cb","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"My Updated Images\",\"parent_id\":22,\"parent\":1}"},"url":"https://dashboard.optimole.com/api/folders/:folder","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","folders",":folder"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"57c33129-670a-4f94-9179-1ab76885884e","description":{"content":"<p>The ID of the folder.</p>\n","type":"text/plain"},"type":"any","value":"12","key":"folder"}]}},"response":[{"id":"3a48b185-7759-4ea2-ac63-fe7c0211b51e","name":"response","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"My Updated Images\",\"parent_id\":22,\"parent\":1}"},"url":{"raw":"https://dashboard.optimole.com/api/folders/:folder","host":["https://dashboard.optimole.com"],"path":["api","folders",":folder"],"variable":[{"id":"57c33129-670a-4f94-9179-1ab76885884e","key":"folder","value":"12","description":"The ID of the folder."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n \"id\": 12,\n \"name\": \"My Updated Images\",\n \"parent_id\": 1,\n \"status\": \"active\"\n}"}],"_postman_id":"9c32b667-ff4e-4afc-b7c5-bc1804dee7cb"},{"name":"Delete a folder.","id":"8f56c918-1d85-4896-b1fc-87523ea47deb","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":"https://dashboard.optimole.com/api/folders/:folder","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}},"urlObject":{"path":["api","folders",":folder"],"host":["https://dashboard.optimole.com"],"query":[],"variable":[{"id":"c1dbe91d-dfc1-4272-8dfb-d5bc4c05e600","description":{"content":"<p>The ID of the folder to delete.</p>\n","type":"text/plain"},"type":"any","value":"12","key":"folder"}]}},"response":[{"id":"ebfb5e5a-0cd8-40f0-9828-8d9f6a2dbbb4","name":"response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://dashboard.optimole.com/api/folders/:folder","host":["https://dashboard.optimole.com"],"path":["api","folders",":folder"],"variable":[{"id":"c1dbe91d-dfc1-4272-8dfb-d5bc4c05e600","key":"folder","value":"12","description":"The ID of the folder to delete."}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"8f56c918-1d85-4896-b1fc-87523ea47deb"}],"id":"895ac9e4-6f47-4217-a594-f5e0dfe810b5","_postman_id":"895ac9e4-6f47-4217-a594-f5e0dfe810b5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"27d2b869-1685-4c8c-954a-3a0d593860c2","id":"27d2b869-1685-4c8c-954a-3a0d593860c2","name":"Optimole API Documentation","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"variable":[{"id":"baseUrl","key":"baseUrl","value":"https://dashboard.optimole.com","type":"string"}]}