Skip to main content
POST
Share a component

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Component name

Maximum string length: 80
Example:

"Mój Hero"

block
object
required

Component block (with nested children)

type
string

Block type

Maximum string length: 40
Example:

"hero"

Response

OK

success
boolean
Example:

true

data
object
message
string