Read content details
Read an item and its input fields to determine what to send when adding it or editing its settings.
Read an item and its input fields to determine what to send when adding it or editing its settings.
Quick Guide
Prerequisites
In the Playground, sign in to Dot and select Authorize. In a script, use a personal API key or an OAuth access token as a Bearer token.
Request Examples
/api/authV2/open/studio/:contentIdGenerated Code
Before running an example, replace placeholders such as {{VARIABLE}} with actual values and remove the surrounding double braces.
1// Generating...Response Example
HTTP 200
{
"contentId": "mindreset.post_it_note",
"name": "Note",
"categories": [
"REMINDER"
],
"status": "RELEASED",
"inputFields": [
{
"key": "content",
"label": "Content",
"type": "TEXT_AREA",
"editable": true
}
],
"supportsSavedConnection": false
}Troubleshooting
Endpoint
/api/authV2/open/studio/:contentId
Method
GET
Path Parameters
Prop
Type
Query Parameters
Prop
Type
Request Schema
Leave the request body empty.
Response Schema
Prop
Type
Array Items
objectParameters
Array Items
objectParameters
Parameters
Array Items
objectParameters
Values for content settings
Use the names and types from inputFields when submitting settings. Use null to clear an optional value. Submit values directly only for fields with editable set to true.
When details return supportsSavedConnection: true, use connection to choose a saved profile, or send {"mode":"custom","value":"YOUR_PROVIDER_VALUE"} from your own script to supply the provider value. Dot encrypts the value for that item. The account holder still needs to grant access for third-party OAuth services.
To choose a saved profile in code, pass includeProfiles=true to this endpoint, find the profile by name in savedConnections.profiles, and use its id as connection.profileId.
| Input type | JSON value |
|---|---|
TEXT / TEXT_ASCII / TEXT_AREA | A string. TEXT_ASCII accepts ASCII characters only. |
NUMBER_PAD / DIAL_PAD | A finite number or a plain decimal string. |
SELECT | A value from options. Keep the original value type. |
DATE | An ISO 8601 date or date-time string. |
LOCATION_SELECT | An array of strings. |
LOCATION | An object with name and location strings. |
IMAGE | A file object for an image already uploaded by this account. Supports PNG, JPEG, GIF, and WebP. |
API_KEY / DIDA_365 / THIRD_PARTY_APP | Link the service in Dot and use connection to select an available configuration. |
Image file fields
Use Upload a content image to get the file object, then put it in the corresponding settings field.
Prop
Type
Status Codes
| HTTP status | What to do |
|---|---|
400 | Check the values of required path, query, or body fields. |
401 | Renew web authorization or check your API key or access token. |
403 | Check that your account can access this device. |
404 CONTENT_NOT_AVAILABLE | Content unavailable. Check the content ID, device compatibility, and region. |
404 | Check that the device serial number is registered. |
429 | Wait for the number of seconds in Retry-After. See API rate limits. |
503 third_party_input_unavailable | Saved profile lookup is temporarily unavailable. Try again later or omit includeProfiles to read the content details. |
Use dot_get_studio_content with Dot Assistant. Set includeProfiles: true to look up saved profiles.
Did this solve your problem?
Join our community