Skip to main content
POST
/
v1
/
industries
Create a industry
curl --request POST \
  --url https://api.metal.ai/v1/industries \
  --header 'Content-Type: application/json' \
  --header 'x-metal-api-key: <api-key>' \
  --header 'x-metal-client-id: <api-key>' \
  --data '
{
  "name": "<string>",
  "externalReference": {
    "source": "<string>",
    "id": "<string>"
  }
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "externalReference": {
      "source": "<string>",
      "id": "<string>"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

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.

Body

application/json
name
string
required
externalReference
object

A structured reference to a record in an external source system.

Response

Creates a new industry.

data
object