10DLC Registration
Upload a document
Uploads a supporting document or MMS sample file for campaign registration and stores it at the US 10DLC registry.
POST
/
api
/
v1
/
Account
/
{auth_id}
/
Sms
/
TenDlc
/
Document
/
cURL
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Document/ \
--header 'Content-Type: multipart/form-data' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--form 'document=@example-file;type=application/octet-stream'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.campaigns.upload_document(
document="example_document",
)
const form = new FormData();
form.append('document', '<string>');
const options = {
method: 'POST',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
options.body = form;
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Document/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3d2c1b0a-9e8f-4d7c-b6a5-4f3e2d1c0b9a",
"accountId": "MA_XXXXXXXX",
"provider": "primary",
"documentId": "7e6d5c4b-3a2f-4e1d-9c8b-7a6f5e4d3c2b",
"documentName": "opt-in-screenshot.png",
"contentType": "image/png",
"contentLength": 48213,
"createdAt": "2026-10-12T10:30:00Z"
}
Authorizations
Path Parameters
Body
multipart/form-data
Response
The document was stored at the registry.
A supporting document or MMS sample file uploaded for campaign registration.
Was this page helpful?
⌘I
cURL
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Document/ \
--header 'Content-Type: multipart/form-data' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--form 'document=@example-file;type=application/octet-stream'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.campaigns.upload_document(
document="example_document",
)
const form = new FormData();
form.append('document', '<string>');
const options = {
method: 'POST',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
options.body = form;
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Document/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3d2c1b0a-9e8f-4d7c-b6a5-4f3e2d1c0b9a",
"accountId": "MA_XXXXXXXX",
"provider": "primary",
"documentId": "7e6d5c4b-3a2f-4e1d-9c8b-7a6f5e4d3c2b",
"documentName": "opt-in-screenshot.png",
"contentType": "image/png",
"contentLength": 48213,
"createdAt": "2026-10-12T10:30:00Z"
}