Get All Templates

Get Organization Templates

GET https://{server_address}/api/v1/organization/templates

Query Parameters

NameTypeDescription

page

0

Page number starting from 0. First page by default.

size

20

Page size. Should be from 1 to 100. 20 by default.

orgId

1

Organization identifier. Should be a valid integer.

Headers

NameTypeDescription

Authorization*

Bearer {access_token}

{
   "content": [
      {
         "id": 604,
         "templateIds": ["TMPL84aMXD6vd"],
         "parentId": 603,
         "orgId": 829,
         "name": "Default Product"
      }
   ],
   "totalElements": 1
}

Request examples:

# curl command example:
$ curl -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization/templates
$ curl -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/templates

Last updated