Redeem access invites/redeem
curl --request POST \
--url https://api.callaro.ai/api/v1/access-invites/redeem \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({token: '<string>'})
};
fetch('https://api.callaro.ai/api/v1/access-invites/redeem', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.callaro.ai/api/v1/access-invites/redeem"
payload = { "token": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"email": "<string>",
"role_key": "<string>",
"scope_type": "<string>",
"scope_id": "<string>",
"status": "<string>",
"expires_at": "<string>",
"accepted_at": "<string>",
"metadata": {}
},
"message": "<string>",
"meta": {},
"request_id": "<string>"
}{
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}{
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}{
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}Users
Redeem access invites/redeem
From api/v1/access_invites#redeem in voice_saas_api. Fields come from that action’s strong params / params usage.
POST
/
api
/
v1
/
access-invites
/
redeem
Redeem access invites/redeem
curl --request POST \
--url https://api.callaro.ai/api/v1/access-invites/redeem \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({token: '<string>'})
};
fetch('https://api.callaro.ai/api/v1/access-invites/redeem', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.callaro.ai/api/v1/access-invites/redeem"
payload = { "token": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"email": "<string>",
"role_key": "<string>",
"scope_type": "<string>",
"scope_id": "<string>",
"status": "<string>",
"expires_at": "<string>",
"accepted_at": "<string>",
"metadata": {}
},
"message": "<string>",
"meta": {},
"request_id": "<string>"
}{
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}{
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}{
"error": "<string>",
"error_code": "<string>",
"request_id": "<string>",
"details": {},
"errors": [
"<string>"
]
}Was this page helpful?