curl --request PATCH \
--url https://api.salesnip.com/v1/projects/{projectId} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"name": "Acme",
"description": "Acme",
"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"
}
}
}
}
}'
{
"success": true
}
curl --request PATCH \
--url https://api.salesnip.com/v1/projects/{projectId} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"name": "Acme",
"description": "Acme",
"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"
}
}
}
}
}'
{
"success": true
}
The unique ID of the project.
1
"project_abcdefghjijklmnop"
Success
The response is of type object
.