Blocks

Get Block

GET
https://blocks.dopt.com/v2/block/:uid

Path parameters

uid
string

Query parameters

userIdentifier
string
groupIdentifier
optional string
version
double

Response

This endpoint return an object.
kind
"block"
uid
string
sid
string
version
double
state
object
transitioned
map from strings to booleans
type
enum
fields
list of unions
containerUid
optional string
GET
/v2/block/:uid
curl -G https://blocks.dopt.com/v2/block/:uid \
-H "x-api-key: <apiKey>" \
-d userIdentifier=string \
-d groupIdentifier=string \
-d version=1
Response
{
"kind": "block",
"uid": "string",
"sid": "string",
"version": 1,
"state": {
"active": true,
"entered": true,
"exited": true
},
"transitioned": {
"string": true
},
"type": "custom",
"fields": [
{
"type": "string",
"sid": "string",
"value": "string"
}
],
"containerUid": "string"
}