GET /projects/{projectId}/widget/config

Authentication

API Key (header: X-API-Key)

Path Parameters

projectId string required path

Responses

200 Widget config
application/json
data object
project_id string
enabled boolean
position string
Enum: bottom-right, bottom-left
color string
Hex color, e.g. #F26B3A
welcome_message string
show_branding boolean
theme string
Enum: light, dark, auto
locale string
curl -X GET 'https://api.rogeriq.com/api/v1/projects/string/widget/config' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://api.rogeriq.com/api/v1/projects/string/widget/config', {  method: 'GET',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://api.rogeriq.com/api/v1/projects/string/widget/config', headers=headers)print(response.json())
200 Response
{  "data": {    "project_id": "<string>",    "enabled": true,    "position": "bottom-right",    "color": "<string>",    "welcome_message": "<string>",    "show_branding": true,    "theme": "light",    "locale": "<string>"  }}
Ask a question... ⌘I