> ## 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.

# SMS Conversation Analysis

> Answer questions and extract information from an SMS conversation.

### Headers

<ParamField header="authorization" type="string" required={true}>
  Your API key for authentication.
</ParamField>

### Body

<ParamField body="goal" type="string" required={true}>
  An overarching goal for the information you want to extract from the SMS messages.
</ParamField>

<ParamField body="answers" type="array" required={true}>
  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" ]
      ]
  }
  ```
</ParamField>

<ParamField body="to" type="string" required={true}>
  The phone number that received the messages.
</ParamField>

<ParamField body="from" type="string" required={true}>
  The human/other phone number in the conversation.
</ParamField>

<ResponseExample>
  ```json Response
  {
    "status": "success",
    "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
  }

  ```
</ResponseExample>
