Create Interest
Create An Interest
POST {{URL}}/api/v1/interests/create
This endpoint allows you to create interest.
Headers
Name
Type
Description
Authentication
string
Authentication token of the admin user.
Request Body
Name
Type
Description
name
string
The name of the Interest to be created.
category
string
The name/id of the category to be registered with the interest.
{
"status": "success",
"message": "Interest created successfully",
"results": 1,
"data": {
"_id": "60b0dd3f47a84e372c190af2",
"name": "Movies",
"category": "607be83e18d64a0022f3045f",
"createdAt": "2021-05-28T12:08:31.000Z",
"__v": 0
}
}Last updated
Was this helpful?