Thinkeo API
HomeWebsiteDocumentationThinkeo Platform
HomeWebsiteDocumentationThinkeo Platform
  1. Publications
  • Getting Started
    • Introduction
    • Authentication
    • Required Elements for Creating a Publication
    • Creating Publications
  • Essentials - Most used
    • /teams
      GET
    • /tokens
      POST
    • /attachments
      POST
    • /publications
      POST
  • Auth
    • /auth/confirm
      PUT
    • /auth/forgot-password
      POST
    • /auth/logout
      POST
    • /auth/password
      PUT
    • /auth/refresh
      POST
    • /auth/register
      POST
    • /auth/sso/providers
      GET
    • /auth/sso/{provider}/login
      POST
    • /auth/sso/verify
      POST
    • /auth/login
      POST
  • Apps
    • /apps
    • /apps/query
    • /apps/{app_id}
    • /apps/{app_id}
    • /apps/{app_id}/icon
    • /apps/{app_id}/icon
    • /apps/{app_id}/versions
    • /apps/{app_id}/versions
    • /apps/{app_id}/versions/{version}
    • /apps/{app_id}/wizard
    • /apps/{app_id}/wizard
    • /apps/{app_id}/wizard
    • /apps/{app_id}/wizard
    • /apps/{app_id}/archive
  • Assignments
    • /assignments
    • /assignments/{assignment_id}
    • /assignments/{assignment_id}
  • Attachments
    • /attachments/{attachment_id}
    • /attachments/{attachment_id}/meta
  • Attributes
    • /attributes
    • /attributes/query
    • /attributes/{attr_id}
    • /attributes/{attr_id}
    • /attributes/{attr_id}
    • /attributes/views/
    • /attributes/views/
    • /attributes/views/{view_id}
    • /attributes/views/{view_id}
    • /attributes/views/{view_id}
  • Blocks
    • /blocks
    • /blocks/query
    • /blocks/{block_id}
    • /blocks/{block_id}
    • /blocks/{block_id}
    • /blocks/{block_id}/children
    • /blocks/{block_id}/children/{child_id}
    • /blocks/{block_id}/children/{child_id}
    • /blocks/{block_id}/shallow-copy
    • /blocks/{block_id}/deep-copy
    • /blocks/ai-models
    • /blocks/{block_id}/graph
    • /blocks/views
    • /blocks/views
    • /blocks/views/{view_id}
    • /blocks/views/{view_id}
    • /blocks/views/{view_id}
  • Docs
    • /docs/openapi.json
  • Publications
    • /publications/query
      POST
    • /publications/{publication_id}
      GET
    • /publications/{publication_id}
      PUT
    • /publications/{publication_id}
      DELETE
    • /publications/{publication_id}/attachments
      GET
    • /publications/{publication_id}/data
      GET
    • /publications/{publication_id}/data
      PUT
    • /publications/views
      GET
    • /publications/views
      POST
    • /publications/views/{view_id}
      GET
    • /publications/views/{view_id}
      PUT
    • /publications/views/{view_id}
      DELETE
  • Teams
    • /teams
    • /teams
    • /teams/current
    • /teams/groups
    • /teams/groups
    • /teams/groups/{group_id}
    • /teams/groups/{group_id}
    • /teams/groups/{group_id}/apps
    • /teams/groups/{group_id}/apps
    • /teams/groups/{group_id}/apps/{app_id}
    • /teams/groups/{group_id}/users
    • /teams/groups/{group_id}/users
    • /teams/groups/{group_id}/users/{user_id}
    • /teams/users
    • /teams/users
    • /teams/users/{user_id}
    • /teams/users/{user_id}
    • /teams/billing
    • /teams/billing/report
    • /teams/logs
  • Tokens
    • /tokens
    • /tokens/{token_id}
  • Users
    • /users/me
    • /users/me
  1. Publications

/publications/{publication_id}

PUT
https://api.thinkeo.io/v0/publications/{publication_id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
publication_id
string 
required
Body Params application/json
attributes
object 
required
Sets the attributes values that will influence the generation.
Additional properties
array[string]
optional
blockIds
array[string <uuid>]
optional
Only render this particular block and its descendants.
overwrites
object 
optional
Map from block IDs to HTML content. Overwrites some blocks content with the provided HTML.
Default:
{}
Additional properties
string 
optional
fastPass
boolean 
optional
Does a quicker "fast pass", that does not expand expensive blocks. (e.g. AI blocks, exports...).
Default:
false
stream
boolean 
optional
Returns results as a stream of server sent events (SSE) instead.
Default:
false
refresh
object 
optional
Map from block IDs to refresh integer. When a block is given a refresh integer greater than 0, its result may change.
Default:
{}
Additional properties
integer <uint64>
optional
>= 0
Example
{
  "attributes": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "blockIds": [],
  "overwrites": {},
  "fastPass": false,
  "stream": false,
  "refresh": {}
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.thinkeo.io/v0/publications/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "attributes": {
        "property1": [
            "string"
        ],
        "property2": [
            "string"
        ]
    },
    "blockIds": [],
    "overwrites": {},
    "fastPass": false,
    "stream": false,
    "refresh": {}
}'

Responses

🟢200OK
application/json
Body
Either
optional
Either a JSON object or a stream of server sent events (SSE), each containing a JSON object.
Any of
Output DTO for the render_block endpoint when stream is false.
publicationId
string <uuid>
Id
required
blocks
object 
required
Example
{
  "publicationId": "aac799f4-ea8f-4114-9093-24db2fa60ec5",
  "blocks": {
    "property1": {
      "kind": "html",
      "content": "string"
    },
    "property2": {
      "kind": "html",
      "content": "string"
    }
  }
}
🟠400Bad Request
Modified at 2025-02-21 14:53:31
Previous
/publications/{publication_id}
Next
/publications/{publication_id}
Built with