Browse the extensions reference

Create Issuer

post/extensions/roboinvestor/{graph_id}/operations/create-issuer

Part of RoboInvestor.

Add a company the fund holds or follows that keeps its books elsewhere. The issuer is an entity in this graph: securities attach to it with create-security, and its reports with ingest-report. A company that shares a report in from its own graph gets its entity from the share, so it needs no issuer created here.

Idempotency: supply an Idempotency-Key header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Path parameters

NameTypeDescription
graph_idrequiredstringGraph Id

Constraints: matches ^(kg[a-f0-9]{16,}(?:_[a-zA-Z0-9]{1,20})?|sec(?:_[a-zA-Z0-9]{1,20})?|library)$

Header parameters

NameTypeDescription
Idempotency-KeyoptionalstringIdempotency-Key

Request body

Required, application/json.

FieldTypeDescription
namerequiredstring

The company's name.

Constraints: at least 1 character

legal_nameoptionalstring

Its legal name, when different.

leioptionalstring

Legal Entity Identifier, if it has one.

cikoptionalstring

SEC Central Index Key, if it has one.

tax_idoptionalstring

Tax identifier (an EIN in the United States).

entity_typeoptionalstring

Legal form, e.g. corporation, llc, partnership.

industryoptionalstring

Industry, as free text.

websiteoptionalstring

The company's website.

Example request

curl
curl -X POST "https://api.robosystems.ai/extensions/roboinvestor/{graph_id}/operations/create-issuer" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
  -H "Idempotency-Key: <Idempotency-Key>" \
  -H "Content-Type: application/json" \
  -d '{
  "legal_name": "Acme Company, Inc.",
  "name": "Acme Co",
  "tax_id": "12-3456789"
}'

Responses

200 Successful Response

FieldTypeDescription
operationrequiredstring

Kebab-case operation name

operationIdrequiredstring

op_-prefixed ULID for audit and SSE correlation

statusrequiredstring

Operation lifecycle state

One of: completed, pending, failed

resultoptionalIssuerResponse

Command-specific result payload

IssuerResponse fields
FieldTypeDescription
idrequiredstring

Entity ID; pass it to ingest-report.

namerequiredstring

The company's name.

legal_nameoptionalstring

Its legal name.

leioptionalstring

Legal Entity Identifier.

cikoptionalstring

SEC Central Index Key.

tax_idoptionalstring

Tax identifier.

entity_typeoptionalstring

Legal form.

atrequiredstring

ISO-8601 UTC timestamp

createdByoptionalstring

User ID that initiated the operation

idempotentReplayoptionalboolean

True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.

Default: false

StatusMeaning
400Invalid request
401Authentication required
403Access denied
404Resource not found
409Idempotency-Key conflict — key reused with different body
422Validation error
429Rate limit exceeded
500Internal server error