> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usefini.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get articles by IDs

> Fetch one or more articles by ID.

Use this route when you want direct lookup by one or more article IDs.

<Info>
  If you want to fetch a single article by ID, send a single-item `articleIds` array. There is no workspace-API-key `GET /v2/hc-articles/:id/public` route in the current controller.
</Info>

## Headers

<ParamField header="Authorization" type="string" required>
  Bearer token containing your Fini workspace API key. Format: `Bearer fini_...` The key needs `read` scope.
</ParamField>

<ParamField header="Content-Type" type="string" required>
  `application/json`
</ParamField>

## Body parameters

<ParamField body="articleIds" type="array" required>
  Article IDs to fetch in one request.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api-prod.usefini.com/v2/hc-articles/ids/public' \
    --header 'Authorization: Bearer fini_your_api_key' \
    --header 'Content-Type: application/json' \
    --data '{
      "articleIds": ["7f5392e5-dc7d-4558-8860-cf3ea4b32f94"]
    }'
  ```
</RequestExample>

## Response

Returns an array of the article objects that were found in the workspace. Each item uses the shared object defined in [Manage knowledge](/en/api-reference/manage-knowledge).

<Note>
  The current route returns the articles it finds. It does not reject the request just because some requested IDs are missing.
</Note>

## Errors

<AccordionGroup>
  <Accordion title="400 Bad Request" icon="circle-exclamation">
    The request body is malformed or `articleIds` is missing.
  </Accordion>

  <Accordion title="401 Unauthorized" icon="lock">
    The API key is missing, malformed, revoked, or invalid.
  </Accordion>

  <Accordion title="403 Forbidden" icon="shield-halved">
    The API key does not include the `read` scope.
  </Accordion>
</AccordionGroup>
