Blocks

Get Block

GET

Path parameters

uidstringRequired

Query parameters

userIdentifierstringRequired
groupIdentifierstringOptional
versiondoubleRequired

Response

This endpoint returns 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
stringOptional
GET
1curl -G https://blocks.dopt.com/v2/block/:uid \
2 -H "x-api-key: <apiKey>" \
3 -d userIdentifier=string \
4 -d groupIdentifier=string \
5 -d version=1
200
Retrieved
1{
2 "kind": "block",
3 "uid": "string",
4 "sid": "string",
5 "version": 1,
6 "state": {
7 "active": true,
8 "entered": true,
9 "exited": true
10 },
11 "transitioned": {
12 "string": true
13 },
14 "type": "custom",
15 "fields": [
16 {
17 "type": "string",
18 "sid": "string",
19 "value": "string"
20 }
21 ],
22 "containerUid": "string"
23}