Skip to main content
POST
/
v1
/
lists
/
{id}
/
entries
Add an entry
curl --request POST \
  --url https://api.metal.ai/v1/lists/{id}/entries \
  --header 'Content-Type: application/json' \
  --header 'x-metal-api-key: <api-key>' \
  --header 'x-metal-client-id: <api-key>' \
  --data '
{
  "resourceId": "<string>",
  "resourceType": "company"
}
'
{
  "data": {
    "id": "665f1c2a9b1e4a0012a3b4c5",
    "resourceId": "<string>",
    "resourceType": "company"
  }
}

Authorizations

x-metal-client-id
string
header
required

The Client ID of your API key.

x-metal-api-key
string
header
required

The secret value of your API key.

Path Parameters

id
string
required

The list id.

Body

application/json
resourceId
string

The id of the resource to add (for example, a company id).

resourceType
string

The type of the resource, e.g. "company".

Example:

"company"

Response

The created entry.

data
object