Skip to main content
POST
/
ingest
/
v1
/
api
/
website
curl --request POST \
  --url https://api.skimming.ai/ingest/v1/api/website \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://example.com/article",
  "saveToServer": true
}
'
{
  "success": {
    "file_id": "abc123-def456-ghi789",
    "file_name": "document.pdf",
    "user_id": "<string>",
    "createAt": "2023-11-07T05:31:56Z"
  },
  "error": {},
  "message": {
    "content": "<string>",
    "displayContent": true
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication using an API key

Body

application/json
url
string<uri>
required

URL of the website or social media post

Example:

"https://example.com/article"

saveToServer
boolean
default:true

Response

Website/post ingested successfully

success
object
error
object
message
object