Syndai Docs

Categorizing rules

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/customers/{customer_id}/books/rules

The active categorizing rules, by priority. Owners and admins only.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
rules*array<>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/books/rules'
Example Response
{  "rules": [    {      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",      "conditions": [        {}      ],      "created_at": "2019-08-24T14:15:22Z",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "priority": 0,      "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"    }  ]}
Was this page helpful?