{"info":{"name":"Moja API","_postman_id":"c115ba9d-3ec1-4f0d-a2ab-d2f52cb6402c","description":"Importable Postman collection for the Moja API.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"item":[{"name":"List campaigns","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/campaigns","host":["{{baseUrl}}"],"path":["api","v1","campaigns"]},"description":"List campaigns"},"response":[]},{"name":"Create a campaign","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/campaigns","host":["{{baseUrl}}"],"path":["api","v1","campaigns"]},"description":"Create a campaign","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a campaign","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/campaigns/{campaign_id}","host":["{{baseUrl}}"],"path":["api","v1","campaigns","{campaign_id}"]},"description":"Get a campaign"},"response":[]},{"name":"Patch a campaign","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/campaigns/{campaign_id}","host":["{{baseUrl}}"],"path":["api","v1","campaigns","{campaign_id}"]},"description":"Patch a campaign","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"List targets and RTB formulas reachable from a campaign that can be paused","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/campaigns/{campaign_id}/pausable-entities","host":["{{baseUrl}}"],"path":["api","v1","campaigns","{campaign_id}","pausable-entities"]},"description":"List targets and RTB formulas reachable from a campaign that can be paused"},"response":[]},{"name":"List Call Flows","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/call-flows","host":["{{baseUrl}}"],"path":["api","v1","call-flows"]},"description":"List Call Flows"},"response":[]},{"name":"Create Call Flow","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/call-flows","host":["{{baseUrl}}"],"path":["api","v1","call-flows"]},"description":"Create Call Flow","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get Call Flow","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/call-flows/{id_or_external_id}","host":["{{baseUrl}}"],"path":["api","v1","call-flows","{id_or_external_id}"]},"description":"Get Call Flow"},"response":[]},{"name":"Patch Call Flow","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/call-flows/{id_or_external_id}","host":["{{baseUrl}}"],"path":["api","v1","call-flows","{id_or_external_id}"]},"description":"Patch Call Flow","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete Call Flow","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/call-flows/{id_or_external_id}","host":["{{baseUrl}}"],"path":["api","v1","call-flows","{id_or_external_id}"]},"description":"Delete Call Flow"},"response":[]},{"name":"Bind Call Flow Media","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/call-flows/{id_or_external_id}/media-bindings","host":["{{baseUrl}}"],"path":["api","v1","call-flows","{id_or_external_id}","media-bindings"]},"description":"Bind Call Flow Media","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"List custom tags","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/custom-tags","host":["{{baseUrl}}"],"path":["api","v1","custom-tags"]},"description":"List custom tags"},"response":[]},{"name":"Create a custom tag","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/custom-tags","host":["{{baseUrl}}"],"path":["api","v1","custom-tags"]},"description":"Create a custom tag","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a custom tag","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/custom-tags/{custom_tag_id}","host":["{{baseUrl}}"],"path":["api","v1","custom-tags","{custom_tag_id}"]},"description":"Get a custom tag"},"response":[]},{"name":"Patch a custom tag","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/custom-tags/{custom_tag_id}","host":["{{baseUrl}}"],"path":["api","v1","custom-tags","{custom_tag_id}"]},"description":"Patch a custom tag","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete a custom tag","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/custom-tags/{custom_tag_id}","host":["{{baseUrl}}"],"path":["api","v1","custom-tags","{custom_tag_id}"]},"description":"Delete a custom tag"},"response":[]},{"name":"Pause multiple targets or RTB formulas","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/pause","host":["{{baseUrl}}"],"path":["api","v1","pause"]},"description":"Pause multiple targets or RTB formulas","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Resume multiple targets or RTB formulas","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/resume","host":["{{baseUrl}}"],"path":["api","v1","resume"]},"description":"Resume multiple targets or RTB formulas","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"List targets","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/targets","host":["{{baseUrl}}"],"path":["api","v1","targets"]},"description":"List targets"},"response":[]},{"name":"Create a target","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/targets","host":["{{baseUrl}}"],"path":["api","v1","targets"]},"description":"Create a target","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a target","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/targets/{target_id}","host":["{{baseUrl}}"],"path":["api","v1","targets","{target_id}"]},"description":"Get a target"},"response":[]},{"name":"Patch a target","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/targets/{target_id}","host":["{{baseUrl}}"],"path":["api","v1","targets","{target_id}"]},"description":"Patch a target","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Pause a target","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/targets/{target_id}/pause","host":["{{baseUrl}}"],"path":["api","v1","targets","{target_id}","pause"]},"description":"Pause a target","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Resume a target","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/targets/{target_id}/pause","host":["{{baseUrl}}"],"path":["api","v1","targets","{target_id}","pause"]},"description":"Resume a target"},"response":[]},{"name":"List RTB formulas","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtbs","host":["{{baseUrl}}"],"path":["api","v1","rtbs"]},"description":"List RTB formulas"},"response":[]},{"name":"Create an RTB formula","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtbs","host":["{{baseUrl}}"],"path":["api","v1","rtbs"]},"description":"Create an RTB formula","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get an RTB formula","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtbs/{rtb_id}","host":["{{baseUrl}}"],"path":["api","v1","rtbs","{rtb_id}"]},"description":"Get an RTB formula"},"response":[]},{"name":"Patch an RTB formula","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtbs/{rtb_id}","host":["{{baseUrl}}"],"path":["api","v1","rtbs","{rtb_id}"]},"description":"Patch an RTB formula","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Pause an RTB formula","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtbs/{rtb_id}/pause","host":["{{baseUrl}}"],"path":["api","v1","rtbs","{rtb_id}","pause"]},"description":"Pause an RTB formula","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Resume an RTB formula","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtbs/{rtb_id}/pause","host":["{{baseUrl}}"],"path":["api","v1","rtbs","{rtb_id}","pause"]},"description":"Resume an RTB formula"},"response":[]},{"name":"List RTB groups","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtb-groups","host":["{{baseUrl}}"],"path":["api","v1","rtb-groups"]},"description":"List RTB groups"},"response":[]},{"name":"Create an RTB group","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtb-groups","host":["{{baseUrl}}"],"path":["api","v1","rtb-groups"]},"description":"Create an RTB group","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get an RTB group","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtb-groups/{rtb_group_id}","host":["{{baseUrl}}"],"path":["api","v1","rtb-groups","{rtb_group_id}"]},"description":"Get an RTB group"},"response":[]},{"name":"Patch an RTB group","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtb-groups/{rtb_group_id}","host":["{{baseUrl}}"],"path":["api","v1","rtb-groups","{rtb_group_id}"]},"description":"Patch an RTB group","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete an RTB group","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/rtb-groups/{rtb_group_id}","host":["{{baseUrl}}"],"path":["api","v1","rtb-groups","{rtb_group_id}"]},"description":"Delete an RTB group"},"response":[]},{"name":"List routing plans","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/routing-plans","host":["{{baseUrl}}"],"path":["api","v1","routing-plans"]},"description":"List routing plans"},"response":[]},{"name":"Create a routing plan","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/routing-plans","host":["{{baseUrl}}"],"path":["api","v1","routing-plans"]},"description":"Create a routing plan","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a routing plan","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/routing-plans/{routing_plan_id}","host":["{{baseUrl}}"],"path":["api","v1","routing-plans","{routing_plan_id}"]},"description":"Get a routing plan"},"response":[]},{"name":"Patch a routing plan","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/routing-plans/{routing_plan_id}","host":["{{baseUrl}}"],"path":["api","v1","routing-plans","{routing_plan_id}"]},"description":"Patch a routing plan","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"List targets and RTB formulas in a routing plan that can be paused","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/routing-plans/{routing_plan_id}/pausable-entities","host":["{{baseUrl}}"],"path":["api","v1","routing-plans","{routing_plan_id}","pausable-entities"]},"description":"List targets and RTB formulas in a routing plan that can be paused"},"response":[]},{"name":"List buyers","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/buyers","host":["{{baseUrl}}"],"path":["api","v1","buyers"]},"description":"List buyers"},"response":[]},{"name":"Create a buyer","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/buyers","host":["{{baseUrl}}"],"path":["api","v1","buyers"]},"description":"Create a buyer","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a buyer","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/buyers/{buyer_id}","host":["{{baseUrl}}"],"path":["api","v1","buyers","{buyer_id}"]},"description":"Get a buyer"},"response":[]},{"name":"Patch a buyer","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/buyers/{buyer_id}","host":["{{baseUrl}}"],"path":["api","v1","buyers","{buyer_id}"]},"description":"Patch a buyer","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete a buyer","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/buyers/{buyer_id}","host":["{{baseUrl}}"],"path":["api","v1","buyers","{buyer_id}"]},"description":"Delete a buyer"},"response":[]},{"name":"List publishers","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/publishers","host":["{{baseUrl}}"],"path":["api","v1","publishers"]},"description":"List publishers"},"response":[]},{"name":"Create a publisher","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/publishers","host":["{{baseUrl}}"],"path":["api","v1","publishers"]},"description":"Create a publisher","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a publisher","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/publishers/{publisher_id}","host":["{{baseUrl}}"],"path":["api","v1","publishers","{publisher_id}"]},"description":"Get a publisher"},"response":[]},{"name":"Patch a publisher","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/publishers/{publisher_id}","host":["{{baseUrl}}"],"path":["api","v1","publishers","{publisher_id}"]},"description":"Patch a publisher","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete a publisher","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/publishers/{publisher_id}","host":["{{baseUrl}}"],"path":["api","v1","publishers","{publisher_id}"]},"description":"Delete a publisher"},"response":[]},{"name":"List numbers","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/numbers","host":["{{baseUrl}}"],"path":["api","v1","numbers"]},"description":"List numbers"},"response":[]},{"name":"Buy a number","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/numbers/buy","host":["{{baseUrl}}"],"path":["api","v1","numbers","buy"]},"description":"Buy one or more numbers through the configured phone-number provider (max 10 per order). Provide `prefix` for a local area code or toll-free NPA; set `toll_free=true` for toll-free (defaults to 800 if prefix omitted). Use `quantity` for multiple numbers in one order. The response includes purchased numbers under `numbers` (and `number` when quantity is 1).","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a number","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/numbers/{number_id}","host":["{{baseUrl}}"],"path":["api","v1","numbers","{number_id}"]},"description":"Get a number"},"response":[]},{"name":"List incoming webhook configurations","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/incoming-webhooks","host":["{{baseUrl}}"],"path":["api","v1","incoming-webhooks"]},"description":"List incoming webhook configurations"},"response":[]},{"name":"Create an incoming webhook configuration","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/incoming-webhooks","host":["{{baseUrl}}"],"path":["api","v1","incoming-webhooks"]},"description":"Create an incoming webhook configuration","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get an incoming webhook configuration","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/incoming-webhooks/{webhook_id}","host":["{{baseUrl}}"],"path":["api","v1","incoming-webhooks","{webhook_id}"]},"description":"Get an incoming webhook configuration"},"response":[]},{"name":"Patch an incoming webhook configuration","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/incoming-webhooks/{webhook_id}","host":["{{baseUrl}}"],"path":["api","v1","incoming-webhooks","{webhook_id}"]},"description":"Patch an incoming webhook configuration","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete an incoming webhook configuration","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/incoming-webhooks/{webhook_id}","host":["{{baseUrl}}"],"path":["api","v1","incoming-webhooks","{webhook_id}"]},"description":"Delete an incoming webhook configuration"},"response":[]},{"name":"List outgoing webhook configurations","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/outgoing-webhooks","host":["{{baseUrl}}"],"path":["api","v1","outgoing-webhooks"]},"description":"List outgoing webhook configurations"},"response":[]},{"name":"Create an outgoing webhook configuration","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/outgoing-webhooks","host":["{{baseUrl}}"],"path":["api","v1","outgoing-webhooks"]},"description":"Create an outgoing webhook configuration","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get an outgoing webhook configuration","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/outgoing-webhooks/{webhook_id}","host":["{{baseUrl}}"],"path":["api","v1","outgoing-webhooks","{webhook_id}"]},"description":"Get an outgoing webhook configuration"},"response":[]},{"name":"Patch an outgoing webhook configuration","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/outgoing-webhooks/{webhook_id}","host":["{{baseUrl}}"],"path":["api","v1","outgoing-webhooks","{webhook_id}"]},"description":"Patch an outgoing webhook configuration","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete an outgoing webhook configuration","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/outgoing-webhooks/{webhook_id}","host":["{{baseUrl}}"],"path":["api","v1","outgoing-webhooks","{webhook_id}"]},"description":"Delete an outgoing webhook configuration"},"response":[]},{"name":"List audit log entries","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/audit-logs","host":["{{baseUrl}}"],"path":["api","v1","audit-logs"]},"description":"List audit log entries"},"response":[]},{"name":"List audit log field changes (flattened)","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/audit-logs/field-changes","host":["{{baseUrl}}"],"path":["api","v1","audit-logs","field-changes"]},"description":"List audit log field changes (flattened)"},"response":[]},{"name":"Export flattened audit field changes as CSV","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/audit-logs/field-changes/export.csv","host":["{{baseUrl}}"],"path":["api","v1","audit-logs","field-changes","export.csv"]},"description":"Export flattened audit field changes as CSV"},"response":[]},{"name":"Export audit log as CSV","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/audit-logs/export.csv","host":["{{baseUrl}}"],"path":["api","v1","audit-logs","export.csv"]},"description":"Export audit log as CSV"},"response":[]},{"name":"Get one audit log entry","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/audit-logs/{log_id}","host":["{{baseUrl}}"],"path":["api","v1","audit-logs","{log_id}"]},"description":"Get one audit log entry"},"response":[]},{"name":"Call log","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/reporting/calls/query","host":["{{baseUrl}}"],"path":["api","v1","reporting","calls","query"]},"description":"Paginated call log rows for your organization. Returns the same columns as the in-app admin call log grid (excluding UI-only and default QAI-only fields), plus cost (computed USD carrier cost per row; zero for Moja Magic calls), cost_per_min (USD per billable minute, same numeric scale as cost), billable_minutes (per-call rounded minutes used for cost), caller city and state derived from the caller ZIP (zipCode) via the NPA/NXX reference table when available, sticky_caller (true when the call was routed via Duplicate Call Routing / Sticky Caller to the same buyer or destination as a prior call), plus a time-limited presigned recording_url when recordings are available. Pass `include_tags` with system and/or custom tag keys to attach a per-row `tags` map (e.g. original_state, original_zip_code, after_agent_state, after_agent_zip, or any custom tag).","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Call summary","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/reporting/calls/summary","host":["{{baseUrl}}"],"path":["api","v1","reporting","calls","summary"]},"description":"Aggregated call metrics grouped by one dimension (campaign, publisher, buyer, routing_plan, caller_id, target_number, publisher_number, ivr_menu, route-to-target, or date, etc.). Admin cost excludes Moja Magic minutes.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Bulk adjust payouts","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/reporting/calls/payout/bulk-adjust","host":["{{baseUrl}}"],"path":["api","v1","reporting","calls","payout","bulk-adjust"]},"description":"Sets revenue_paid_out and/or publisher_paid_out to the same value(s) on each listed call log id for your organization. Provide at least one of revenue_paid_out or publisher_paid_out. Use ids returned by `POST /api/v1/reporting/calls/query`. `failed_call_log_ids` lists request ids that do not exist for your organization (no matching call log row). Repeating the same request is safe when amounts are unchanged (adjustment flags only update when a value differs).","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Call life timeline","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/reporting/calls/{call_id}/life","host":["{{baseUrl}}"],"path":["api","v1","reporting","calls","{call_id}","life"]},"description":"Ordered life log events for a call id. Same payload as `GET /reporting/call-life/{call_id}` in the product API, authenticated with an organization API key."},"response":[]},{"name":"Incoming webhook request history","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/webhooks/incoming-requests","host":["{{baseUrl}}"],"path":["api","v1","webhooks","incoming-requests"]},"description":"Paginated incoming webhook deliveries for your organization. Same row shape as `GET /incoming_webhook_requests/get` in the product API, authenticated with an organization API key."},"response":[]},{"name":"Outgoing webhook request history","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/webhooks/outgoing-requests","host":["{{baseUrl}}"],"path":["api","v1","webhooks","outgoing-requests"]},"description":"Paginated outgoing webhook deliveries for your organization. Same row shape as `GET /outgoing_webhook_requests/get` in the product API, authenticated with an organization API key."},"response":[]},{"name":"List inbound RTBs","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb"]},"description":"List inbound RTBs"},"response":[]},{"name":"Create an inbound RTB","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb"]},"description":"Create an inbound RTB","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Paginated inbound RTB summary with request params","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb/summary/requests","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb","summary","requests"]},"description":"Paginated inbound RTB summary with request params"},"response":[]},{"name":"Paginated inbound RTB request list","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb/requests","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb","requests"]},"description":"Paginated inbound RTB request list"},"response":[]},{"name":"Inbound RTB life logs by request","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb/requests/{request_id}/life-logs","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb","requests","{request_id}","life-logs"]},"description":"Life log events for an inbound RTB request ID, scoped to the organization from your API key. Same data as `GET /inbound_rtb/life-logs/by-request/{request_id}` in the product API, authenticated with an organization API key."},"response":[]},{"name":"Allocations for an inbound RTB request","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb/allocations/by-request/{request_id}","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb","allocations","by-request","{request_id}"]},"description":"Allocations for an inbound RTB request"},"response":[]},{"name":"Aggregate inbound RTB stats","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb/stats/summary","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb","stats","summary"]},"description":"Aggregate inbound RTB stats"},"response":[]},{"name":"Get an inbound RTB","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb/{inbound_rtb_id}","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb","{inbound_rtb_id}"]},"description":"Get an inbound RTB"},"response":[]},{"name":"Patch an inbound RTB","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb/{inbound_rtb_id}","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb","{inbound_rtb_id}"]},"description":"Patch an inbound RTB","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete an inbound RTB","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/inbound-rtb/{inbound_rtb_id}","host":["{{baseUrl}}"],"path":["api","v1","inbound-rtb","{inbound_rtb_id}"]},"description":"Delete an inbound RTB"},"response":[]},{"name":"Aggregate outbound RTB stats","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/outbound-rtb/stats/summary","host":["{{baseUrl}}"],"path":["api","v1","outbound-rtb","stats","summary"]},"description":"Aggregate outbound RTB stats"},"response":[]},{"name":"Paginated outbound RTB request list","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/outbound-rtb/requests","host":["{{baseUrl}}"],"path":["api","v1","outbound-rtb","requests"]},"description":"Paginated outbound RTB request list"},"response":[]},{"name":"HTTP steps for an outbound RTB request","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/outbound-rtb/requests/{request_id}/steps","host":["{{baseUrl}}"],"path":["api","v1","outbound-rtb","requests","{request_id}","steps"]},"description":"HTTP steps for an outbound RTB request"},"response":[]},{"name":"Upload an organization-scoped audio prompt","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/media/prompts","host":["{{baseUrl}}"],"path":["api","v1","media","prompts"]},"description":"Upload base64 MP3 or 16-bit PCM WAV (5 MiB, ten minutes maximum). Store filePath in play/gather nodes; no expiring URL is returned. Identical bytes in the same organization reuse the same key.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"List number pools","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools","host":["{{baseUrl}}"],"path":["api","v1","number-pools"]},"description":"List number pools"},"response":[]},{"name":"Create a number pool","request":{"method":"POST","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools","host":["{{baseUrl}}"],"path":["api","v1","number-pools"]},"description":"Create a number pool","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Get a number pool","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools/{number_pool_id}","host":["{{baseUrl}}"],"path":["api","v1","number-pools","{number_pool_id}"]},"description":"Get a number pool"},"response":[]},{"name":"Replace a number pool","request":{"method":"PUT","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools/{number_pool_id}","host":["{{baseUrl}}"],"path":["api","v1","number-pools","{number_pool_id}"]},"description":"Replace a number pool","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Update a number pool","request":{"method":"PATCH","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools/{number_pool_id}","host":["{{baseUrl}}"],"path":["api","v1","number-pools","{number_pool_id}"]},"description":"Update a number pool","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}},"response":[]},{"name":"Delete a number pool","request":{"method":"DELETE","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools/{number_pool_id}","host":["{{baseUrl}}"],"path":["api","v1","number-pools","{number_pool_id}"]},"description":"Delete a number pool"},"response":[]},{"name":"Get number pool statistics","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools/{number_pool_id}/statistics","host":["{{baseUrl}}"],"path":["api","v1","number-pools","{number_pool_id}","statistics"]},"description":"Get number pool statistics"},"response":[]},{"name":"Get number pool order status","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools/{number_pool_id}/order-status","host":["{{baseUrl}}"],"path":["api","v1","number-pools","{number_pool_id}","order-status"]},"description":"Get number pool order status"},"response":[]},{"name":"List number pool orders","request":{"method":"GET","header":[{"key":"X-API-Key","value":"{{apiKey}}","type":"text"}],"url":{"raw":"{{baseUrl}}/api/v1/number-pools/{number_pool_id}/orders","host":["{{baseUrl}}"],"path":["api","v1","number-pools","{number_pool_id}","orders"]},"description":"List number pool orders"},"response":[]}],"variable":[{"key":"baseUrl","value":"https://external-api.moja-ai.com"},{"key":"apiKey","value":""}],"auth":{"type":"apikey","apikey":[{"key":"key","value":"X-API-Key","type":"string"},{"key":"value","value":"{{apiKey}}","type":"string"},{"key":"in","value":"header","type":"string"}]}}