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 Organization Contacts
  • Headers
  • Body (OrganizationWhereUniqueInput object)
  • Response
  • Try it out!

Was this helpful?

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

Organization Contacts

Retrieve all contacts in an organization, per organization ID.

Fetch Organization Contacts

By performing this query, you can retreive any/all organization's contacts. (per organization ID)

query Organization($where: OrganizationWhereUniqueInput!) {
  organization(where: $where) {
    contacts {
      id
      fullName
      email
      phone
    }
  }
}

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body (OrganizationWhereUniqueInput object)

Name
Type
Description

id*

string

Organization ID

Example body:

{
  "where": {
    "id": "orgId123"
  }
}

Response

Returned values:

Name
Type
Description

id

string

Contact ID

fullName

string

Contact full name

email

string

Contact email

phone

string

Contract phone

{
	"data": {
		"organization": {
			"contacts": [
				{
					"id": "cljzumgy0000gk603zl8u9xx1",
					"name": "Georgia Hermann"
				},
				{
					"id": "cljzumh0n0019k603fzeaperq",
					"name": "Eugene Labadie"
				},
				{
					"id": "cljzumh2i0029k6039m3nmqvz",
					"name": "Wesley Hermann"
				},
				{
					"id": "cljzumh3i002rk603cho1skcx",
					"name": "Erma Dach MD"
				}
			]
		}
	}
}

Try it out!

PreviousOrganization UsersNextOrganization Transactions

Was this helpful?

Apollo Studio