Use the get-by-address
method to request client’s data for a specified EXT_USER_ID
identifier.
EXT_USER_ID
identifier is assigned at client’s creation. To update or remove a client, you need the client’s EXT_USER_ID
identifier. URL
To use the method, send a GET request to https://app.edna.io/api/subscribers/get-by-address.
Request parameters
Parameter | Type | Required | Description |
address | string | yes | EXT_USER_ID value assigned to the client at creation. |
type | string | yes | EXT_USER_ID |
Request example
{ "address": "id87552", "type": "EXT_USER_ID" }
Response parameters
Parameter | Type | Description |
id | number | Internal client identifier in edna Pulse |
blacklisted | boolean | Determines if the client receives broadcasts: true — the client is blacklisted, false — the client receives broadcasts |
addresses | object | Contains client addresses and identifiers |
addresses.id | string | Address identifier |
addresses.address | string | Client’s address, such as a phone number or id |
addresses.type | string | Type of client address (EDNA_ID, PHONE, EMAIL, UTM, COOKIE_ID, INSTAGRAM_ID, FACEBOOK_ID, TELEGRAM_ID, GOOGLE_ID, APPLE_ID, YANDEX_ID, DEVICE_APP_ID, EXT_USER_ID) |
addresses.info | object | Service info about the address |
addresses.info. @ type | string | Type of client identifier: – PhoneInfo — phone number – DeviceAppInfo — push-device identifier, DEVICE_APP_ID These objects contain different sets of parameters. See reply example below. |
parameterValues | object | Array of parameters |
parameterValues.name | string | Parameter name |
parameterValues.valueType | string | Parameter data type (STRING, ENUM, DATE, NUMBER, BOOLEAN) |
parameterValues.value | string | Parameter value |
tagValues | object | Array of tags |
tagValues.name | string | Tag name |
Reply sample
{ "id": 63979781, "blacklisted": false, "addresses": [ { "id": "2f1c95bd-897d-4dec-a45b-f13b0f16c558", "address": "10000000000", "type": "PHONE" "info": { "@type": "PhoneInfo", "phoneStatus": "VALID", "phonePrefix": "7900600", "operatorUnitRegion": { "id": 135, "operatorUnitId": 40, "name": "New York", "code": "usa-sprint_new_york", "timeZone": "NA/Eastern_Time_Zone" } } }, { "id": "9b2aff72-f34f-4319-ae4b-bcd854b8ac22", "address": "id87552" "type": "EXT_USER_ID" }, { "id": "d70a07cf-6e29-492a-bedf-da2fe3800b71", "address": "gcmv9v9ewctw12ekdy6nbit2g82gfhit1w", "type": "DEVICE_APP_ID" "info": { "@type": "DeviceAppInfo", "deviceName": "android-build", "systemName": "Google Pixel 4a", "deviceUID": "6e083b67005411b28e736bbcda15d0a2b5d8bb08", "appPackageName": "com.edna.android.push.demo_x", "pushAppType": "ANDROID" } } ], "parameterValues": [], "tagValues": [ { "name": "new_users" } ] }