post
https://in.staging.decentro.tech/v2/bytes/alternate-data/social-intelligence
Important NotePlease use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.
API Endpoints
| Environment | Host |
|---|---|
| Staging | in.staging.decentro.tech |
| Production | in.decentro.tech |
Response Description
| Key | Data Type | Description |
|---|---|---|
decentroTxnId | String | Transaction identifier generated by Decentro for tracking the request. |
status | String | Overall request status, such as SUCCESS or FAILURE. |
responseCode | String | Decentro response code identifying the request outcome. |
responseKey | String | Machine-readable key identifying the response outcome. |
message | String | Description of the response outcome. |
data | Object | Social intelligence details returned by the API. |
data.socialProfilesFound | String | Profile count reported by the data source, returned as a string. |
data.accountDetails | Object | Account lookup results grouped by platform name. |
data.accountDetails.<platform> | Object | Details returned for a platform using lowercase keys, such as flipkart or whatsapp. |
data.accountDetails.<platform>.userExists | String | Platform lookup result, such as YES or NO. Some platform objects may be empty. |
data.accountDetails.whatsapp.status | String | WhatsApp status value returned in the response; may be empty. |
data.digitalAge | Object | Reported digital age information. |
data.digitalAge.year | String | Year reported in the digital age information. |
data.digitalAge.month | String | Month reported in the digital age information. |
data.digitalAge.age | String | Reported digital age range. |
data.phoneMeta | Object | Reported telecom information for the mobile number. |
data.phoneMeta.operator | String | Reported telecom operator. |
data.phoneMeta.isPostpaid | String | Reported postpaid classification; UNKNOWN was observed in staging. |
data.phoneMeta.circle | String | Reported telecom service circle. |
Response Key Mapping
| Response Key | Description |
|---|---|
success_social_data_fetched | Request processed successfully. |
error_invalid_mobile | Mobile number does not match the required format. |
error_consent_false | Consent is false. |
error_empty_consent | Consent is omitted or null. |
error_invalid_consent_type | Consent is not a boolean. |
error_short_purpose_length | Purpose has fewer than 5 characters. |
error_empty_purpose | Purpose is omitted or empty. |
error_invalid_purpose | Purpose is not a string. |
error_long_purpose_length | Purpose exceeds 50 characters. |
error_unsanitized_values | Input contains rejected special characters. |
error_empty_mobile | Mobile is omitted. |
