<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Event_Actions_Store</id>
	<title>Event Actions Store - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://docs.callproof.com/index.php?action=history&amp;feed=atom&amp;title=Event_Actions_Store"/>
	<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Event_Actions_Store&amp;action=history"/>
	<updated>2026-07-15T17:44:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://docs.callproof.com/index.php?title=Event_Actions_Store&amp;diff=1561&amp;oldid=prev</id>
		<title>Ashley DeBon: Created page with &quot;== Record User Event Action ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/v1/event-action  === Purpose === Records an authenticated user&#039;s intera...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.callproof.com/index.php?title=Event_Actions_Store&amp;diff=1561&amp;oldid=prev"/>
		<updated>2026-07-15T13:23:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Record User Event Action ==  === Base URL === https://apimobile.callproof.com  === Endpoint === /api/v1/event-action  === Purpose === Records an authenticated user&amp;#039;s intera...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Record User Event Action ==&lt;br /&gt;
&lt;br /&gt;
=== Base URL ===&lt;br /&gt;
https://apimobile.callproof.com&lt;br /&gt;
&lt;br /&gt;
=== Endpoint ===&lt;br /&gt;
/api/v1/event-action&lt;br /&gt;
&lt;br /&gt;
=== Purpose ===&lt;br /&gt;
Records an authenticated user&amp;#039;s interaction within the CallProof application.&lt;br /&gt;
&lt;br /&gt;
The API captures the action performed, the application screen where it occurred, and basic device information. This information supports business activity reporting, product usage analysis, and external service usage tracking.&lt;br /&gt;
&lt;br /&gt;
An action may optionally identify an associated external service by using the format &amp;lt;code&amp;gt;action_name+external_service_name&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== HTTP Method ===&lt;br /&gt;
POST&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Header !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Authorization || Yes || Bearer access token.&lt;br /&gt;
|-&lt;br /&gt;
| Content-Type || Yes || &amp;lt;code&amp;gt;application/x-www-form-urlencoded&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;application/json&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Security ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Yes&amp;#039;&amp;#039;&amp;#039; – Requires Bearer Token authentication.&lt;br /&gt;
* The access token must be active and unexpired.&lt;br /&gt;
* The authenticated user and associated company account must be active.&lt;br /&gt;
* Completed two-factor verification is not required for this endpoint.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
==== Request Body Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Type !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| event_action || string || Yes || The recognized business action performed by the user. An external service may be included using &amp;lt;code&amp;gt;action_name+external_service_name&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| screen_name || string || Yes || The name of the application screen where the action occurred.&lt;br /&gt;
|-&lt;br /&gt;
| os_type || string || Yes || The device operating-system type, such as &amp;lt;code&amp;gt;android&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ios&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| app_version || string || Yes || The installed CallProof application version.&lt;br /&gt;
|-&lt;br /&gt;
| device_name || string || Yes || The name or model of the device used to perform the action.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The complete lists of accepted event-action names and external service names are &amp;#039;&amp;#039;&amp;#039;Not specified in Swagger&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Successful Response (200) ===&lt;br /&gt;
Confirms that the user&amp;#039;s event action was accepted and recorded.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || Business-level response status. A successful request returns &amp;lt;code&amp;gt;200&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| user_id || integer || The authenticated user&amp;#039;s unique identifier.&lt;br /&gt;
|-&lt;br /&gt;
| company_id || integer || The company associated with the authenticated user.&lt;br /&gt;
|-&lt;br /&gt;
| message || string || Confirmation message. The successful value is &amp;lt;code&amp;gt;Event Action Added successfully.&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || The URL of the event-action request.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Error Responses ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! HTTP Status Code !! Client Status Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || The required &amp;lt;code&amp;gt;event_action&amp;lt;/code&amp;gt; field was not supplied.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || The required &amp;lt;code&amp;gt;screen_name&amp;lt;/code&amp;gt; field was not supplied.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || The required &amp;lt;code&amp;gt;os_type&amp;lt;/code&amp;gt; field was not supplied.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || The required &amp;lt;code&amp;gt;app_version&amp;lt;/code&amp;gt; field was not supplied.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 401 || The required &amp;lt;code&amp;gt;device_name&amp;lt;/code&amp;gt; field was not supplied.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || The supplied event-action name is not recognized.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || The supplied external service name is not recognized.&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 400 || The event action could not be processed.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The Bearer token is missing or invalid.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The access token has expired.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || The authenticated user or company account is disabled.&lt;br /&gt;
|-&lt;br /&gt;
| 401 || 401 || A required client application update must be installed.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Common Error Messages ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Message !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| Event Action is Invalid || The supplied event-action name is not recognized.&lt;br /&gt;
|-&lt;br /&gt;
| External API is Invalid || The external service name appended to the event action is not recognized.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Error Response Fields ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Response Field !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| clientStatusCode || integer || The business-level error status, commonly &amp;lt;code&amp;gt;400&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;401&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| error.code || integer || The business error code.&lt;br /&gt;
|-&lt;br /&gt;
| error.message || string || A plain-language explanation of the event-action failure.&lt;br /&gt;
|-&lt;br /&gt;
| uri || string || The URL of the request.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Common Error Codes ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Error Code !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| 1500 || Authentication, validation, event-action, or external-service validation failed.&lt;br /&gt;
|-&lt;br /&gt;
| 1800 || The user or company account is disabled.&lt;br /&gt;
|-&lt;br /&gt;
| 8000 || The access token has expired.&lt;br /&gt;
|-&lt;br /&gt;
| 9000 || A required client application update is available.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashley DeBon</name></author>
		
	</entry>
</feed>