Skip to main content

List Accounts

GET
string
required
/v1/accounts
List all accounts.
accounts
array
List of accounts
curl -X GET https://api.valmi.io/v1/accounts \
  -H "Authorization: Bearer sk_api_abc123xyz"

Create Account

POST
string
required
/v1/accounts
Create a new account.

Body

name
string
required
Account name
email
string
required
Billing email
billing_address
object
Billing address
curl -X POST https://api.valmi.io/v1/accounts \
  -H "Authorization: Bearer sk_api_abc123xyz" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Acme Corp",
    "email": "billing@acme.com",
    "billing_address": {
      "street": "123 Main St",
      "city": "San Francisco",
      "state": "CA",
      "zip": "94105",
      "country": "US"
    }
  }'