Generating Client ID
To ensure the authenticity of interactions between your app and Truecaller, you need to generate a client ID from the Truecaller developer portal by following the steps below:
Go to https://sdk-console-noneu.truecaller.com/login and register your account.
Once registered, log in to your account and click on the "create project” button.
Enter the project name and select the business category from the dropdown menu. This will create a new project.
On the project screen, click the “add credential” button and select the platform as Android from the dropdown menu.
On the credential section, enter the package name and the SHA1.
![](https://docs.truecaller.com/~gitbook/image?url=https%3A%2F%2F3916632365-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJzE3kcOEptTlnx7Hgg25%252Fuploads%252FNSNf4oRlLaQVErDSH90S%252FA.png%3Falt%3Dmedia%26token%3D2c794ccc-b34c-41a8-a994-8dda65fef417&width=768&dpr=4&quality=100&sign=32226474&sv=1)
Your package name corresponds to the applicationId in your app level
build.gradle
file.
You can get to know the SHA1 for your different app builds by following these steps :
Open your project in android studio
Open terminal
Type command
./gradlew signingReport
Once done you should be able to see the SHA1 fingerprint of your different build configurations [ debug /release ] in the terminal window within the android studio.
Once you input your app details and create the app, you will be able to see a unique "ClientID" for your app which you need to include in your project to authorise all verification requests.
Last updated