Dedicated Account

Operations available only for enterprise dedicated accounts

Test dedicated account API

get

Basic endpoint to verify dedicated account API is working

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful response

application/json
get
/dedicated-account
GET /dedicated-account HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "message": "text",
  "status": "text"
}

Create a new notebook with resources

post

Creates a new notebook with the specified resources (text, website, youtube, pdf)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
Responses
200

Notebook created successfully

application/json
post
/dedicated-account/createNotebook
POST /dedicated-account/createNotebook HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "resources": [
    {
      "type": "text",
      "content": "text"
    }
  ]
}
{
  "notebookId": "text"
}

Delete a notebook

post

Deletes a notebook by its ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idstringRequired

The ID of the notebook to delete

Responses
200

Notebook deleted successfully

application/json
post
/dedicated-account/deleteNotebook
POST /dedicated-account/deleteNotebook HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "id": "text"
}
{
  "success": true
}

Get all notebooks

get

Retrieves all notebooks for the authenticated user

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List of notebook IDs retrieved successfully

application/json
get
/dedicated-account/getNotebooks
GET /dedicated-account/getNotebooks HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "notebookIds": [
    "text"
  ]
}

Last updated