Project

Update settings (merged)

PUT
/v1/project/settings

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Request Body

application/json
  1. body
[key: string]?unknown

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*
meta*
curl -X PUT 'http://localhost:8080/v1/project/settings' \  -H 'Content-Type: application/json' \  -d '{  "property1": null,  "property2": null}'
{  "success": true,  "data": {    "id": "string",    "slug": "string",    "name": "string",    "settings": {      "attribution_days": 1,      "sms_countries": [        "st"      ],      "send_window": {        "days": [          "string"        ],        "from": "string",        "to": "string",        "tz": "contact"      },      "attrs_schema": {        "property1": {          "type": "string",          "label": "string",          "values": [            "string"          ]        },        "property2": {          "type": "string",          "label": "string",          "values": [            "string"          ]        }      },      "retention_days": 7,      "store_inbound_bodies": true,      "match_replies_outside_thread": true,      "crm": {        "deal_selection": "newest_open"      },      "allo": {        "outcome_map": {          "property1": "string",          "property2": "string"        }      },      "max_steps_per_tick": 1,      "mock": {        "property1": null,        "property2": null      },      "unsubscribe_url": "string"    },    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  },  "meta": {    "request_id": "string"  }}