Phone
Start an owner-approved phone signup
POST
/
v1
/
phone-onboarding
/
start
Start an owner-approved phone signup
curl --request POST \
--url https://api.sempera.org/v1/phone-onboarding/startimport requests
url = "https://api.sempera.org/v1/phone-onboarding/start"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.sempera.org/v1/phone-onboarding/start', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"device_code": "<string>",
"user_code": "<string>",
"verification_url": "<string>",
"verification_url_complete": "<string>",
"expires_in": 123,
"interval": 123
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}⌘I
Start an owner-approved phone signup
curl --request POST \
--url https://api.sempera.org/v1/phone-onboarding/startimport requests
url = "https://api.sempera.org/v1/phone-onboarding/start"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.sempera.org/v1/phone-onboarding/start', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"device_code": "<string>",
"user_code": "<string>",
"verification_url": "<string>",
"verification_url_complete": "<string>",
"expires_in": 123,
"interval": 123
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}