Auditmark

Create notice

POST
/notices

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.auditmark.io/v1/notices" \  -H "Content-Type: application/json" \  -d '{    "title": "string",    "audience_type": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "title": "string",  "body": "string",  "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",  "link_url": "string",  "audience_type": "string",  "audience_role": "string",  "require_acknowledgement": true,  "status": "string",  "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",  "published_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "recipient_count": 0,  "acknowledged_count": 0}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}