POST
/
v1
/
projects
curl --request POST \
  --url https://api.salesnip.com/v1/projects \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "name": "Acme",
  "description": "[Acme] is a company that sells [product] with great quality and low prices.",
  "support": {
    "method": "EMAIL",
    "url": "https//example.com/support",
    "email": "[email protected]"
  },
  "theme": {
    "shapes": "ROUNDED",
    "light": {
      "overview": {
        "background": "#4043ff",
        "foreground": "#4043ff"
      },
      "chat": {
        "background": "#4043ff",
        "foreground": "#4043ff"
      },
      "primary": {
        "background": "#4043ff",
        "foreground": "#4043ff"
      },
      "input": {
        "background": "#4043ff",
        "foreground": "#4043ff"
      },
      "message": {
        "user": {
          "background": "#4043ff",
          "foreground": "#4043ff"
        },
        "bot": {
          "background": "#4043ff",
          "foreground": "#4043ff"
        }
      }
    },
    "dark": {
      "overview": {
        "background": "#4043ff",
        "foreground": "#4043ff"
      },
      "chat": {
        "background": "#4043ff",
        "foreground": "#4043ff"
      },
      "primary": {
        "background": "#4043ff",
        "foreground": "#4043ff"
      },
      "input": {
        "background": "#4043ff",
        "foreground": "#4043ff"
      },
      "message": {
        "user": {
          "background": "#4043ff",
          "foreground": "#4043ff"
        },
        "bot": {
          "background": "#4043ff",
          "foreground": "#4043ff"
        }
      }
    }
  }
}'
{
  "id": "project_abcdefghjijklmnop"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json

Response

201
application/json

Created

The response is of type object.