Postman, OpenAPI and client libraries
Import the whole API into Postman from one link, or generate your own client from the OpenAPI spec. The official libraries aren't published yet.
You don't have to write calls by hand. YoLeads publishes a machine-readable description of the whole API at https://app.yoleads.io/api/v1/openapi.json, so tools can build requests for you. No key is needed to read it.
#Postman
In Postman, choose Import, then Link
Paste
https://app.yoleads.io/api/v1/openapi.jsonEvery endpoint appears, grouped like the reference, with
https://app.yoleads.io/api/v1as the base address.Set the collection's authorization to Bearer Token and paste your key
Get a key from Create an API key.
#Generate your own client
The same address is an OpenAPI 3.1 document. Any code generator that reads OpenAPI can turn it into a client in your language. Insomnia imports it too.
#Libraries and the command line
A Node library, a Python library and a command line (yoleads) are built on exactly the same API, so they can't do anything the API can't. They aren't on npm or PyPI yet, so the install commands on the Command line tile won't work until they're published. We'll announce them in What's new in the app. Until then, the REST API, Postman and the OpenAPI spec cover everything.
The full reference is at Developers, with a Try it panel on each endpoint.