Skip to navigation

Message authorship

Declare how each message was written. EVVA records it for the agency and shows the fan an ordinary message from the creator.

An integration application is not necessarily a bot. Some applications write replies with a model; others are CRMs where a person on the agency’s team types the reply. EVVA therefore keeps two facts about every message your application sends:

FactWho decidesValues
Who sent itEVVA, from your access token. You cannot set it.Your application
How it was writtenYou, in the authorship field of every sendAI_AUTOMATED, HUMAN_AUTHORED or AI_DRAFTED_HUMAN_SENT

Both facts are kept for the agency’s records. Neither is shown to the fan.

1. Declare the authorship on every send

These operations require an authorship field:

You declareWhenScope the creator must have grantedAlso required
AI_AUTOMATEDYour software wrote and sent the message with no person reviewing it.write:messages:automatedThe creator’s account must currently permit automated messaging.
HUMAN_AUTHOREDA person in your CRM typed the message.write:messages:operatoroperatorRef
AI_DRAFTED_HUMAN_SENTA model drafted it, a person in your CRM read it and pressed send.write:messages:operatoroperatorRef

operatorRef is your own opaque identifier for the person who wrote or sent the message: 1 to 64 printable ASCII characters, with no leading or trailing spaces. EVVA stores it for the agency’s audit trail and never shows it to the fan. Do not put names or e-mail addresses in it.

write:messages:operator is never part of a creator’s default consent. It is the scope that lets an application say “a person wrote this”, so the creator has to grant it explicitly.

# An automated reply
curl -X POST "https://api.evvahub.com/partner/v1/accounts/$CREATOR_ID/conversations/$CONVERSATION_ID/messages" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: reply-to-msg_123" \
-d '{"body": "Thanks for the message!", "authorship": "AI_AUTOMATED"}'
# A reply typed by a person in your CRM
curl -X POST "https://api.evvahub.com/partner/v1/accounts/$CREATOR_ID/conversations/$CONVERSATION_ID/messages" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: reply-to-msg_124" \
-d '{"body": "On it!", "authorship": "HUMAN_AUTHORED", "operatorRef": "crm-operator-17"}'

The SDKs send AI_AUTOMATED when you do not choose an authorship, and refuse a malformed declaration (an operator authorship without operatorRef, or an operatorRef on an automated message) before any request is made.

2. Handle a refused declaration

EVVA never substitutes a default for a missing or unpermitted declaration. Nothing is sent when it refuses one.

HTTPcodeMeaningWhat to do
400AUTHORSHIP_REQUIREDThe request did not declare authorship. details.authorship lists the values you may declare.Add the field.
400AUTHORSHIP_INVALIDThe value is not one an application may declare.Use AI_AUTOMATED, HUMAN_AUTHORED or AI_DRAFTED_HUMAN_SENT.
400OPERATOR_REF_REQUIREDAn operator authorship without operatorRef.Send the operator’s reference.
400OPERATOR_REF_INVALIDoperatorRef is malformed, or it was sent with AI_AUTOMATED.Fix or remove it.
403AUTHORSHIP_NOT_PERMITTEDThe creator’s consent to your application does not cover this declaration. details.requiredScope names the missing scope.Ask the agency to obtain the creator’s consent; do not retry.
403CREATOR_SUSPENDEDAn automated message for a creator whose account currently restricts automated messaging.Do not retry automatically.
503TEMPORARILY_UNAVAILABLEEVVA could not evaluate the creator’s consent right now.Retry after a short wait.

3. What the fan sees

To the fan, a message from your application is an ordinary message from the creator. EVVA adds no AI, automation or agency marker to it, whatever authorship you declared, and never shows operatorRef, your application or the agency. A mass message your application sends reads exactly like the creator’s own broadcast.

The declaration still matters: it is what the agency’s audit trail and analytics record, and it decides which consent and account checks apply to the send.

A message declared as written by a person (HUMAN_AUTHORED or AI_DRAFTED_HUMAN_SENT) counts as a person’s reply in that conversation: like a reply from the creator or the agency’s team, it pauses automated sends there for the agency’s pause window. Such a message is itself paused only by a reply from a person on the agency’s team, never by the creator’s or your operator’s own replies. See Messages from an operator.

4. Read authorship back

Messages you read through the API carry an authorship field with the stored value, so your application sees how each message in a thread was written, including the creator’s own.

ValueMeaning
HUMAN_AUTHOREDA person typed and sent it.
AI_DRAFTED_HUMAN_SENTA model drafted it; a person read it and sent it.
AI_GENERATED_APPROVEDA model wrote it; a person approved sending it without necessarily composing the words.
AI_AUTOMATEDA model or program wrote and sent it with no person in the loop for this message.
PLATFORM_AUTOMATEDA platform rule sent a template the creator wrote, such as a broadcast or a welcome message.
UNRECORDEDEVVA does not know. Messages written before authorship was recorded carry this value. It does not mean “written by a person”.

Treat any value you do not recognise as unknown: new values may be added within v1.

Next steps