Skip to main content

Server URL

All the API endpoints are exposed under https://api.myaifrontdeskdashboard.com/api/v1/

Authentication

All the protected API endpoints use Basic authentication. Here’s how you generate an authentication token:

For JavaScript:

btoa(`${username}:${password}`)

For Node.js:

Buffer.from(`${username}:${password}`).toString('base64')

Here’s how you pass them in javascript:

await axios.post(
      `/your/protected/api/route`,
      {
        ...body
      },
      {
        headers: {
          Authorization: btoa(`${username}:${password}`),
        },
      }
    );

Authentication reference for API docs:

security:
  - basicAuth: []