LogoLogo
WebsiteLoginStatus
API Reference
API Reference
  • Introduction
  • Introduction to GraphQL
    • What is GraphQL?
      • GraphQL Schema
      • Example Using GraphQL
    • Authentication
    • Queries
      • Example Query
    • Mutations
      • Example Mutation
    • Variables
    • Fields
  • Develop With inabit API
    • Getting Started
      • Authentication
      • inabit Postman Collection
    • Organizations
      • Organization Info
      • Organization ID
      • Organization Users
      • Organization Contacts
      • Organization Transactions
    • Wallets
      • Wallets Info
      • Create inabit Wallet
      • Edit Wallet Name
      • Generate Deposit Address
      • Fetch Deposit Address
      • Save Address to Whitelist
      • Archive / Unarchive Wallet
      • Disconnect Exchange Wallet
    • Contacts
      • Contact Info
      • Create New Contact
      • Update Contact
    • Transactions
      • Transaction Info
      • Create Transfer Request
      • Create Off Ramp Request
      • Create On Ramp Request
      • Create Exchange Swap
      • Create inabit Wallet Swap
      • Edit Transaction Note
    • Utilities
      • Fetch Financial Asset
      • Fetch Blockchains
  • Remote Approver App
    • Setup and Configuration
    • API Wallets Generation
    • Automate Signing Transactions
    • Webhooks
      • Notification Types
  • WHAT WE SUPPORT
    • Assets & Tokens
    • Blockchains
    • Exchanges
      • Binance
      • Kucoin
      • Kraken
  • Changelog
Powered by GitBook
On this page
  • Fetch all of a Contact's Information
  • Headers
  • Body (ContactWhereUniqueInput object)
  • Response
  • Try it out!

Was this helpful?

Export as PDF
  1. Develop With inabit API
  2. Contacts

Contact Info

Fetch a specific contact's information in an inabit organization.

Fetch all of a Contact's Information

Fetch a specific contact's data in an inabit organization, according to the contact's ID.

Using this endpoint users can search specific contacts using their ID (the call must be per contact ID).

The response contains the contact’s information including: contact name, ID, address, blockchain, blockchain code and more.

query Contact($where: ContactWhereUniqueInput!) {
  contact(where: $where) {
    id
    contactCryptoAccounts {
      address
      blockchainProtocol {
        code
      }
      lastTransferRequestDate
      name
    }
    name
  }
}

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body (ContactWhereUniqueInput object)

Name
Type
Description

id*

String

Contact ID

Example body:

{
  "where": {
    "id": "cljzumgy0000gk603zl8u9xx2"
  }
}

Response

Return values:

Name
Type
Description

id

String

Contact ID

address (contactCryptoAccounts)

String

Blockchain Address (per contactCryptoAccount given)

code (blockchainProtocol)

String

Blockchain Code

lastTransferRequestDate

Datetime

Last Transfer Request Date

name (contactCryptoAccounts)

String

Name (of the contact's contactCryptoAccount)

name

String

Contact Name

{
	"data": {
		"contact": {
			"id": "cljzumgy0000gk603zl8u9xx1",
			"contactCryptoAccounts": [
				{
					"address": "0xbd78e1bdd7fca39ac7a4c8cdeb89fc2bfcc57a0a",
					"blockchainProtocol": {
						"code": "account"
					},
					"lastTransferRequestDate": null,
					"name": "Credit Card Account"
				}
			],
			"name": "Georgia Hermann"
		}
	}
}

Try it out!

PreviousContactsNextCreate New Contact

Was this helpful?

Apollo Studio