Use the GET /instances/{id}
endpoint to export an element instance in JSON format. For example,
curl -X GET "https://api.cloud-elements.com/elements/api-v2/instances/{{INSTANCE ID}}" -H "accept: application/json" -H "Authorization: User {{USER TOKEN}}, Organization {{ORGANIZATION TOKEN}}"
You can also make the call in our API docs. To export an element:
- Go to the Cloud Elements 2.0 Platform API docs page.
- On the Instances tab, use the
GET /instances/{id}
endpoint to retrieve the instance JSON.