XreplyAIDevelopers
API ReferenceRules

Get a custom rule

Requires scope: `rules:read`. Available on every plan.

GET
/custom_rules/{id}
AuthorizationBearer <token>

A personal API key created in the dashboard (Starter, Pro, and Team plans).

In: header

Path Parameters

id*integer

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/custom_rules/0"
{  "custom_rule": {    "id": 0,    "title": "string",    "content": "string",    "active": true,    "scope": "reply",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}