Skip to content
Get an API key

API reference

Retrieve a conversation.

GET
/conversations/{conversation_id}
curl --request GET \
--url https://api.helping.io/v1/conversations/example \
--header 'Authorization: Bearer <token>'
conversation_id
required
string

The opaque conv_... id of the conversation

The conversation.

Media typeapplication/json

A conversation.

OpenAI requires all four fields, so none of them is optional here and none is skipped when empty. metadata in particular: a conversation with no labels answers with {}, never with the field absent.

object
created_at
required

When the conversation was created, in seconds since the Unix epoch.

integer format: int64
id
required

The conversation’s opaque id, conv_....

string
metadata
required

The customer’s own labels on this conversation.

object
object
required

Always conversation.

string
Examplegenerated
{
"created_at": 1,
"id": "example",
"metadata": {},
"object": "example"
}

Missing or invalid API key (the error envelope)

The key is not entitled to what the request asked for (the error envelope)

No such conversation, or one this key cannot reach.

This organization has exhausted its retrieval allowance; retry after the Retry-After header.

The request could not be completed; quote the x-request-id response header when reporting it.

The request could not be served this instant; retry after the Retry-After header.