CognitiveX Docs
API

GET /api/shares/{token}

Get Shared

GET /api/shares/{token}

Get Shared

Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.

Parameters

NameInTypeRequiredDescription
tokenpathstringYes-

Example request

curl -X GET https://api.cognitivx.io/api/shares/{token} \
  -H "Authorization: Bearer icog_..."

Example response

200 application/json

{
  "item_type": "conversation",
  "title": "string",
  "messages": [
    {}
  ],
  "is_single_message": false,
  "session_share_url": "https://example.com",
  "mindmap": null
}

Responses

StatusDescription
200Success. Returns the response body shown below.
422Request validation failed. detail lists each offending field.