---
title: "Ingest Third Party Tokens"
method: POST
path: "/campaigns/{campaignId}/thirdPartyTokens"
tags: ["Campaigns"]
---

# Ingest Third Party Tokens

`POST /campaigns/{campaignId}/thirdPartyTokens`

This method allows the calling application to submit a list of Tokens that will be issued against a particular Campaign.

## Path parameters

- `campaignId` string, int64, required

## Headers

- `X-EES-AUTH-CLIENT-ID` string, string, required
- `X-EES-AUTH-HASH` string, string, required
- `Accept-Encoding` '' | 'gzip' | 'deflate' | 'gzip,deflate'
- `X-EES-TRANSACTION-ID` string, string

## Request body

- object
  - `tokens` string[], required

## Response `201`

Successful Response with all Third Party Tokens ingested

- ThirdPartyTokensResponseEntity
  - `successful` object
    - `total` integer — The total number of Tokens successfully ingested.
    - `results` string[] — A list of Tokens that were successfully ingested.
  - `failed` object
    - `total` integer — The total number of Tokens that were not ingested.
    - `results` object[] — A list of errors for Tokens that were not ingested.
      - `errorCode` string — The error code associated with the failure.
      - `errorMessage` string — A message explaining the failure which will include the value of the token that failed.

## Other responses

- `207` — Partial Success Response with some Third Party Tokens ingested
- `400` — All Tokens failed to be ingested due to errors. Please note that this response means no Tokens were ingested, even if the number of failed results is less than the total submitted.
- `401` — Unauthorized.
- `403` — Forbidden.
- `405` — Method Not Allowed.
- `429` — Too Many Requests
- `500` — Server Error
- `501` — Not Implemented
- `502` — Bad Gateway
- `503` — Service Unavailable
- `504` — Gateway Timeout

---

[API](https://skmtc.net/eagleeye/apis/wallet-api.md) · [All operations](https://skmtc.net/eagleeye/apis/wallet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeye/wallet-api/revisions/90a122bb14cc/schema)
