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
$curl -G https://blocks.dopt.com/v2/block/%3Auid \
> -H "x-api-key: <apiKey>" \
> -d userIdentifier=string \
> -d groupIdentifier=string \
> -d version=1
Response
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}