Project

The project, its settings, provider credential status and webhook URLs

GET
/v1/project

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*
meta*
curl -X GET 'http://localhost:8080/v1/project'
{  "success": true,  "data": {    "project": {      "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"    },    "credentials": [      {        "id": "string",        "tenantId": "string",        "provider": "string",        "method": "api_key",        "status": "active",        "keyId": "string",        "last4": "string",        "config": {          "property1": null,          "property2": null        },        "hasWebhookSecret": true,        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    ],    "webhook_urls": {      "allo": "string",      "mock": "string"    }  },  "meta": {    "request_id": "string"  }}