{"info":{"name":"Autobot360 Partner API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{api_key}}","type":"string"}]},"variable":[{"key":"base_url","value":"https://whitelabel.queroxa.in"},{"key":"api_key","value":"ab360_test_…"}],"item":[{"name":"GET List customers","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/customers","host":["{{base_url}}"],"path":["v1","partner","customers"],"query":[{"key":"limit","value":"","disabled":true},{"key":"cursor","value":"","disabled":true},{"key":"status","value":"","disabled":true}]},"description":"Required scope: customers:read"}},{"name":"POST Create a customer workspace","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/customers","host":["{{base_url}}"],"path":["v1","partner","customers"]},"body":{"mode":"raw","raw":"{\n  \"organization_name\": \"Acme School\",\n  \"owner_name\": \"Asha Rao\",\n  \"email\": \"owner@acme.example\",\n  \"external_customer_id\": \"your-id-123\"\n}","options":{"raw":{"language":"json"}}},"description":"Required scope: customers:write"}},{"name":"GET Get a customer (by id or external id)","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/customers/:id","host":["{{base_url}}"],"path":["v1","partner","customers",":id"],"variable":[{"key":"id","value":""}]},"description":"Required scope: customers:read"}},{"name":"PATCH Update a customer","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/customers/:id","host":["{{base_url}}"],"path":["v1","partner","customers",":id"],"variable":[{"key":"id","value":""}]},"body":{"mode":"raw","raw":"{\n  \"phone\": \"+919876543210\"\n}","options":{"raw":{"language":"json"}}},"description":"Required scope: customers:write"}},{"name":"POST Suspend a customer","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/customers/:id/suspend","host":["{{base_url}}"],"path":["v1","partner","customers",":id","suspend"],"variable":[{"key":"id","value":""}]},"description":"Required scope: customers:write"}},{"name":"GET WhatsApp connection status for a customer","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/customers/:id/whatsapp","host":["{{base_url}}"],"path":["v1","partner","customers",":id","whatsapp"],"variable":[{"key":"id","value":""}]},"description":"Required scope: whatsapp:read"}},{"name":"POST Start WhatsApp onboarding (Embedded Signup) for a customer","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/customers/:id/whatsapp/onboarding","host":["{{base_url}}"],"path":["v1","partner","customers",":id","whatsapp","onboarding"],"variable":[{"key":"id","value":""}]},"description":"Required scope: whatsapp:onboard"}},{"name":"GET List WhatsApp connections","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/whatsapp/connections","host":["{{base_url}}"],"path":["v1","whatsapp","connections"]},"description":"Required scope: whatsapp:read"}},{"name":"GET List phone numbers","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/phone-numbers","host":["{{base_url}}"],"path":["v1","phone-numbers"],"query":[{"key":"customer_id","value":"","disabled":true}]},"description":"Required scope: whatsapp:read"}},{"name":"GET List templates","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/whatsapp/templates","host":["{{base_url}}"],"path":["v1","whatsapp","templates"],"query":[{"key":"customer_id","value":"","disabled":true},{"key":"status","value":"","disabled":true}]},"description":"Required scope: templates:read"}},{"name":"GET Get a template","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/whatsapp/templates/:id","host":["{{base_url}}"],"path":["v1","whatsapp","templates",":id"],"variable":[{"key":"id","value":""}]},"description":"Required scope: templates:read"}},{"name":"POST Sync templates from Meta","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/whatsapp/templates/sync","host":["{{base_url}}"],"path":["v1","whatsapp","templates","sync"]},"description":"Required scope: templates:sync"}},{"name":"POST Send a message","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{base_url}}/v1/messages","host":["{{base_url}}"],"path":["v1","messages"]},"body":{"mode":"raw","raw":"{\n  \"customer_id\": \"cus_…\",\n  \"to\": \"919876543210\",\n  \"type\": \"template\",\n  \"template\": {\n    \"name\": \"exam_result\",\n    \"language\": \"en\",\n    \"components\": [\n      {\n        \"type\": \"body\",\n        \"parameters\": [\n          {\n            \"type\": \"text\",\n            \"text\": \"Asha\"\n          }\n        ]\n      }\n    ]\n  },\n  \"reference_id\": \"order-42\"\n}","options":{"raw":{"language":"json"}}},"description":"Required scope: messages:send"}},{"name":"GET List messages","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/messages","host":["{{base_url}}"],"path":["v1","messages"],"query":[{"key":"customer_id","value":"","disabled":true},{"key":"status","value":"","disabled":true},{"key":"reference_id","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"cursor","value":"","disabled":true}]},"description":"Required scope: messages:read"}},{"name":"POST Send up to 100 messages","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/messages/bulk","host":["{{base_url}}"],"path":["v1","messages","bulk"]},"body":{"mode":"raw","raw":"{\n  \"messages\": []\n}","options":{"raw":{"language":"json"}}},"description":"Required scope: messages:send"}},{"name":"GET Get a message","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/messages/:id","host":["{{base_url}}"],"path":["v1","messages",":id"],"variable":[{"key":"id","value":""}]},"description":"Required scope: messages:read"}},{"name":"POST Record a contact's opt-in or opt-out with evidence","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/consent","host":["{{base_url}}"],"path":["v1","consent"]},"body":{"mode":"raw","raw":"{\n  \"customer_id\": \"cus_…\",\n  \"phone\": \"919876543210\",\n  \"action\": \"opt_in\",\n  \"source\": \"web_form\",\n  \"evidence\": \"Ticked the WhatsApp updates box on checkout, 3 Mar 2026\"\n}","options":{"raw":{"language":"json"}}},"description":"Required scope: customers:write"}},{"name":"GET Consent history for a contact","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/consent","host":["{{base_url}}"],"path":["v1","consent"],"query":[{"key":"customer_id","value":"","disabled":true},{"key":"phone","value":"","disabled":true}]},"description":"Required scope: customers:read"}},{"name":"GET Usage for a period","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/usage","host":["{{base_url}}"],"path":["v1","partner","usage"],"query":[{"key":"from","value":"","disabled":true},{"key":"to","value":"","disabled":true}]},"description":"Required scope: usage:read"}},{"name":"GET Partner wallet balance, rates and ledger","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/wallet","host":["{{base_url}}"],"path":["v1","partner","wallet"]},"description":"Required scope: usage:read"}},{"name":"GET Partner plan invoices","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/partner/invoices","host":["{{base_url}}"],"path":["v1","partner","invoices"]},"description":"Required scope: usage:read"}},{"name":"GET List webhooks","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/webhooks","host":["{{base_url}}"],"path":["v1","webhooks"]},"description":"Required scope: webhooks:manage"}},{"name":"POST Create a webhook (signing secret shown once)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/webhooks","host":["{{base_url}}"],"path":["v1","webhooks"]},"body":{"mode":"raw","raw":"{\n  \"url\": \"https://example.com/hooks/autobot360\",\n  \"event_types\": [\n    \"message.delivered\",\n    \"message.failed\"\n  ]\n}","options":{"raw":{"language":"json"}}},"description":"Required scope: webhooks:manage"}},{"name":"PATCH Update a webhook","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/webhooks/:id","host":["{{base_url}}"],"path":["v1","webhooks",":id"],"variable":[{"key":"id","value":""}]},"body":{"mode":"raw","raw":"{\n  \"status\": \"DISABLED\"\n}","options":{"raw":{"language":"json"}}},"description":"Required scope: webhooks:manage"}},{"name":"DELETE Delete a webhook","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/v1/webhooks/:id","host":["{{base_url}}"],"path":["v1","webhooks",":id"],"variable":[{"key":"id","value":""}]},"description":"Required scope: webhooks:manage"}}]}