Docs/phone number management api#88
Open
ajkamen wants to merge 8 commits into
Open
Conversation
Document DNIS pool, assignment, and tracking-number APIs with reference entries.
Add parameter guidance, DNIS examples, common errors, and a search-then-assign sample. Co-authored-by: Cursor <cursoragent@cursor.com>
Add two-part permissions, authorization error detail, full endpoint URLs, and resource schema notes. Co-authored-by: Cursor <cursoragent@cursor.com>
Article fixes: - createDnisPoolList body is an ARRAY of DnisPool, not a single object. Use reservedAccountId (string), dnisDescription, dnisCategory, active. - assignGate / assignChatQueue bodies are arrays of AssignedDnis / AssignedSmsDnis, with isActive + dnisDescription (not description). - Add curl + Python samples that POST uploadDnisPool as multipart/form-data with a fileType query parameter. - Assignment lookup example now embeds the product object (gate / visualIvr / cloudRouteProfile / tracNumber) the way AssignedDnis actually serialises. - Primary parameters table reflects the real upload contract and the resource schema table names each schema. Spec fix (specs/engage-voice_openapi3.json): - uploadDnisPool now models the upload as a multipart/form-data request body with a binary file part. Keeps fileType, quoteCharacter, and phoneNumbersI18nEnabled as query params and drops the bogus file query string declaration. Matches the multipart/form-data consumes declaration in swagger.yaml. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep general DNIS pool operations in the existing Number Management category, and split the branch-added assignment and tracking-number operations into focused Routing subcategories with clearer sidebar summaries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.