> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.lemmy.be/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.lemmy.be/_mcp/server.

# Support & FAQ

## Contact support

The Lemmy service desk is your point of contact for everything related to the API. Reach
us at [support@lemmy.be](mailto:support@lemmy.be).

The service desk can help you with:

#### API keys

Help generating or using your API keys in In-Motion Online.

#### Test environment

Request a test environment with its own API key and company ID.

#### Blocked access

Get unblocked if your API key or IP have been blacklisted.

#### Integration questions

Ask anything else about connecting your systems to Lemmy.

## Frequently asked questions

#### How do I get an API key?

You generate your own API keys in In-Motion Online under
**Configuratie → Integraties → API Keys** — no need to contact support. See
[Authentication](/authentication) for details.

#### Where do I find my company ID?

Your company ID is the `companyid` used throughout In-Motion Online. When you're logged
in, it appears in the URL as a parameter, for example
`https://app.inmotionsoftware.be/...?companyid=1234`. Send it as the `x-company-id`
header on every request.

#### How do I rotate or revoke my API key?

Generate a new key anytime in In-Motion Online under
**Configuratie → Integraties → API Keys**, and stop using the old one.

#### How do I get a test environment?

A test environment is available on request. Once set up, you'll receive a separate
API key and company ID, and you'll use the base URL
`https://test.inmotionsoftware.be/Lemmy_API_IS/rest/v1`. Request one through the
[service desk](mailto:support@lemmy.be).

#### Is the test environment the same as production?

The API behaves identically in test and production — the only differences are the base
URL and API key. Keep in mind that the test environment may contain data that isn't
up to date.

#### Why am I getting a 401 Unauthorized?

A `401` means your API key is missing or invalid. Double-check the `x-api-key` and
`x-company-id` headers. After 5 failed attempts, your API key is temporarily
blacklisted, and repeated failures can blacklist your IP address. If you're locked out,
contact the [service desk](mailto:support@lemmy.be). See [Authentication](/authentication).

#### How many records can I retrieve at once?

A maximum of 50 records per request. Use the `x-page-offset` and `x-page-limit` headers
to page through larger result sets. See [Pagination](/pagination).

#### How do I know if a request succeeded?

Every response includes an `IsSuccess` boolean. When it's `true` the status is
`200 OK`; when it's `false` the status is `400 Bad Request` and `ErrorMessages`
explains what went wrong. See [Errors & status codes](/errors).

#### Is my data real-time?

Yes. The API returns live data with no caching, so what you read always reflects the
current state in Lemmy.

#### Are there rate limits?

There's no hard throughput limit. We ask that you use the API responsibly under a
fair-use principle — avoid unnecessary or excessive requests. If you expect high
volumes, get in touch with the [service desk](mailto:support@lemmy.be).

#### What format are dates and times in?

Timestamps are formatted as ISO 8601 in UTC — for example `2014-12-31T23:59:59.938Z`.

#### Is there an SDK? Which languages are supported?

There's currently no dedicated SDK. The API is standard REST and returns JSON, so you
can call it from any programming language using your preferred HTTP client.