Skip to content

Upsert a per-sender inbound teammate policy override.

PUT
/v1/contacts/senders
curl --request PUT \
--url https://api.share2.us/v1/contacts/senders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "mode": "disallowed" }'
Media typeapplication/json
object
email
required
string format: email
mode
required
string
Allowed values: disallowed approvals auto

Sender override.

Media typeapplication/json
object
email
required
string format: email
mode
required
string
Allowed values: disallowed approvals auto
created_at
string format: date-time
Example
{
"mode": "disallowed"
}

Standard error envelope.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{
"error": {
"code": "quota_exceeded"
}
}