curl -X POST 'https://rest-api.argosidentity.com/v3/submission/tokens' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Content-Type: text/plain' \
  -d '{
  "tokenId": [
    "user001a",
    "api.key.01", 
    "token-123-abc",
    "session_data_01"
  ]
}'
{
  "success": true,
  "message": "All tokens are now in the pool",
  "summary": {
    "totalSubmitted": 4,
    "processed": 4,
    "failed": 0
  }
}
Securely register tokens. You can register up to 5,000 tokens per project, with a maximum of 100 tokens per request.
You can transmit data securely through private mode and encryption security features.

Basic Information

method
string
required
POST

Security Settings

Encryption Option

When the Secure Data Transmission option is enabled, requests and responses are encrypted with AES-256.
  • Encryption method: AES-256
  • Coverage: Request and response data
  • Compatibility: Same encryption/decryption method as POST/submission, PATCH/submission, GET/submission

Authentication

x-api-key
string
required
Set your project API key.
Content-Type
string
required
Set the MIME type of the request body.
When using Content-Type: application/json for POST requests, if the request fails, use text/plain instead.
x-api-key: {{YOUR_API_KEY}}
Content-Type: text/plain

Request Parameters

Request Body

tokenId
Array<String>
required
Array of token IDs to add (maximum 100 per request)Token ID format constraints:
  • Length: 8 Byte ~ 64 Byte
  • Allowed characters: Letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), periods (.)
  • Restrictions: No spaces, tabs, or newline characters
  • Start/End: Must start and end with letters or numbers only
curl -X POST 'https://rest-api.argosidentity.com/v3/submission/tokens' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Content-Type: text/plain' \
  -d '{
  "tokenId": [
    "user001a",
    "api.key.01", 
    "token-123-abc",
    "session_data_01"
  ]
}'

Response

Success Response (200)

success
Boolean
Operation success status
message
String
Operation result message
summary
Object
Summary information
details
Object
Detailed information (included only when failures occur)
{
  "success": true,
  "message": "All tokens are now in the pool",
  "summary": {
    "totalSubmitted": 4,
    "processed": 4,
    "failed": 0
  }
}

Error Response (400/500)

errorCode
String
required
Error code
errorMessage
String
required
Error message
errorDetails
Object
Error details (optional)
{
  "errorCode": "invalid_token_id_format",
  "errorMessage": "One or more token IDs do not meet the required format specifications.",
  "errorDetails": {
    "invalidTokens": [
      {
        "tokenId": "short01",
        "errorCode": "invalid_token_id_length",
        "errorMessage": "Token ID length must be between 8 and 64 characters. Please adjust the token length."
      }
    ]
  }
}

Token Policy

Limitations

Token Pool: Maximum 5,000 per PID (error occurs when exceeded) Per Request: Maximum 100 token IDs
Important: An error will occur when the token pool exceeds 5,000. If the number of tokens is approaching the limit, please use the DELETE Token Deletion API to clean up unnecessary tokens in advance.

Partial Handling

POST requests are processed partially for token IDs. Token IDs that already exist in the pool will be overwritten, and no separate duplication error is returned.
Example:
  • Token IDs existing in pool: tokenA, tokenB, tokenC
  • POST request: tokenA, tokenC, tokenD
  • Pool after request completion: tokenA, tokenB, tokenC, tokenD

Error Codes

Common Errors

Error CodeHTTP StatusDescription
invalid_payload400Missing request payload or format error
invalid_path400Unsupported HTTP method
invalid_project400Missing project ID or invalid API key
internal_server_error500Internal server error
Error CodeHTTP StatusDescription
invalid_token_id400Missing token ID, empty value, or not an array
invalid_token_id_format400Token ID format rule violation
invalid_token_id_length400Token ID length outside 8-64 character range
request_token_limit_exceeded400Request token count limit exceeded (100)
token_limit_exceeded400Project token total count limit exceeded (5,000)
You can securely transmit sensitive token data through encryption settings. We recommend enabling the encryption option in production environments.
Content-Type Notice: For POST requests, when using Content-Type: application/json causes an error, set the header to text/plain instead.