Phone
Poll a phone signup
POST
/
v1
/
phone-onboarding
/
poll
Poll a phone signup
curl --request POST \
--url https://api.sempera.org/v1/phone-onboarding/pollimport requests
url = "https://api.sempera.org/v1/phone-onboarding/poll"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.sempera.org/v1/phone-onboarding/poll', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "pending",
"interval": 123,
"api_key": "<string>",
"workspace_id": "<string>",
"phone_number": "<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>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}⌘I
Poll a phone signup
curl --request POST \
--url https://api.sempera.org/v1/phone-onboarding/pollimport requests
url = "https://api.sempera.org/v1/phone-onboarding/poll"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.sempera.org/v1/phone-onboarding/poll', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "pending",
"interval": 123,
"api_key": "<string>",
"workspace_id": "<string>",
"phone_number": "<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>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}