Skip to main content
This guide makes one authenticated request end to end so you can see the shape of a Humalike call: how you send your token, what a request body looks like, and how to read the response. It uses the Social Learning API as the example — every other API follows the same pattern.

1. Get a token

You authenticate with a bearer token tied to your account. See Authentication for how to obtain and send it. In the examples below, set it as an environment variable:

2. Send a transcript

POST /v1/social-learning/actions/extract with a JSON body containing a transcript whose messages array has at least one message.

3. Read the response

A successful call returns 200 with a structured profile and a ready-to-use prompt_block:
Drop prompt_block straight into your agent’s prompt, or read individual profile fields if you want finer control.
That’s it — one authenticated POST is the whole flow. Every Humalike API works this way: a bearer token, a JSON body, a JSON response.

Next