메인 콘텐츠로 건너뛰기
PATCH
curl
Didit의 Phone Settings API는 인증 기본값, 메시지 보존 기간, 선호하는 데이터 지역을 업데이트합니다. verification.code_length처럼 설정 하나만 변경하려면 해당 설정만 전송하십시오. 전송한 각 설정은 저장된 값을 대체하며, 허용 범위를 벗어난 값은 400 invalid_setting을 반환합니다. messages.retention_days는 7, 30, 90 또는 365로 설정하십시오. 데이터 지역 선호도를 기록하려면 data_region을 eu 또는 us로 설정하십시오. 기본값을 수정하기 전에 현재 설정을 조회하십시오. 개별 시장에서 열려 있는 경로를 변경하려면 국가 및 경로를 업데이트하십시오. 제한된 API 키에는 applications에 대한 쓰기 권한이 필요합니다. 이 범위가 없는 키는 403을 받습니다. 허용 범위를 벗어난 값은 400 invalid_setting을 반환합니다.

인증

x-api-key
string
header
필수

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

헤더

Idempotency-Key
string

Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. A failed request (any 4xx or 5xx) is not stored, so you can send it again with the same key. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.

Required string length: 1 - 255

본문

application/json

The application settings to update. Omit a section to keep its current settings.

verification
object

Each property you supply replaces its saved value.

messages
object

Message settings to change.

data_region
enum<string>

The data region preference to save for the application.

사용 가능한 옵션:
eu,
us

응답

The settings, updated.

updated_at
string<date-time>

When the settings changed.

예시:

"2026-11-21T10:00:00Z"

마지막 수정일 2026년 11월 24일