Skip to main content
GET
/
api
/
v1
/
embed
/
component
/
{componentId}
Get component data for embed
const options = {method: 'GET'};

fetch('https://studyfetchapi.com/api/v1/embed/component/{componentId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{}

Path Parameters

componentId
string
required

Component ID or MongoDB _id

Query Parameters

token
string
required

Embed token

Response

Component data retrieved