10DLC Registration
Download a document
Downloads a document you uploaded with POST /TenDlc/Document/. The response body is the file itself, with its own Content-Type and original filename.
GET
/
api
/
v1
/
Account
/
{auth_id}
/
Sms
/
TenDlc
/
Document
/
{id}
/
cURL
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Document/{id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.campaigns.get_document(
id="id",
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Document/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"
Authorizations
Path Parameters
Response
The file bytes.
The response is of type file.
Was this page helpful?
⌘I
cURL
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Document/{id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.campaigns.get_document(
id="id",
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Document/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"