cURL
curl --request POST \ --url https://api.gleap.io/v3/aicontent \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'project: <project>' \ --data '{ "title": "<string>", "content": "<any>", "contentId": "<string>", "batchId": "<string>", "type": "<string>", "readMoreUrl": "<string>", "readMoreLabel": "<string>" }'
"<any>"
Create or update AI content
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Ok
The response is of type any.
any