admin
/api/v1/admin/participant/decrypt
POST
/api/v1/admin/participant/decrypt
const url = 'https://dpg.example.com/api/v1/admin/participant/decrypt';const options = { method: 'POST', headers: { 'x-acting-org-id': 'example', 'x-api-key': '<x-api-key>', 'Content-Type': 'application/json' }, body: '{"item_ids":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"],"user_id":"example","fields":["example"],"contact":true,"include_locations":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dpg.example.com/api/v1/admin/participant/decrypt \ --header 'Content-Type: application/json' \ --header 'x-acting-org-id: example' \ --header 'x-api-key: <x-api-key>' \ --data '{ "item_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "user_id": "example", "fields": [ "example" ], "contact": true, "include_locations": true }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”x-acting-org-id
required
string
Organization this request acts on behalf of. Required for admin/aggregator operations.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
item_ids
Array<string>
user_id
string
fields
Array<string>
contact
Any of:
boolean
Array<string>
include_locations
boolean
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
profiles
required
In user_id mode, ordered newest first by created_at (ties broken by item_id), matching GET/POST /admin/participant. In item_ids mode the order follows the database, not the requested ids.
Array<object>
object
item_id
required
string format: uuid
item_network
required
string
item_domain
required
string
item_type
required
string
item_state
required
object
key
additional properties
contact
object
name
object
value
required
string
source
required
string
email
object
value
required
string
source
required
string
phone
object
value
required
string
source
required
string
locations
Array<object>
object
lat
required
number
lng
required
number
label
string
created_at
required
string format: date-time
updated_at
required
string format: date-time
skipped
required
Array<string>
Example
{ "profiles": [ { "contact": { "name": { "source": "item" }, "email": { "source": "item" }, "phone": { "source": "item" } } } ]}
