Used to initiate a new dialogue with a customer by sending the first message.

Start a new conversation #

Quick start #

💻
Quick start (cURL)
Copy to clipboard
curl -X POST https://api.ip1.net/v3/conversations \
  -H "Authorization: Bearer API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "brand": "min-butik-ab",
    "agent": "kundservice",
    "recipient": "46700123456",
    "content": "Hej! Hur kan vi hjälpa dig idag?"
  }'

Call #

Endpoint: /conversations

Methodology: POST

Example of call data #

📋
filename.js
Copy to clipboard
Hello! How can we help you today?

Fields for call data #

Field nameDescription of the projectRequiredTypeExample
brandYour brand name Yesstring"My Shop Ltd."
agentYour agent's nameYesstring”Customer service”
recipientRecipient's numberYesObject”46700123456”: { ”name”: ”Kalle” }
contentThe content of the message itselfYes (Except when using Cards)string”Hi {name}! Your order has now been shipped.”
typeMessage in conversation typeYesstring”Carousell”
uniqueIdUnique ID to avoid duplicates.No, it is not.string”conversation-12345-id”

Responsibility #

Returns the first message in the created conversation.

Example of response data #

📋
Responsdata (JSON)
Copy to clipboard
Hi! How can we help you today?

Fields for response data #

Field nameDescription of the projectTypeExample
idMessage ID to which the current conversation belongsstring"65eb3d14f1234567890abcdef"
brandBrand's internal name.string”my-store-ab”
agentThe agent handling the conversation.string”customer service”
conversationIdThe current conversation IDstring”65e15d14f1234547890ghijkl”
recipientRecipient's numberObject”46700123456”: { ”name”: ”Kalle” }
contentThe first message in the conversation contentstring”Hi! How can we help you today?”
typeThe first message in the conversation typestring”Carousell”
modifiedTimestamp of last modification (status update, response, etc.)DateTime”2026-03-09T08:00:05Z”
uniqueIdUnique ID to avoid duplicates.string”conversation-12345-id”

Continue conversation #

Used to send additional messages in an ongoing conversation.

Quick start #

💻
Quick start (cURL)
Copy to clipboard
curl -X POST https://api.ip1.net/v3/conversations/65e15d14f1234547890ghijkl \
  -H "Authorization: Bearer API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"content": "Här kommer informationen du bad om."}'

Call #

Endpoint: /conversations/{conversation}

Methodology: GET

Example of call data #

🔷
Call (URL)
Copy to clipboard
https://api.ip1.net/v3/conversations/65e15d14f1234547890ghijkl

Call fields #

Field nameDescription of the projectRequiredTypeExample
idConversation ID you wish to continue.YesQuery Parameter65e15d14f1234547890ghijkl

Responsibility #

Returns details about the new message in the conversation.

Example of response data #

📋
Responsdata (JSON)
Copy to clipboard
{
"id": "65eb3d14f1234567890abcdef",
"conversationId": "65e15d14f1234547890ghijkl",
"brand": "min-butik-ab",
"agent": "kundservice"
"recipient": "46700123456",
"content": "Hej! Hur kan vi hjälpa dig idag?",
"type": "Carousell"
"modified": "2026-03-09T08:00:05Z",
"uniqueId": "conversation-12345-id"
}

Example of response data #

Field nameDescription of the projectTypeExample
idNew message IDstring"65eb3d14f1234567890abcdef"
brandBrand's internal name.string”my-store-ab”
agentThe agent handling the conversation.string”customer service”
conversationIdThe current conversation IDstring”65e15d14f1234547890ghijkl”
recipientRecipient's numberObject”46700123456”: { ”name”: ”Kalle” }
contentThe new message's contentstring”Hi! How can we help you today?”
typeNew message typestring”Carousell”
modifiedLast modified timestampDateTime”2026-03-09T08:00:05Z”
uniqueIdUnique ID to avoid duplicates.string”conversation-12345-id”