Skip to main content
POST
/
v1
/
sms
/
analyze
SMS Conversation Analysis
curl --request POST \
  --url https://app.luly.ai/api/v1/sms/analyze \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '
{
  "goal": "<string>",
  "answers": [
    {}
  ],
  "to": "<string>",
  "from": "<string>"
}
'
{
  "status": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}

Documentation Index

Fetch the complete documentation index at: https://docs.luly.ai/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string
required
Your API key for authentication.

Body

goal
string
required
An overarching goal for the information you want to extract from the SMS messages.
answers
array
required
An array of questions that you want the AI to answer, along with their return types.for example:
{
    "answers": [
        [ "When does Bob want to move?", "time" ],
        [ "Summarize the call.", "summary" ]
    ]
}
to
string
required
The phone number that received the messages.
from
string
required
The human/other phone number in the conversation.
{
  "status": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}