UBIK Agent will launch soon, join the waitlist to get access!
import requests
url = "https://app.ubik-agent.com/api/v1/auth/token"
payload = {
"external_user_id": "user_123",
"expires_in_minutes": 60
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"access_token": "<string>",
"token_type": "<string>"
}Exchange a valid API Key for a short-lived JWT access token. Optionally provide ‘external_user_id’ to scope the token to a specific end-user.
import requests
url = "https://app.ubik-agent.com/api/v1/auth/token"
payload = {
"external_user_id": "user_123",
"expires_in_minutes": 60
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"access_token": "<string>",
"token_type": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.ubik-agent.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?