# Quick Start This guide demonstrates making your first authenticated request to the Zimark API. ## Prerequisites Before you begin, ensure you have: - ✅ Access to a Zimark environment - ✅ REST base URL: https://api.zimark.link/ - ✅ An API key ([create one](/rest-api/authentication)) ## Make Your First Request Test your API key by fetching users from your organization. ## Test in Browser Use the interactive API documentation: 1. Open [Get Users](/api/user/getusers) 2. Click **Try it** ![Try it](/assets/get-users-try-it.a81d03336df777e898e720fb098602ad4870309aaa456ca5edb651c710363efd.c7fee547.png) 3. Select your environment ![Select environment](/assets/select-environment.31acfc531569ec8b555f2992403cd5e5605b999f5ffa40d894c5547a90f6db6f.c7fee547.png) 4. Add your API key to the `X-AUTH-KEY` header ![Select environment](/assets/set-auth-header.5c9257cb21ad286cb3777d23066c883675a0e85502c06815b76c1056781a1441.c7fee547.png) 5. Click **Send** ## Request examples cURL ```bash curl -X GET "https://api.zimark.link/integration/rest/api/v1/user?pageSize=5" \ -H "X-AUTH-KEY: ZIM.your-api-key-here" \ -H "Content-Type: application/json" ``` JavaScript ```javascript const response = await fetch( 'https://api.zimark.link/integration/rest/api/v1/user?pageSize=5', { headers: { 'X-AUTH-KEY': 'ZIM.your-api-key-here', 'Content-Type': 'application/json' } } ); const data = await response.json(); console.log(data); ``` Python ```python import requests headers = { 'X-AUTH-KEY': 'ZIM.your-api-key-here', 'Content-Type': 'application/json' } response = requests.get( 'https://api.zimark.link/integration/rest/api/v1/user', headers=headers, params={'pageSize': 5} ) print(response.json()) ``` ### Response ```json { "content": [ { "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "authority": { "authorityName": "Organization Admin" } } ], "totalElements": 1 } ```