The API is for programmatic creation of new items. Anonymous use is
permitted, and is the default. Per Terms
of Service, automated requests should include a
User-Agent header and should not exceed a rate of one
request per second.
Authenticated use is identical to anonymous use, with the addition of an
Visit the dashboard, press the "Generate" button under "API token". Pass the resulting 16-character token via an HTTP Authorization header, like this:
Authorization: Bearer a1b2c3d4e5f6g7h8
API auth is used to establish ownership of created items; additional functions like deletion are not currently available via the API.
To deactivate (delete) the current token and create a new one, press "Regenerate".
https://dpaste.com/api/is the same as using