Authorizations
Query Parameters
The decoded_content
is provided as an extra attribute that shows content in decoded form.
curl --request GET \
--url https://api.latitude.sh/projects/{project_id}/user_data/{user_data_id} \
--header 'Authorization: <api-key>'
{
"data": {
"id": "ud_VLMmAD8EOwop2",
"type": "user_data",
"attributes": {
"description": "Breaded fried chicken with waffles, and a side of maple syrup.",
"content": "VHdvIGJ1dHRlciBjcm9pc3NhbnRzIG9mIHlvdXIgY2hvaWNlIChwbGFpbiwgYWxtb25kIG9yIGNoZWVzZSkuIFdpdGggYSBzaWRlIG9mIGhlcmIgYnV0dGVyIG9yIGhvdXNlLW1hZGUgaGF6ZWxudXQgc3ByZWFkLg==",
"created_at": "2025-07-16T18:36:39+00:00",
"updated_at": "2025-07-16T18:36:39+00:00",
"decoded_content": "Two butter croissants of your choice (plain, almond or cheese). With a side of herb butter or house-made hazelnut spread."
}
},
"meta": {}
}
Get User Data in the project. These scripts can be used to configure servers with user data.
curl --request GET \
--url https://api.latitude.sh/projects/{project_id}/user_data/{user_data_id} \
--header 'Authorization: <api-key>'
{
"data": {
"id": "ud_VLMmAD8EOwop2",
"type": "user_data",
"attributes": {
"description": "Breaded fried chicken with waffles, and a side of maple syrup.",
"content": "VHdvIGJ1dHRlciBjcm9pc3NhbnRzIG9mIHlvdXIgY2hvaWNlIChwbGFpbiwgYWxtb25kIG9yIGNoZWVzZSkuIFdpdGggYSBzaWRlIG9mIGhlcmIgYnV0dGVyIG9yIGhvdXNlLW1hZGUgaGF6ZWxudXQgc3ByZWFkLg==",
"created_at": "2025-07-16T18:36:39+00:00",
"updated_at": "2025-07-16T18:36:39+00:00",
"decoded_content": "Two butter croissants of your choice (plain, almond or cheese). With a side of herb butter or house-made hazelnut spread."
}
},
"meta": {}
}
The decoded_content
is provided as an extra attribute that shows content in decoded form.
Was this page helpful?