Projects
/projects
This endpoint allows you to create a new project by providing the necessary details.
Request Body
Response
The response for this request is an empty array with a 201 HTTP Code
POST
/projects
Authorization
Authorization
RequiredBearer <token>In: header
Request Body
application/json
OptionalResponse Body
Successful response
curl -X POST "https://api.nodiref.com/projects" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"name": "Default Project",
"base_url": "https://nodiref.com",
"cookie_lifetime": 365,
"status_id": "",
"automatically_approve_conversions": false,
"automatically_approve_rewards": false,
"enable_fraud_detection": true
}'
Empty