openapi: 3.2.0 info: title: rest-api User API version: 1.0.0 description: "Refer to our website to know more about [Clari Copilot](https://www.clari.com/products/copilot/).\n\n**To learn how to use the Clari Copilot API, please follow this integration guide (link).**
It explains how you get your API key, gives context on how the endpoints work together, and provides example code.\n\n# Authentication\n\nYou need to pass both API key and password in specified headers to authenticate with Clari Copilot API.\n\nExample curl command fetching users:\n\n
\n \n curl -H \"X-Api-Key:<your_api_key>\" -H \"X-Api-Password:<your_api_password>\" \"https://rest-api.copilot.clari.com/users\"\n \n
\n\nYou'll find API key and secret in workspace settings > integrations > Clari Copilot API\n\n\n\n\n\n# Rate limit\n\nDefault rate limit is 10 per second.\n\nAlso 100k requests per week is also imposed. Week starts every Sunday 0 GMT.\n\n# Example\n\nHere is a python script that demonstrate how to fetch calls and print csv: Calls example\n\nHere is a python script that demonstrate how to use CRM endpoints: CRM example\n\n# Deprecation\n\nThis api's old domain https://rest-api.trywingman.com is deprecated and will be supported till end of 2023 to allow existing clients to migrate.\n" contact: name: Support email: copilot-support@clari.com url: https://api-doc.copilot.clari.com x-logo: url: /logo.png servers: - url: https://rest-api.copilot.clari.com tags: - name: user description: Users in Copilot paths: /users: get: tags: - user summary: List users description: Returns current users in Copilot system responses: 200: description: 200 response content: application/json: schema: $ref: '#/components/schemas/UsersResponse' 400: $ref: '#/components/responses/400' 500: $ref: '#/components/responses/500' security: - api_key: [] api_password: [] components: schemas: UsersResponse: title: List of users type: object properties: users: type: array items: $ref: '#/components/schemas/User' User: title: User object type: object properties: id: type: string email: type: string name: type: string role: type: string enum: - REP - MANAGER - OBSERVER is_recording: type: boolean manager_id: type: string securitySchemes: api_key: type: apiKey name: X-Api-Key in: header api_password: type: apiKey name: X-Api-Password in: header x-tagGroups: - name: General tags: - call - user - topics - scorecard - name: CRM Objects tags: - contact - account - deal