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"
}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"
}The name of the project.
3 - 25"Acme"
A short description of the project that helps the AI to understand the project.
1000"[Acme] is a company that sells [product] with great quality and low prices."
Show child attributes
The support method to choose from.
EMAIL, URL The URL to redirect to if the user requests to contact the support. This is required if you have support.method set to "URL".
"https//example.com/support"
The email address to redirect to if the user requests to contact the support. This is required if you have support.method set to "EMAIL".
The theme of the SaleSnip widget. This can be used to customize the colors of the widget to match your branding.
Show child attributes
This field determines the overall shape style of UI components in the SaleSnip widget.
ROUNDED, PILL, RECTANGULAR "ROUNDED"
The colors of the SaleSnip widget in light mode.
Show child attributes
Show child attributes
The colors of the SaleSnip widget in dark mode.
Show child attributes
Show child attributes
Created
The unique ID of the project.
1"project_abcdefghjijklmnop"