Create a presentation integration token
curl --request POST \
--url https://api.presenton.ai/api/v3/presentation/integrate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"presentation": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scopes": []
}
'import requests
url = "https://api.presenton.ai/api/v3/presentation/integrate"
payload = {
"presentation": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scopes": []
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({presentation: '3c90c3cc-0d44-4b50-8888-8dd25736052a', scopes: []})
};
fetch('https://api.presenton.ai/api/v3/presentation/integrate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"token": "<string>",
"frontend_url": "<string>",
"user": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"presentation": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scopes": [
"presentation:read"
],
"version": "standard",
"expires_at": "2023-11-07T05:31:56Z"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Integrate Editor Using IFrame
Create a presentation integration token
Create a temporary, scoped URL for embedding an existing Cloud presentation in an iframe.
POST
/
api
/
v3
/
presentation
/
integrate
Create a presentation integration token
curl --request POST \
--url https://api.presenton.ai/api/v3/presentation/integrate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"presentation": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scopes": []
}
'import requests
url = "https://api.presenton.ai/api/v3/presentation/integrate"
payload = {
"presentation": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scopes": []
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({presentation: '3c90c3cc-0d44-4b50-8888-8dd25736052a', scopes: []})
};
fetch('https://api.presenton.ai/api/v3/presentation/integrate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"token": "<string>",
"frontend_url": "<string>",
"user": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"presentation": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scopes": [
"presentation:read"
],
"version": "standard",
"expires_at": "2023-11-07T05:31:56Z"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Successful Response
Available options:
presentation:read, presentation:edit, presentation:export Available options:
standard, smart Was this page helpful?