Skip to main content
GET
/
api
/
v1
/
event-subscriptions
Get User Subscriptions
curl --request GET \
  --url http://localhost:8000/api/v1/event-subscriptions/ \
  --header 'Authorization: Bearer <token>'
[
  {
    "event_type": "local_seo",
    "id": 123,
    "user": {
      "id": 123,
      "email": "[email protected]",
      "profile": {
        "first_name": "<string>",
        "last_name": "<string>",
        "phone_number": "<string>"
      },
      "is_google_recaptcha_response_valid": true
    },
    "date_added": "2023-11-07T05:31:56Z",
    "date_updated": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

200 - application/json

Successful Response

event_type
enum<string>
required
Available options:
local_seo,
meta_ads,
email_marketing,
website_seo,
website_analytics
id
integer
required
user
The User who subscribed. · object
required

The schema for a user.

date_added
string<date-time>
required
date_updated
string<date-time>
required