Sessions
Get a single session
GET
/
v1
/
sessions
/
{sessionId}
curl --request GET \
--url https://api.salesnip.com/v1/sessions/{sessionId} \
--header 'X-Api-Key: <api-key>'
{
"id": "session_abcdefghjijklmnop",
"project": "project_abcdefghjijklmnop",
"url": "https://chat.salesnip.com/#abcdefghjijklmnop",
"status": "ACTIVE",
"currency": "USD",
"products": [
{
"id": "your_product_id",
"name": "Product Name",
"description": "Product Description",
"image": "https://example.com/product.png",
"price": {
"current": 90,
"initial": 100,
"minimum": 80
},
"quantity": {
"current": 1,
"initial": 1,
"minimum": 1,
"maximum": 100000
},
"recurring": {
"unit": "MONTH",
"count": 6
},
"trial": {
"unit": "MONTH",
"count": 6
},
"metadata": {
"description": "This is a description of the product"
}
}
],
"metadata": {
"some_important_info": "SaleSnip is awesome!"
}
}
Authorizations
Path Parameters
The unique ID of the session.
Minimum length:
1
Example:
"session_abcdefghjijklmnop"
Response
200
application/json
Success
The response is of type object
.
curl --request GET \
--url https://api.salesnip.com/v1/sessions/{sessionId} \
--header 'X-Api-Key: <api-key>'
{
"id": "session_abcdefghjijklmnop",
"project": "project_abcdefghjijklmnop",
"url": "https://chat.salesnip.com/#abcdefghjijklmnop",
"status": "ACTIVE",
"currency": "USD",
"products": [
{
"id": "your_product_id",
"name": "Product Name",
"description": "Product Description",
"image": "https://example.com/product.png",
"price": {
"current": 90,
"initial": 100,
"minimum": 80
},
"quantity": {
"current": 1,
"initial": 1,
"minimum": 1,
"maximum": 100000
},
"recurring": {
"unit": "MONTH",
"count": 6
},
"trial": {
"unit": "MONTH",
"count": 6
},
"metadata": {
"description": "This is a description of the product"
}
}
],
"metadata": {
"some_important_info": "SaleSnip is awesome!"
}
}
Assistant
Responses are generated using AI and may contain mistakes.