Users
Last updated
Was this helpful?
Last updated
Was this helpful?
GET /v2/users/self HTTP/1.1
Host: api.badgr.io
Accept: */*
OK
{
"status": {
"success": true,
"description": "ok"
},
"result": [
{
"id": "5f16c84d1ff787222b6c4d15",
"entityType": "BadgeUser",
"entityId": "Hey7J-GRSJeu6FNnHQwNyw",
"firstName": "Jane",
"lastName": "Doe",
"emails": [
{
"email": "Jane.Doe@example.com",
"verified": true,
"primary": true,
"caseVariants": [
"text"
]
}
],
"url": [
"https://example.com"
],
"telephone": [
"text"
],
"badgrDomain": "badgrsupportgroup.badgr.com",
"agreedTermsVersion": 4,
"hasAgreedToLatestTermsVersion": true,
"marketingOptIn": true,
"hasPasswordSet": true,
"recipient": {
"identity": "jane.doe@example.com",
"type": "email"
}
}
],
"timestamp": "2025-04-15T03:40:08.823Z",
"validationErrors": [
"text"
],
"nonFieldErrors": [
"text"
],
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"errorCode": "text",
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1
}
GET /v2/users/{idOrEntityId} HTTP/1.1
Host: api.badgr.io
Accept: */*
OK
{
"status": {
"success": true,
"description": "ok"
},
"result": [
{
"id": "5f16c84d1ff787222b6c4d15",
"entityType": "BadgeUser",
"entityId": "Hey7J-GRSJeu6FNnHQwNyw",
"firstName": "Jane",
"lastName": "Doe",
"emails": [
{
"email": "Jane.Doe@example.com",
"verified": true,
"primary": true,
"caseVariants": [
"text"
]
}
],
"url": [
"https://example.com"
],
"telephone": [
"text"
],
"badgrDomain": "badgrsupportgroup.badgr.com",
"agreedTermsVersion": 4,
"hasAgreedToLatestTermsVersion": true,
"marketingOptIn": true,
"hasPasswordSet": true,
"recipient": {
"identity": "jane.doe@example.com",
"type": "email"
}
}
],
"timestamp": "2025-04-15T03:40:08.823Z",
"validationErrors": [
"text"
],
"nonFieldErrors": [
"text"
],
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"errorCode": "text",
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1
}
Jane
Doe
true
PUT /v2/users/{idOrEntityId} HTTP/1.1
Host: api.badgr.io
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"firstName": "Jane",
"lastName": "Doe",
"marketingOptIn": true
}
OK
{
"status": {
"success": true,
"description": "ok"
},
"result": [
{
"id": "5f16c84d1ff787222b6c4d15",
"entityType": "BadgeUser",
"entityId": "Hey7J-GRSJeu6FNnHQwNyw",
"firstName": "Jane",
"lastName": "Doe",
"emails": [
{
"email": "Jane.Doe@example.com",
"verified": true,
"primary": true,
"caseVariants": [
"text"
]
}
],
"url": [
"https://example.com"
],
"telephone": [
"text"
],
"badgrDomain": "badgrsupportgroup.badgr.com",
"agreedTermsVersion": 4,
"hasAgreedToLatestTermsVersion": true,
"marketingOptIn": true,
"hasPasswordSet": true,
"recipient": {
"identity": "jane.doe@example.com",
"type": "email"
}
}
],
"timestamp": "2025-04-15T03:40:08.823Z",
"validationErrors": [
"text"
],
"nonFieldErrors": [
"text"
],
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"errorCode": "text",
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1
}
Jane
Doe
true
PATCH /v2/users/{idOrEntityId} HTTP/1.1
Host: api.badgr.io
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"firstName": "Jane",
"lastName": "Doe",
"marketingOptIn": true
}
OK
{
"status": {
"success": true,
"description": "ok"
},
"result": [
{
"id": "5f16c84d1ff787222b6c4d15",
"entityType": "BadgeUser",
"entityId": "Hey7J-GRSJeu6FNnHQwNyw",
"firstName": "Jane",
"lastName": "Doe",
"emails": [
{
"email": "Jane.Doe@example.com",
"verified": true,
"primary": true,
"caseVariants": [
"text"
]
}
],
"url": [
"https://example.com"
],
"telephone": [
"text"
],
"badgrDomain": "badgrsupportgroup.badgr.com",
"agreedTermsVersion": 4,
"hasAgreedToLatestTermsVersion": true,
"marketingOptIn": true,
"hasPasswordSet": true,
"recipient": {
"identity": "jane.doe@example.com",
"type": "email"
}
}
],
"timestamp": "2025-04-15T03:40:08.823Z",
"validationErrors": [
"text"
],
"nonFieldErrors": [
"text"
],
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"errorCode": "text",
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1
}
Jane
Doe
true
PUT /v2/users/self HTTP/1.1
Host: api.badgr.io
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"firstName": "Jane",
"lastName": "Doe",
"marketingOptIn": true
}
OK
{
"status": {
"success": true,
"description": "ok"
},
"result": [
{
"id": "5f16c84d1ff787222b6c4d15",
"entityType": "BadgeUser",
"entityId": "Hey7J-GRSJeu6FNnHQwNyw",
"firstName": "Jane",
"lastName": "Doe",
"emails": [
{
"email": "Jane.Doe@example.com",
"verified": true,
"primary": true,
"caseVariants": [
"text"
]
}
],
"url": [
"https://example.com"
],
"telephone": [
"text"
],
"badgrDomain": "badgrsupportgroup.badgr.com",
"agreedTermsVersion": 4,
"hasAgreedToLatestTermsVersion": true,
"marketingOptIn": true,
"hasPasswordSet": true,
"recipient": {
"identity": "jane.doe@example.com",
"type": "email"
}
}
],
"timestamp": "2025-04-15T03:40:08.823Z",
"validationErrors": [
"text"
],
"nonFieldErrors": [
"text"
],
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"errorCode": "text",
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1
}
Jane
Doe
true
PATCH /v2/users/self HTTP/1.1
Host: api.badgr.io
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"firstName": "Jane",
"lastName": "Doe",
"marketingOptIn": true
}
OK
{
"status": {
"success": true,
"description": "ok"
},
"result": [
{
"id": "5f16c84d1ff787222b6c4d15",
"entityType": "BadgeUser",
"entityId": "Hey7J-GRSJeu6FNnHQwNyw",
"firstName": "Jane",
"lastName": "Doe",
"emails": [
{
"email": "Jane.Doe@example.com",
"verified": true,
"primary": true,
"caseVariants": [
"text"
]
}
],
"url": [
"https://example.com"
],
"telephone": [
"text"
],
"badgrDomain": "badgrsupportgroup.badgr.com",
"agreedTermsVersion": 4,
"hasAgreedToLatestTermsVersion": true,
"marketingOptIn": true,
"hasPasswordSet": true,
"recipient": {
"identity": "jane.doe@example.com",
"type": "email"
}
}
],
"timestamp": "2025-04-15T03:40:08.823Z",
"validationErrors": [
"text"
],
"nonFieldErrors": [
"text"
],
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"errorCode": "text",
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1
}