---
title: "Ask over REST"
description: "Send a question to POST https://octo.ad/api/ask and read the answer and the follow-up."
url: "https://docs.octo.ad/integrations/ask-over-rest/"
id: "integrations/ask-over-rest"
type: "task"
audience: "developer"
dateModified: "2026-11-06"
productArea: "integrations"
keywords: ["REST", "API"]
---

# Ask over REST

> Send a question to POST https://octo.ad/api/ask and read the answer and the follow-up.

## Example

```
curl -s https://octo.ad/api/ask -H 'content-type: application/json' \
  -d '{"message":"What is OCTOPUS?"}'
```

## Steps

1. Send `POST https://octo.ad/api/ask` with a JSON body holding `message`. Keep the message under 2,000 characters.
2. Read `answer` and `follow_up` from the response.
3. To continue, send the `session_id` you got back with your next message.

## What you have at the end

Answers about OCTOPUS from public material, in the same conversation.
