Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kard attributions API

The attributions API from Kard — 1 operation(s) for attributions.

Kard attributions API is one of 16 APIs that Kard publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include attributions. The published artifact set on APIs.io includes an OpenAPI specification, authentication docs, and an AsyncAPI specification.

This API exposes 1 operation across 1 path, and defines 13 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 2 base URLs: https://rewards-api.getkard.com, https://test-rewards-api.getkard.com.

1 operations 1 paths 13 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://rewards-api.getkard.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Kard attributions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (OAuthScheme).

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

attributions 1
POST
/issuers/{organizationId}/attributions
Create Attribution Events
create-attribution-events 3 params body → 200400401500

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are type_attributions:Attributes (5 properties), type_attributions:CreateAttributesRequest (2 properties), type_commons:RequestValidationErrorResponse (1 property), type_commons:UnauthorizedErrorBody (1 property). Each schema is shown below with its type and property counts.

type_attributions:Subtype
string
The type of attribution event.
type_attributions:Medium
string
Where the attribution event is taking place in your rewards experience.
type_attributions:Attributes
object
5 properties 4 required
type_attributions:UserId
string
The referring partner user ID associated with the attribution event.
type_attributions:CreateAttributesRequest
object
2 properties 2 required
type_attributions:TypeId
string
The ID in Kard’s system associated with what the attribution event is on. If type is OFFER, typeId should be the associated offer ID in Kard’s system.
type_commons:RequestValidationErrorResponse
object
1 property 1 required
type_attributions:Type
string
What the attribution event is on.
type_commons:UnauthorizedErrorBody
object
1 property 1 required
type_attributions:CreateAttributionRequestBody
object
1 property 1 required
type_attributions:OrganizationId
string
Your organization ID, provided by Kard.
type_commons:InvalidRequestUnion
type_attributions:ObjectType
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kard-attributions-api-openapi.yml Raw ↑

Other APIs Kard publishes across the network.

Kard Files API
Kard notifications > Notifications API
Kard notifications > Subscriptions API
Kard Organizations API
Kard Organizations > Children API
Kard Organizations > ContentStrategies API
Kard Organizations > Placements API
Kard Ping API
Kard rewards API
Kard transactions API
Kard users API
Kard users > attributions API