# postback-api-v2

This spec is for Postback API v2 (records.in.treasuredata.com)

Version: 2.0.0

## Servers

```
https://{region}.records.in.treasuredata.com
```

Variables:
- `region`: TD region host prefix (e.g. us01, eu01, ap02)
  Default: "us01"

## Security

### XTDWriteKey

Type: apiKey
In: header
Name: X-TD-Write-Key

### TD1Authorization

Format: `TD1 <APIKEY>`

Type: apiKey
In: header
Name: Authorization

## Download OpenAPI description

 - [postback-api-v2](https://docs.treasure.ai/_bundle/apis/postback-v2/openapi.yaml)

 - [POST /postback/v3/event/{database_name}/{table_name}](https://docs.treasure.ai/apis/postback-v2/openapi/other/postpostbackapiv2.md): Send data in POST payload to the v2 Postback endpoint. Authentication is **header-only**. Provide one of: 1. `Authorization: TD1 <APIKEY>` 2. `X-TD-Write-Key: <APIKEY>` URL-path keys (`?td_write_key=
