API Doc V1.0.0 copy
    • Start your Apidog journey
    • Sample APIs
      • verification
        GET
      • Find pet by ID
        GET
      • Add a new pet to the store
        POST
      • Update an existing pet
        PUT
      • Deletes a pet
        DELETE
      • Finds Pets by status
        GET
    • Schemas
      • Sample Schemas
        • Pet
        • Category
        • Tag
    Test

    Test Document

    Authentication#

    Apiary APIIntroductionApiary loves APIs. Of course then, we have an API too.
    ReferenceAuthenticationApiary API uses Bearer Token Authorization.You can manage your authorization tokens at the tokens page.You may also create, get, or delete an authorization token using Basic Authentication.function Utf8(s) {
    return unescape(encodeURIComponent(s));
    }
    function Base64(s) {
    if(typeof btoa === 'function') {
    // Browser
    return btoa(Utf8(s));
    } else {
    // Node.JS
    return Buffer.from(s).toString('base64');
    }
    }
    var credentials = Base64('test@test.test:testtest');
    console.log(credentials)
    Authorization: Basic dGVzdEB0ZXN0LnRlc3Q6dGVzdHRlc3Q=
    You may only interact with your own authorization token.You may use your authorization token to access protected resources.Authorization: Bearer 874887d6ecd0b106a47448c5beca1...
    Modified at 2026-01-22 05:10:30
    Previous
    Start your Apidog journey
    Next
    verification
    Built with