# HackerRank Work

HackerRank Work enables coding interviews and technical assessments, providing developers with challenges and real-time collaboration for data-driven hiring decisions

- **Category:** developer tools
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 3
- **Triggers:** 0
- **Slug:** `HACKERRANK_WORK`
- **Version:** 20260211_00

## Tools

### List Companies

**Slug:** `HACKERRANK_WORK_COMPANIES_LIST`

Tool to list all companies and their unique identifiers. Use when you need the company_unique_id for SSO metadata retrieval.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `path_hint` | string | No | Optional path hint: 'admin' to prefer /admin/api, 'x' to prefer /x/api. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Consume SAML Assertion

**Slug:** `HACKERRANK_WORK_SSO_ASSERTION_CONSUMER_SERVICE`

Tool to consume SAML assertions. Use when receiving SAMLResponse and RelayState from the Identity Provider for SSO sign-in.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `relay_state` | string | No | Optional RelayState parameter returned by the Identity Provider. |
| `saml_response` | string | No | Base64-encoded SAML assertion from the Identity Provider (SAMLResponse). |
| `company_unique_id` | string | Yes | Your company's unique SSO identifier in HackerRank Work. |
| `raise_on_http_error` | boolean | No | Whether to raise an ExecutionFailed error when the ACS responds with an HTTP status code >= 400. Set to false to always return the raw response details (status_code, headers, content) for troubleshooting. |
| `raw_saml_response_xml` | string | No | Optional raw XML for the SAMLResponse. If provided, the action will base64-encode this value and send it as SAMLResponse, overriding the saml_response field. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get SSO Sign-On URL

**Slug:** `HACKERRANK_WORK_SSO_SIGN_ON_URL`

Tool to get the SP-initiated SSO sign-on URL. Use when configuring SAML SSO with your identity provider.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
