Operator

List projects

GET
/v1/admin/projects

Authorization

projectKey
headerAuthorizationBearer <token>

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

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*array<>
meta*
curl -X GET 'http://localhost:8080/v1/admin/projects'
{  "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"  }}