Create Customer Account

/create

Full Url: https://apiv1.teleapi.net/customers/create

Arguments:

  • token (required)
  • username (required)
  • password (required)
  • email (required)
  • first_name (required)
  • last_name (required)
  • phone_number (required)
  • address (required)
  • city (required)
  • state (required)
  • zip (required)

Info: Create a customer, what more is there to say?

Example Success

{
    "code": 200,
    "status": "success",
    "data": {
        id: "18362",
        postpay: "no",
        master_id: "1",
        reseller_id: null,
        user_type: "customer",
        username: "blahrg",
        email: "example@email.com",
        first_name: "blarhg",
        last_name: "blargy",
        phone_number: "4567891230",
        address: "asdf",
        city: "asdf",
        state: "CO",
        zip: "asdf",
        user_status: "active",
        low_balance_amount: "5.00",
        credit_line: 0,
        chanlimit_outbound: 1,
        chanlimit_inbound: 10,
        max_international: 0.2,
        sms_post_url: "",
        sms_delivery_url: null,
        web_hook_url: null,
        fees_percent: "0.118300000",
        did_sbc: "208.103.145.20",
        restricted: "no",
        sso_key: "asdffdsa-asdf-asdf-asdf-asdffdsaasdf"
    }
}

Example Error

{
    "code": 500,
    "status": "error",
    "data": "Could not create reseller"
}

results matching ""

    No results matching ""