For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HomeGuidesAPI ReferenceChangelog
HomeGuidesAPI ReferenceChangelog
  • Quotes API
  • Products API
      • GETCampaigns
  • Policies API
  • Card Token API
  • Users API
LogoLogo
Products APICampaign

Campaigns

GET
https://api-staging.nibtravelinsurance.com/products/v1/:brandCode/campaigns/:campaignIdOrCode
GET
/products/v1/:brandCode/campaigns/:campaignIdOrCode
$curl https://api-staging.nibtravelinsurance.com/products/v1/nibau/campaigns/campaignIdOrCode \
> -H "Authorization: Bearer <token>"
200World Nomads
1{
2 "campaignId": 8,
3 "code": "NOMADS10"
4}
Returns information for a campaign code
Was this page helpful?
Previous

Feature switches

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

brandCodeenumRequired
Brand code
Allowed values:
campaignIdOrCodestringRequired
A campaign ID or code

Query parameters

effectiveAtstringOptional

Response

Success
campaignIdlongDefaults to 0
codestring