For AI agents: a documentation index is available at /llms.txt. A markdown version of this page is available at /guide/api/endpoints/defects/defects-create.md.

APIEndpointsDefects

Create a defect

Decrypted Request Payload: A defectno is generated automatically per project (DF<shortname<n).

POST/api/v1/partner/defects/create

#Authorizations

X-API-KEYstringrequired

Developer API key (starts with osk_)

Example: osk_1234567890abcdef1234567890abcdef

#Headers

Acceptstringrequired

Content type of response

Example: application/json

Content-Typestringrequired

Content type of request

Example: application/json

#Request body

Encrypted request data (AES-256-CBC). The decrypted payload fields are described above.

encrypted_datastringrequired

Base64-encoded encrypted JSON data. Encryption: AES-256-CBC with 16-byte IV prepended. Key: SHA256 hash of secret key.

#Responses

201Create a defect — success
400Bad request — validation failed or invalid reference
401Unauthorized — invalid or missing API key
404Resource not found
500Server error