cURL
curl --request POST \ --url https://api.zivio.net/api/v3/orgs \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --header 'zivio-tenant-id: <api-key>' \ --data ' { "org": { "name": "My New Organistation", "is_external_client": true, "url": "https://www.example.com" } } '
{ "id": "23", "name": "Demonstration Inc.", "is_external_client": "false", "url": "www.example.com", "billing_email": "[email protected]", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-12-25", "address": { "id": "326", "line1": "326", "line2": "Westbourne Grove", "city": "Brighton", "region": "East Sussex", "postcode": "BN99 9XX", "country_code": "GB", "formatted": "326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom" }, "invoice_address": { "id": "326", "line1": "326", "line2": "Westbourne Grove", "city": "Brighton", "region": "East Sussex", "postcode": "BN99 9XX", "country_code": "GB", "formatted": "326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom" }, "custom_fields": { "key": "value" }, "settings": { "default_fee_methodology": "markup", "cis_contractor": "true", "payment_terms_in_days": "30" } }
Show child attributes
ok
"23"
"Demonstration Inc."
"false"
"www.example.com"
"[email protected]"