Linework Developers
EN
Get access

Linework Open API · v1

Build on Linework

A simple REST API to automate your Linework account: publish posts and stories, talk with your community, run your Bloop store and answer customers in chat.

What you can build#

The API acts on behalf of your own account: every request is made as the user who created the API key, with the permissions (scopes) chosen for that key. Payments, wallet and tokens are not available through the API.

Quickstart in 3 steps#

  1. Request developer access. In the Linework web app open Settings → Developers and tell us what you want to build (use case, website, bot name). We review every request.
  2. Create an API key. Once approved, create a key in the same page and choose its scopes. The key starts with lwk_ and is shown only once: store it in a safe place.
  3. Make your first request.
    curl https://api.linework.app/open/v1/me \
      -H "Authorization: Bearer $LINEWORK_API_KEY"
    const res = await fetch("https://api.linework.app/open/v1/me", {
      headers: { Authorization: `Bearer ${process.env.LINEWORK_API_KEY}` },
    });
    console.log(await res.json());
    import os, requests
    
    r = requests.get(
        "https://api.linework.app/open/v1/me",
        headers={"Authorization": f"Bearer {os.environ['LINEWORK_API_KEY']}"},
    )
    print(r.json())

Basics at a glance#

ItemValue
Base URLhttps://api.linework.app/open/v1
AuthenticationAuthorization: Bearer lwk_… — details
FormatJSON, camelCase fields, string ids, ISO 8601 dates (UTC)
Rate limit120 requests per minute per key — limits & daily quotas
PaginationCursor based: ?limit=&cursor= → { data, next_cursor } — details
Errors{ "error": { "code", "message" } } — error codes
OpenAPI file/openapi/linework-open-v1.yaml

Play nice. Bots on Linework must follow the community rules and the API Terms of Use. No spam, no scraping, no impersonation. Keys that break the rules are revoked.