sms.registration.submit
curl --request POST \
--url https://platform.trylath.com/sms/registration/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"legalName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"address": "<string>",
"useCase": "<string>",
"sampleMessages": [
"<string>"
],
"taxId": "<string>",
"website": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
legalName: '<string>',
email: 'jsmith@example.com',
phone: '<string>',
address: '<string>',
useCase: '<string>',
sampleMessages: ['<string>'],
taxId: '<string>',
website: '<string>'
})
};
fetch('https://platform.trylath.com/sms/registration/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.trylath.com/sms/registration/submit"
payload = {
"legalName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"address": "<string>",
"useCase": "<string>",
"sampleMessages": ["<string>"],
"taxId": "<string>",
"website": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.trylath.com/sms/registration/submit"
payload := strings.NewReader("{\n \"legalName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"address\": \"<string>\",\n \"useCase\": \"<string>\",\n \"sampleMessages\": [\n \"<string>\"\n ],\n \"taxId\": \"<string>\",\n \"website\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"activityId": "<string>",
"result": {
"registration": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brandType": "standard",
"status": "draft",
"blocker": "<string>",
"detail": "<unknown>",
"submittedAt": "2023-11-07T05:31:56Z",
"lastCheckedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
}
}sms.registration.submit
Files this project’s carrier registration, or refiles it when the carrier asked for changes. US carriers refuse application-to-person traffic from an unregistered sender, so SMS cannot send until this reaches ‘active’. A sole_proprietor brand needs no tax id and carries lower throughput; a standard brand needs a registered legal entity and its tax id. Refiling replaces the previous submission rather than adding a second one.
POST
/
sms
/
registration
/
submit
sms.registration.submit
curl --request POST \
--url https://platform.trylath.com/sms/registration/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"legalName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"address": "<string>",
"useCase": "<string>",
"sampleMessages": [
"<string>"
],
"taxId": "<string>",
"website": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
legalName: '<string>',
email: 'jsmith@example.com',
phone: '<string>',
address: '<string>',
useCase: '<string>',
sampleMessages: ['<string>'],
taxId: '<string>',
website: '<string>'
})
};
fetch('https://platform.trylath.com/sms/registration/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.trylath.com/sms/registration/submit"
payload = {
"legalName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"address": "<string>",
"useCase": "<string>",
"sampleMessages": ["<string>"],
"taxId": "<string>",
"website": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.trylath.com/sms/registration/submit"
payload := strings.NewReader("{\n \"legalName\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\",\n \"address\": \"<string>\",\n \"useCase\": \"<string>\",\n \"sampleMessages\": [\n \"<string>\"\n ],\n \"taxId\": \"<string>\",\n \"website\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"activityId": "<string>",
"result": {
"registration": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brandType": "standard",
"status": "draft",
"blocker": "<string>",
"detail": "<unknown>",
"submittedAt": "2023-11-07T05:31:56Z",
"lastCheckedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
}
}Authorizations
A Lath API key: lath_live_sk… or lath_test_sk… on a server, lath_live_pk… or lath_test_pk… in a browser.
Headers
Replays the stored response for the same key and input; refuses different input.
Body
application/json
Available options:
standard, sole_proprietor Required string length:
1 - 200Pattern:
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Required string length:
5 - 30Required string length:
1 - 300Required string length:
20 - 2000Required array length:
1 - 5 elementsRequired string length:
1 - 500Required string length:
1 - 40Last modified on September 13, 2026
Was this page helpful?

