• Installs:
  • Today: 0
  • This Week: 0
  • This Month: 0
  • All Time: 119921
Developer:userdimashirokov

Lob.createAddress

Creates a new address object.

Configuration

Step 1: Go to Lob Dashboard(https://dashboard.lob.com/)
Step 2: Go to your account settings
Step 3: Switch to API KEYS
Step 4: Copy and save your credentials

Test This Block

  • apiKey
    Body parameter
    Api Key.

  • gear
    Required Parameters

    • addressLine1
      Body parameter
      The total string must be no longer than 200 characters.
    optional
    Optional Parameters
    • description
      Body parameter
      Address description.
    • name
      Body parameter
      Either name or company is required, you may also add both. The total string for name must be no longer than 50 characters. If both name and company are provided, they will be printed on two separate lines above the rest of the address.
    • company
      Body parameter
      Either name or company is required, you may also add both. The total string for company must be no longer than 200 characters. If both name and company are provided, they will be printed on two separate lines above the rest of the address.
    • addressLine2
      Body parameter
      The total string must be no longer than 200 characters.
    • addressCountry
      Body parameter
      Must be a 2 letter country short-name code (ISO 3166). Defaults to US.
    • addressCity
      Body parameter
      Required if address_country is US, otherwise optional. The total string must be no longer than 200 characters.
    • addressState
      Body parameter
      Required and must be a 2 letter state short-name code if address_country is US, otherwise optional and the total string can not be any longer than 200 characters.
    • addressZip
      Body parameter
      Required and must follow the ZIP format of 12345 or ZIP+4 format of 12345-1234 if address_country is US, otherwise optional and the total string can not be any longer than 40 characters.
    • phone
      Body parameter
      The total string must be no longer than 40 characters.
    • email
      Body parameter
      The total string must be no longer than 100 characters.
    • plus
      Must be an Array with up to 20 key-value pairs. Keys must at most 40 characters and values must be at most 500 characters. Neither can contain the characters and Nested objects are not supported. See Metadata for more information.
    Show Optional Parameters
    TEST Function
    CODE (NodeJS)
    Response

    Nice try, But you still have to Log in.
    Meanwhile, you can enjoy this limerick:

    "A programming genius called HEAP
    Had trouble in getting to sleep
    So he made his lambs troup
    through a huge FOR-NEXT loop
    FOR 1 TO 10000: NEXT sheep."

    Sign in to get the snippet
    Sign In
    x
    circle
    Lob
    $ / m
    We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.
    ?

    Oops, we are missing some details

    Looks like there are a few missing details that you haven't filled in yet.
    These details are important and will help us protect you and let you know about anything new.

    x

    Connect your app to Lob via RapidAPI

    Consume and monitor multiple APIs through the RapidAPI SDK.
    Click start to set up your app and connect to Lob.

    START

    Give your app a name

    This app will be used in RapidAPI to collect and connect all the APIs you need.

    NEXT

    Connect your project

    Choose your backend language and then install & require the RapidAPI SDK.

    • node
      NodeJS
    • php
      PHP
    • python
      Python
    • objc
      Obj-C
    • android
      Android
    • go
      GO
    • ruby
      Ruby
    • csharp
      C#

    Install SDK

    Run the following command to install the SDK:

    npm install rapidapi-connect --save

    Require SDK

    In your code, add the following code to require the RapidAPI SDK:

    NEXT

    Hooray! You are connected

    Use the following code to try it out by getting all the APIs that are on RapidAPI.

    rapid.call('RapidAPI', 'getAll', {'{}'});
    FINISH
    esccloses this view
    x

    Login to RapidAPI

    Create endpoints based on popular APIs and share with others.
    Follow popular APIs and get updated. Stand out in the community of developers.

    Login with Github
    Login with Facebook
    Login with Google
    Or
    Remember Me

  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Why sign up to RapidAPI?

    • integrate
      Integrate APIs into your app
      Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
    • keys
      Save all API keys in one place
    • notifications
      Get notifications about API changes
    • stats
      Get stats and monitor API connections
    Sign up with Github
    Sign up with Facebook
    Sign up with Google
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Authentication

    Authenticate
    esccloses this view