| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### **Compute Unit Value**: `10` (fixed)

name

string

required

The name of the target

**description**

string

Optional information about the target

**status**

string

enum

Defaults to active

Current status of the target

disconnectedactivefailed

Allowed:

`disconnected``active``failed`

**type**

string

enum

required

The type of target, indicating the communication protocol.

webhookwebsocket

Allowed:

`webhook``websocket`

**settings**

Webhook Settings | WebSocket Settings | Email Settings

required

Configuration settings specific to the target type.

**settings**Webhook Settings | WebSocket Settings | Email Settings

**max_buffer_count**

integer

10 to 10000

Defaults to 10000

Maximum number of events that can be buffered before delivery.

# ``201      Target created

# ``default      Unexpected error

* * *

ShellNodeRubyPHPPython

```

xxxxxxxxxx

curl --request POST \

--url https://svc.blockdaemon.com/streaming/v2/targets \

--header 'accept: application/json' \

--header 'authorization: Bearer ••••' \

--header 'content-type: application/json' \

--data '

{

"status": "active",

"type": "webhook",

"max_buffer_count": 10000

}

'
```

application/json

``201``default

* * *
