Path parameters
-
The SID of the Sync Service with the Document resource to fetch.
-
The SID of the Document resource to fetch. Can be the Document resource's
sid
or itsunique_name
.
GET
/v1/Services/{ServiceSid}/Documents/{Sid}
curl \
--request GET 'https://sync.twilio.com/v1/Services/{ServiceSid}/Documents/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "ETaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Documents/ETaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"data": {},
"links": {
"permissions": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Documents/ETaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Permissions"
},
"revision": "revision",
"created_by": "created_by",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"unique_name": "unique_name",
"date_created": "2015-07-30T20:00:00Z",
"date_expires": "2015-07-30T21:00:00Z",
"date_updated": "2015-07-30T20:00:00Z"
}