Agent Self-Service SignupCreate an agent self-service organizationpost

Create an agent self-service organization

Creates a third-party agent organization, service-account API key, and billing account. Use credentialDeliveryPublicKey for encrypted API-key delivery.

curl -X POST "https://public-api.textmine.com/v3/third-party-agents/signup/self-service" \
  -H "Content-Type: application/json" \
  -d '{
  "organizationName": "John Doe",
  "agentName": "John Doe",
  "contactEmail": "user@example.com",
  "acceptedTerms": true,
  "acceptedPrivacy": true,
  "credentialDeliveryPublicKey": "example_string",
  "credentialDeliveryAlgorithm": "RSA-OAEP-256"
}'
{
  "organizationId": 123,
  "organizationName": "John Doe",
  "serviceAccountUserId": 123,
  "apiKeyId": 123,
  "contactEmail": "user@example.com",
  "apiKey": "null",
  "apiKeyPrefix": "example_string",
  "credentialRef": "example_string",
  "encryptedApiKey": "example_string",
  "encryptedApiKeyAlgorithm": "example_string",
  "encryptedApiKeyEncoding": "example_string",
  "billingStatus": "example_string",
  "freeCreditsPerPeriod": 42,
  "currency": "example_string",
  "gettingStarted": {},
  "setupChecklist": [
    {
      "key": "example_string",
      "label": "example_string",
      "description": "example_string",
      "required": true,
      "complete": true
    }
  ]
}
POST
/v3/third-party-agents/signup/self-service
POST
Base URLstring

Target server for requests. Edit to use your own host.

Content-Typestring
Required

The media type of the request body

Options: application/json
credentialDeliveryPublicKeystring

RSA public key controlled by the trusted agent runtime. Accepts PEM or base64 X.509 SubjectPublicKeyInfo.

Request Preview
Response

Response will appear here after sending the request

Body

application/json
credentialDeliveryPublicKeystring

RSA public key controlled by the trusted agent runtime. Accepts PEM or base64 X.509 SubjectPublicKeyInfo.

Responses

organizationIdinteger
organizationNamestring
serviceAccountUserIdinteger
apiKeyIdinteger
contactEmailstring
apiKeystring,null

Legacy plaintext delivery. Null when encrypted delivery is requested.

apiKeyPrefixstring
credentialRefstring
encryptedApiKeystring
encryptedApiKeyAlgorithmstring
encryptedApiKeyEncodingstring
billingStatusstring
freeCreditsPerPeriodinteger
currencystring
gettingStartedobject
setupChecklistarray