Skip to main content
POST
/
plants
cURL
curl --request POST \
  --url http://sandbox.mintlify.com/plants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Monstera Deliciosa",
  "tag": "<string>",
  "id": 1
}'
{
  "name": "Monstera Deliciosa",
  "tag": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Plant to add to the store

name
string
default:Monstera Deliciosa
required

The name of the plant

id
integer
default:1
required

Identification number of the plant

tag
string

Tag to specify the type

Response

plant response

name
string
default:Monstera Deliciosa
required

The name of the plant

tag
string

Tag to specify the type

I