Tokenized URL
curl --request POST \
--url https://acme.getid.ee/api/v1/tokenized-url \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"locale": "de",
"profile": {},
"redirects": {
"onComplete": "https://google.com",
"onFail": "https://google.com"
}
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
locale: 'de',
profile: {},
redirects: {onComplete: 'https://google.com', onFail: 'https://google.com'}
})
};
fetch('https://acme.getid.ee/api/v1/tokenized-url', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://acme.getid.ee/api/v1/tokenized-url"
payload = {
"locale": "de",
"profile": {},
"redirects": {
"onComplete": "https://google.com",
"onFail": "https://google.com"
}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"url": "<string>"
}SDK sessions
Tokenized URL
In case of using the ApiTokenAuth, the application will be marked with this token and be accessible only for requests with: 1) this token; 2) token with root access; 3) ApiKeyAuth
POST
/
api
/
v1
/
tokenized-url
Tokenized URL
curl --request POST \
--url https://acme.getid.ee/api/v1/tokenized-url \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"locale": "de",
"profile": {},
"redirects": {
"onComplete": "https://google.com",
"onFail": "https://google.com"
}
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
locale: 'de',
profile: {},
redirects: {onComplete: 'https://google.com', onFail: 'https://google.com'}
})
};
fetch('https://acme.getid.ee/api/v1/tokenized-url', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://acme.getid.ee/api/v1/tokenized-url"
payload = {
"locale": "de",
"profile": {},
"redirects": {
"onComplete": "https://google.com",
"onFail": "https://google.com"
}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"url": "<string>"
}Authorizations
ApiKeyAuthApiTokenAuth
Headers
Query Parameters
Body
application/json