Social Intelligence

🙌

Important Note

Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.

API Endpoints

EnvironmentHost
Stagingin.staging.decentro.tech
Productionin.decentro.tech

Response Description

KeyData TypeDescription
decentroTxnIdStringTransaction identifier generated by Decentro for tracking the request.
statusStringOverall request status, such as SUCCESS or FAILURE.
responseCodeStringDecentro response code identifying the request outcome.
responseKeyStringMachine-readable key identifying the response outcome.
messageStringDescription of the response outcome.
dataObjectSocial intelligence details returned by the API.
data.socialProfilesFoundStringProfile count reported by the data source, returned as a string.
data.accountDetailsObjectAccount lookup results grouped by platform name.
data.accountDetails.<platform>ObjectDetails returned for a platform using lowercase keys, such as flipkart or whatsapp.
data.accountDetails.<platform>.userExistsStringPlatform lookup result, such as YES or NO. Some platform objects may be empty.
data.accountDetails.whatsapp.statusStringWhatsApp status value returned in the response; may be empty.
data.digitalAgeObjectReported digital age information.
data.digitalAge.yearStringYear reported in the digital age information.
data.digitalAge.monthStringMonth reported in the digital age information.
data.digitalAge.ageStringReported digital age range.
data.phoneMetaObjectReported telecom information for the mobile number.
data.phoneMeta.operatorStringReported telecom operator.
data.phoneMeta.isPostpaidStringReported postpaid classification; UNKNOWN was observed in staging.
data.phoneMeta.circleStringReported telecom service circle.

Response Key Mapping

Response KeyDescription
success_social_data_fetchedRequest processed successfully.
error_invalid_mobileMobile number does not match the required format.
error_consent_falseConsent is false.
error_empty_consentConsent is omitted or null.
error_invalid_consent_typeConsent is not a boolean.
error_short_purpose_lengthPurpose has fewer than 5 characters.
error_empty_purposePurpose is omitted or empty.
error_invalid_purposePurpose is not a string.
error_long_purpose_lengthPurpose exceeds 50 characters.
error_unsanitized_valuesInput contains rejected special characters.
error_empty_mobileMobile is omitted.
Body Params
string
required

Any unique ID assigned by you for this API request.

string
required

The purpose of taking consent from your customer. Mandatory as per regulation. Must contain 5 to 50 characters, inclusive.

string
required

Indian mobile number containing exactly 10 digits and starting with 6, 7, 8 or 9.

Headers
string
required

The client ID that will be provided to a specific client and environment. Please note, this may change based on the environment you are on.

string
required

The confidential credential provided by Decentro that is associated with the client_id

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json