메인 콘텐츠로 건너뛰기
POST
/
set-user-properties
set-user-properties
curl --request POST \
  --url https://api.notifly.tech/set-user-properties \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "example_project_1234567890abcdef",
  "userId": "user_abc123"
}
'
{
  "data": 3
}
다중 사용자 업데이트한번에 여러 사용자의 정보를 업데이트할 수도 있습니다. 같은 형식의 Object들을 Array 형태로 호출해주시면 됩니다.
  • 최대 업데이트 수: 1회 호출당 최대 1,000명의 사용자까지만 업데이트 가능합니다.

인증

Authorization
string
header
필수

POST /authenticate로 발급받은 인증 토큰

본문

application/json
projectId
string
필수

노티플라이 팀에서 제공하는 프로젝트 ID입니다. 설정 > 프로젝트 정보에서 확인하실 수 있습니다.

userProperties
object
필수

유저 속성(key-value). 예약된 키: $email (이메일), $phone_number (전화번호), $line_user_id (LINE User ID)

userId
string
필수

유저 식별자

응답

성공적인 속성 업데이트입니다

data
integer

업데이트된 행 수