블랙 프라이데이 블랙 프라이데이: LetsBot 신규 번들 최대 60% 할인 — 11월 30일까지만. 번들 보기 번들 보기
LetsBot 메뉴
시작하기 한국어 언어

인증된 Meta Tech Provider 영국 등록 법인

언어

CRM · API 엔드포인트

GET /api/v1/crm/objects 신규

List custom objects

The workspace's custom CRM objects (for example Projects or Properties) with their fields: key, label, type, options, whether a field is required, and…

The workspace's custom CRM objects (for example Projects or Properties) with their fields: key, label, type, options, whether a field is required, and whether it is read-only (formula and rollup fields are computed). Available while the workspace uses custom objects (CRM → Custom objects); until then these paths answer 404. Scope: crm.

요청 예시

curl -G "https://your-workspace.letsbot.net/api/v1/crm/objects" \
  -H "X-Zapier-Api-Key: YOUR_WORKSPACE_API_KEY" \
  -H "Accept: application/json"
const response = await fetch("https://your-workspace.letsbot.net/api/v1/crm/objects", {
  method: "GET",
  headers: {
    "X-Zapier-Api-Key": "YOUR_WORKSPACE_API_KEY",
    "Accept": "application/json",
  },
});

const data = await response.json();
console.log(data);
<?php

$ch = curl_init('https://your-workspace.letsbot.net/api/v1/crm/objects');

curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Zapier-Api-Key: YOUR_WORKSPACE_API_KEY',
        'Accept: application/json',
    ],
]);

$data = json_decode(curl_exec($ch), true);
curl_close($ch);

print_r($data);
import requests

response = requests.request(
    "GET",
    "https://your-workspace.letsbot.net/api/v1/crm/objects",
    headers={
        "X-Zapier-Api-Key": "YOUR_WORKSPACE_API_KEY",
        "Accept": "application/json",
    },
)

print(response.json())

응답

Objects200
{
  "success": true,
  "data": [
    {
      "key": "co_projects",
      "label_singular": {
        "ar": "مشروع",
        "en": "Project"
      },
      "label_plural": {
        "ar": "مشاريع",
        "en": "Projects"
      },
      "primary_field": "name",
      "fields": [
        {
          "key": "name",
          "label": "Project name",
          "type": "text",
          "required": true,
          "read_only": false,
          "options": null,
          "settings": {}
        },
        {
          "key": "budget",
          "label": "Budget",
          "type": "currency",
          "required": false,
          "read_only": false,
          "options": null,
          "settings": {
            "currency": "SAR"
          }
        },
        {
          "key": "status",
          "label": "Status",
          "type": "select",
          "required": false,
          "read_only": false,
          "options": [
            {
              "value": "planned",
              "label": "Planned"
            },
            {
              "value": "active",
              "label": "Active"
            }
          ],
          "settings": {}
        },
        {
          "key": "starts_on",
          "label": "Starts",
          "type": "date",
          "required": false,
          "read_only": false,
          "options": null,
          "settings": {}
        },
        {
          "key": "client",
          "label": "Client",
          "type": "relation",
          "required": false,
          "read_only": false,
          "options": null,
          "settings": {
            "target": "contact",
            "many": false
          }
        },
        {
          "key": "partners",
          "label": "Partners",
          "type": "relation",
          "required": false,
          "read_only": false,
          "options": null,
          "settings": {
            "target": "company",
            "many": true
          }
        },
        {
          "key": "units",
          "label": "Units",
          "type": "rollup",
          "required": false,
          "read_only": true,
          "options": null,
          "settings": {
            "relation_object": "co_units",
            "relation_field": "project",
            "function": "count"
          }
        }
      ]
    }
  ]
}

준비되면 언제든지

내 번호로 이 엔드포인트 사용해 보기

API는 무료 체험 기간에도 사용할 수 있습니다. 계정을 만들고 WhatsApp 번호를 연결한 뒤 API → 인증 데이터에서 키를 복사하세요.