<!-- נוצר אוטומטית ממקור התיעוד הקנוני של Teloring. אין לערוך קובץ זה. -->

עמוד קנוני: https://docs.teloring.com/he/api/teloring-api
עודכן לאחרונה: 2026-08-20T20:52:05.000Z

# Teloring API

import ApiLogo from "@theme/ApiLogo";
import Heading from "@theme/Heading";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
import Export from "@theme/ApiExplorer/Export";

<span
  className={"theme-doc-version-badge badge badge--secondary"}
  children={"Version: 1.0.0"}
>
</span>

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Teloring API"}
>
</Heading>



The Teloring REST API gives your own systems the same reach an agent has in
the console: conversations across every channel, the CRM behind them, the
automations, the knowledge bases, the numbers, and — when you need it —
a way to drop one of your users straight into a specific chat.

## Base URL

```
https://api.teloring.com/v1
```

Every path in this reference is relative to that. There is no account id in
any path: your access token already identifies the account, which is what
makes it impossible for a credential to reach somebody else's data.

## Getting started in four steps

1. In the console, go to **Settings → API** and create a credential. Choose
   its scopes — each one unlocks a whole feature area — and copy the
   **client secret**. It is shown once and never again.
2. Exchange the client id and secret for an access token:
   `POST /v1/oauth/token`. Tokens last one hour.
3. Send the token as `Authorization: Bearer <access_token>` on every
   request.
4. Call `GET /v1/oauth/introspect` if anything is unexpected — it tells you
   which account you are on and exactly which scopes you hold.

## What you should know before you build

- **Server-side only.** There are no CORS headers on this API by design. A
  token in browser JavaScript is a token in your page source.
- **Scopes are checked live.** Removing a scope in the console takes effect
  on the very next request, not when the token expires.
- **Some calls cost money.** Creating an agent takes a seat and may charge
  the card on file. WhatsApp templates, outbound SMS and signing links cost
  credits. Each of those endpoints says so.
- **Rate limit:** 600 requests per minute per credential; 20 per minute per
  IP on the token endpoint. Cache your token — you need one per hour, not
  one per request.
- **IP restrictions apply here too.** If the account has an IP allow-list
  set under Settings → Security & login, it governs API calls exactly as it
  governs sign-in. Calling from an address that is not on it answers `403`
  with `code: ip_not_allowed` — add your server's outbound IP there.

## Errors

Every failure answers in the same shape, with a machine-readable `code` and
a `request_id` to quote if you need help:

```json
{
  "error": {
    "type": "invalid_request_error",
    "code": "missing_parameter",
    "message": "'inbox_id' is required.",
    "param": "inbox_id",
    "request_id": "req_5f2a91c0e8b74d3a9c1e"
  }
}
```


<div
  style={{"marginBottom":"2rem"}}
>
  <Heading
    id={"authentication"}
    as={"h2"}
    className={"openapi-tabs__heading"}
    children={"Authentication"}
  >
  </Heading><SchemaTabs
    className={"openapi-tabs__security-schemes"}
  >
    <TabItem
      label={"HTTP: Bearer Auth"}
      value={"BearerAuth"}
    >
      
      
      `Authorization: Bearer <access_token>`, where the token came from
      `POST /v1/oauth/token`. Tokens last one hour. A `401` with
      `code: invalid_token` means fetch a new one.
      
      
      <div>
        <table>
          <tbody>
            <tr>
              <th>
                Security Scheme Type:
              </th><td>
                http
              </td>
            </tr><tr>
              <th>
                HTTP Authorization Scheme:
              </th><td>
                bearer
              </td>
            </tr><tr>
              <th>
                Bearer format:
              </th><td>
                JWT
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </TabItem>
  </SchemaTabs>
</div><div
  style={{"display":"flex","flexDirection":"column","marginBottom":"var(--ifm-paragraph-margin-bottom)"}}
>
  <h3
    style={{"marginBottom":"0.25rem"}}
  >
    Contact
  </h3><span>
    Teloring support: 
  </span><span>
    URL: [https://docs.teloring.com](https://docs.teloring.com)
  </span>
</div><div
  style={{"marginBottom":"var(--ifm-paragraph-margin-bottom)"}}
>
  <h3
    style={{"marginBottom":"0.25rem"}}
  >
    License
  </h3><a
    href={"https://teloring.com"}
  >
    Proprietary
  </a>
</div>
