{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"db31951d-4fc3-4bd8-a648-1c916194faea","name":"Keyo Organization API","description":"**Hey y'all!**\n\nThis collection will help you retrieve data from your organization, modify memberships and delete them.\n\nYou can find all the useful information below.\n\nThere is a possibility to integrate remote Organization’s services with Keyo RFC-compliant OAuth2 Provider.\n\nWe use the Client Credential grant that’s suitable for machine-to-machine authentication. You authorize your own service or worker to manage your organization endpoints.\n\nTo start using this API you need to create and have access to your organization or/and be a priviliged role inside this organization (Admin or Owner as of now).\n\nIn order to obtain Organization credentials use the following process:\n\n- Sign In to the system via [Keyo Dashboard](https://dashboard.keyo.co/)\n    \n- Get a base64 encoded credential via Keyo Dashboard (you must have Admin or Owner org role as of now)\n    \n- Then use the following [endpoint](https://www.postman.com/keyo-team/workspace/public-api/request/20781261-5b4acd1e-4399-4727-bd37-ea72a65c085f?action=share&source=copy-link&creator=20781261&active-environment=5112617e-751f-445f-b8ce-1b5c7acffef4) of API for the client credential flow auth item:\n    \n\n```\ncurl -X POST \\\n    -H \"Authorization: Basic ${token}\" \\\n    -H \"Cache-Control: no-cache\" \\\n    -H \"Content-Type: application/x-www-form-urlencoded\" \\\n    \"https://{host}/o/token/\" \\\n    -d \"grant_type=client_credentials\"\n\n ```\n\n- You will receive the response with the data:\n    \n\n``` json\n{\n    \"access_token\": \"PaZDOD5UwzbGOFsQr34LQ7JUYOj3yK\",\n    \"expires_in\": 36000,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"read write\"\n}\n\n ```\n\n- Now you can connect the organization remote service to API with HTTP(s) connection by using `Authorization` with the appropriate `access_token` value.\n    \n\nTo refresh access_token send the [request](https://www.postman.com/keyo-team/workspace/public-api/request/20781261-5b4acd1e-4399-4727-bd37-ea72a65c085f?action=share&source=copy-link&creator=20781261&active-environment=5112617e-751f-445f-b8ce-1b5c7acffef4) again.\n\nFor more info check [API doc](https://api.keyo.co/api/v3/public/docs/)\n\nIf you still have any questions or need help, don’t hesitate to contact our support team:  \nEmail: [support@keyo.co](https://keyo.com/contact-us)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"20781261","team":745101,"collectionId":"db31951d-4fc3-4bd8-a648-1c916194faea","publishedId":"2s93z9cNhM","public":true,"publicUrl":"https://postman.keyo.co","privateUrl":"https://go.postman.co/documentation/20781261-db31951d-4fc3-4bd8-a648-1c916194faea","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"system_default","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.0","publishDate":"2025-02-11T19:36:41.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"Live USA","id":"5112617e-751f-445f-b8ce-1b5c7acffef4","owner":"25947479","values":[{"key":"baseUrl","value":"https://api.keyo.co","enabled":true,"type":"default"},{"key":"auth_token","value":"MWU2TXlBV0d0UkhWUEJWVHZnc2pQQkg5aVFOZ2dRMjRpVUFyQmJsNTptZ1IwcVl2Z1JTOXZ3OEpQWnVNRjZjN2N2UjcxUmxXSXhCY2V3Yk4wdUhaSFlmYmh2V0FuR2VjeFNLd3NmbmhmMXdqYnhuZUlOS2czTDlhV1h2SmZTZVB4ZjVUOWJOMkhSclJrazZzSHBJSWxLS0R3Wmt4cFVVY0x3ZDBSZ2NkeA==","enabled":true,"type":"default"},{"key":"access_token","value":"7GDi4fB9k7cvaec5qlUkb4gKn0cJJ3","enabled":true},{"key":"account_id","value":"","enabled":true,"type":"any"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/0586e8c7a51e1eadc6fb2fe38c5a390c81619999e1b8b2eb417d3a11f7143f69","favicon":"https://keyo.co/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Live USA","value":"25947479-5112617e-751f-445f-b8ce-1b5c7acffef4"}],"canonicalUrl":"https://postman.keyo.co/view/metadata/2s93z9cNhM"}