Skip to content
Dashboard
Theme
Theme

Add an IT contact

POST /v1/organizations/{org}/it_contacts: Add an IT contact.

View Markdown

POST /v1/organizations/{org}/it_contacts

Scope
organizations:write
Auth
Secret key (sk_…)
Since
1.0
  • org string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

  • Idempotency-Key string

    Honoured for 24 h; a replay returns the original response.

    min length 1 · max length 255

  • email string (email) Required

  • role string Required

    one of owner, viewer

  • notify array of string

Errors share one shape; see the error code catalogue.

curl -X POST \
"https://api.ohauthcat.com/v1/organizations/org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5/it_contacts" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "jane@acme.com",
"role": "owner"
}'
Response 201
{
"id": "itc_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"object": "it_contact",
"email": "jane@acme.com",
"role": "owner",
"notify": [
"example_notify"
],
"created_at": "2026-01-15T09:30:00Z"
}