Uncategorized

Adding People to Your Organization via API

You can add people to your organization programmatically using the Checklick API. Here's how: 1. Ensure you have a valid API key (see "Managing API Keys"). 2. Use the endpoint POST /v2/organization_members with a JSON payload including person_id and role (e.g., evaluator, manager). Example: curl -X POST https://api.checklick.com/v2/organization_members -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/vnd.api+json" -H "Organization-Id: YOUR_ORG_ID" -d '{"data": {"type": "organization_members", "attributes": {"person_id": "123", "role": "evaluator"}}}'. 3. The response confirms the person’s addition with their role. Quick tips: * First create the user via POST /v2/users if they don’t exist. * Check API documentation at https://api.checklick.com/docs for role options. * Handle 403 errors if the API key lacks permissions.