Skip to main content

Request a CTA

A CTA is requested through GraphQL. The CTA may be null meaning that there is no CTA that applies to the user.

Inputs

Content Space

A partner can have one or more content spaces for CTAs. A content space allows for different types of CTAs to be shown throughout your site. For instance, you may want credit card offer CTAs shown in one place and loan offer CTAs shown in another. Contact NAV to configure these content spaces.

User ID

Your unique identifier for the current user. See Nav User Account.

Example

query GetCTA($userID: String!, $contentSpace: String) {
cta(userID: $userID, contentSpace: $contentSpace) {
title
type
body
imageURL
imageAltText
linkURL
linkText
type
additionalDetails {
__typename
... on LeadQualificationReferralPartnerOfferDetails {
cost
fundingAmount
fundingSpeed
}
}
}
}

Variables:

{
"userID": "{USER_ID}",
"contentSpace": "{CONTENT_SPACE}"
}

Example Response:

{
"data": {
"cta": {
"additionalDetails": {
"__typename": "LeadQualificationReferralPartnerOfferDetails",
"cost": "15% - 78% APR",
"fundingAmount": "$6,000 - $200,000",
"fundingSpeed": "As fast as 1 day"
},
"body": "Nav has reviewed your business financing options and based on your profile, we recommend a line of credit from BlueVine.",
"imageAltText": "Stacks of coins and dollar sign",
"imageURL": "https://design-assets.nav.com/logos/bluevine-nav-lockup.svg",
"linkText": "Get started",
"linkURL": "https://www.bluevine.com/nav/?utm_source=nav-0000539&utm_medium=partner_marketplace&subid=",
"title": "Line of credit by BlueVine",
"type": "LEAD_QUALIFICATION_REFERRAL_PARTNER_OFFER"
}
}
}