Update a DIR
Edit a DIR. DIRs in draft, rejected, unsuccessful, or suspended can be edited freely: PATCH is a pure edit, status is never changed, and you re-vet by calling POST /v2/dir/{dir_id}/submit explicitly. A verified DIR can also be edited in place: a PATCH that changes any value returns the DIR to draft and branded delivery stops until you re-submit and the DIR is approved again, while a PATCH that changes nothing (an empty body or values identical to the current ones) leaves the DIR verified, so idempotent retries are safe. DIRs in any other status (submitted, in_review, expired, infringement_claimed, permanently_rejected) cannot be edited.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The DIR id. Lowercase UUID.
"16635d38-75a6-4481-82e8-69af60e05011"
Body
All fields are optional; only those supplied are updated. Same per-field rules as DirCreateRequest.
Name shown to call recipients. 1–35 characters, no emoji, not whitespace-only.
1 - 35Set to true if your organization places calls on behalf of other enterprises (BPO/reseller). Updating this triggers re-vetting on next submit.
Name of the person at your enterprise authorizing this DIR. Must be a real individual.
255Contact email of the authorizer. Telnyx may send verification or infringement notices here.
Publicly accessible HTTPS URL (max 128 chars) to a 256x256 BMP logo (max 1 MB).
1281–10 reasons your business calls customers. Validate phrasing against POST /call_reasons/validate.
1 - 10 elements64Certification that the DIR information is accurate. Must be true for the DIR to be submitted for vetting.
true
Certification that this DIR is not used for SHAFT content (Sex, Hate, Alcohol, Firearms, Tobacco) where prohibited. Must be true for the DIR to be submitted for vetting.
true
Certification of ownership of any logos/trademarks shown. Must be true for the DIR to be submitted for vetting.
true
Additional supporting documents to attach. Append-only: existing documents are never removed or replaced, and an empty or omitted list is a no-op. Each document_id may appear at most once on a DIR.
20Response
DIR updated.