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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
token | path | string | Yes | - |
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
| Status | Description |
|---|---|
200 | Success. Returns the response body shown below. |
422 | Request validation failed. detail lists each offending field. |