Skip to main content

Draft a derived SIP header rule with Composer AI

POST 

/api/v1/phone-numbers/:id/sip-header-transforms/ai-draft

Turns a plain-language instruction into a validated SipHeaderTransform. Uses the platform SIP AI provider chain when enabled and falls back to a built-in interpreter. Only the instruction, header names, and the supplied sampleValue are sent to the model. The draft is not saved; persist it with PUT sip-header-mappings.

Request​

Responses​

Draft rule.