Docs pages

Add a specimen

POST /api/v1/filings/{id}/specimen

Adds or replaces the photo or screenshot showing the mark in use, until the attorney has filed. If the attorney asked for a change, this sends the filing back for review.

Needs the token for this application or filing.

In the MCP server this is add_specimen.

Example

curl -X POST https://api.joinopenfile.com/v1/filings/$ID/specimen \
  -H "Authorization: Bearer $TOKEN" \
  -H "content-type: application/json" \
  -d '{
  "content_base64": "iVBORw0KGgo...",
  "content_type": "image/png",
  "name": "label.png"
}'

Parameters

NameTypeRequiredDescription
idstringYesFiling id.

Body

NameTypeRequiredDescription
content_base64stringYesThe image, base64 encoded. 3 MB at most.
content_typeimage/png, image/jpeg, image/webpYesThe image type.
namestringNoThe file name.

Response

200

NameTypeRequiredDescription
idstringNoFiling id.
objectfilingNoAlways filing.
statusreceived, changes, approved, filed, declinedNoWhere the filing is.
status_labelstringNoThe status in plain words.
notestringNoFrom the attorney, when the status is changes or declined.
markstringNoThe mark.
ownerstringNoThe owner.
basisuse, ituNoFiling basis.
classesarray of objectNoThe classes filed.
has_specimenbooleanNoTrue once a specimen is attached.
signed_bystringNoWho signed.
paidbooleanNoTrue once payment is recorded.
serialstringNoUSPTO serial number, once filed.
filed_atstringNoWhen it was filed.
uspto_urlstringNoThe USPTO's record, once filed.
status_urlstringNoThe customer's status link. It contains the token.
created_atstringNoWhen it was signed.

Errors

StatusWhen
400Invalid input.
404Not found, or the token is wrong.
409Not allowed in this state.
429Too many requests.

The body is the error shape.