Comment on page
⚙
RESTfull API
The best way to interact with our API is to use one of our official libraries:
Node
Python
R
# Install via NPM
npm install --save my-api
# Install via pip
pip install --upgrade myapi
Good to know: Using tabs to separate out different languages is a great way to present technical examples or code documentation without cramming your docs with extra sections or pages per language.
To make your first request, send an authenticated request to the pets endpoint. This will create a
pet
, which is nice.post
https://api.myapi.com/v1
/pet
Create pet.
Good to know: You can use the API Method block to fully document an API method. You can also sync your API blocks with an OpenAPI file or URL to auto-populate them.
Take a look at how you might call this method using our
Last modified 8mo ago