Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Ingestion API keys

Create an ingestion API key

POST/ingestion-api-keys

Creates a new ingestion API key for a source reader. Returns the key and its secret (only shown once).

Authorizations

  • Authorizationstringheaderrequired

    API key passed as a Bearer token in the Authorization header.

Request

curl --request POST \
  --url https://api.artie.com/ingestion-api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "sourceReaderUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'

Body

application/json

  • namestring
  • sourceReaderUUIDstring<uuid>required

Responses

200OKapplication/json

  • ingestionAPIKeyobjectrequired
    Show child attributes
    • companyUUIDstring<uuid>required
    • createdAtstring<date-time>required
    • expiresAtstring<date-time> | null
    • last4stringrequired
    • namestringrequired
    • sourceReaderUUIDstring<uuid>required
    • updatedAtstring<date-time>required
    • uuidstring<uuid>required
  • secretstringrequired

400Bad Request

500Internal Server Error

200 OK
{
  "ingestionAPIKey": {
    "companyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "expiresAt": "2023-11-07T05:31:56Z",
    "last4": "<string>",
    "name": "<string>",
    "sourceReaderUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "updatedAt": "2023-11-07T05:31:56Z",
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "secret": "<string>"
}

Was this page helpful?