IPInfo.io Authentication Guide

How to authenticate IPInfo for use with Tines

Daniel Stoeski avatar
Written by Daniel Stoeski
Updated this week

IPInfo refers to itself as the most reliable, accurate, and in-depth source of IP address data available anywhere. They process terabytes of data to produce their custom IP geolocation, company, carrier and IP type data sets.

First, get an IPInfo API token

  1. Login or sign up to IPinfo.io

  2. Click on "Token"

  3. Click "Copy to Clipboard"

Lastly, create an IPInfo credential in Tines

  1. Login to your Tines tenant

  2. Navigate to the team that will be using the API and click "Credential"

  3. Click "+ New Credential" and select "Text"

  4. Input the values for the IPInfo credential

    1. Name: ipinfo

    2. Description: Optional

    3. Value: API token

  5. Optional

    1. Domains: Ensure that this credential can only be used when making HTTP requests to specific domains

    2. Access: What other teams can also use the credential

  6. Click "Save"

For more on creating credentials in Tines, click here.

You can find a selection of IPInfo stories in the story library.

Using the credential in an action

The Payload for your IPInfo credential should be:

{
"token": "<<CREDENTIAL.ipinfo>>"
}

Here is an example IPInfo action you can copy and paste onto your storyboard in Tines:

{"standardLibVersion":"35","actionRuntimeVersion":"4","agents":[{"disabled":false,"name":"Lookup an IP in ipinfo.io","description":"Get Information on an IP address in ipinfo.io","options":"{\"url\":\"https://ipinfo.io/<<ip>>\",\"content_type\":\"json\",\"method\":\"get\",\"payload\":{\"token\":\"<<CREDENTIAL.ipinfo>>\"}}","position":{"x":825,"y":630},"type":"httpRequest","timeSavedUnit":"minutes","timeSavedValue":0,"monitorAllEvents":false,"monitorFailures":false,"monitorNoEventsEmitted":null,"recordType":null,"recordWriters":[],"form":null,"cardIconName":"httpRequest","createdFromTemplateGuid":"037793496700081da7547908c0074c25f5fff97261c58024bb17eda2e08336f0","createdFromTemplateVersion":1,"originStoryIdentifier":"cloud:aa47f8215c6f30a0dcdb2a36a9f4168e:d4c15df0f02ba4789095426607003199"}],"links":[],"diagramNotes":[]}
Did this answer your question?