Skip to main content
POST
/
v1
/
cards
Create card
curl --request POST \
  --url https://api.usenaive.ai/v1/cards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "spending_limit_cents": 101,
  "provider": "<string>",
  "agent_id": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
name
string
required
spending_limit_cents
integer
required
Required range: x >= 100
provider
string
agent_id
string

Response

Created.

The response is of type object.