curl --request POST \
--url http://localhost:8000/api/v1/event-subscriptions/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event_type": "local_seo"
}
'{
"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"
}curl --request POST \
--url http://localhost:8000/api/v1/event-subscriptions/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event_type": "local_seo"
}
'{
"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"
}The access token received from the authorization server in the OAuth 2.0 flow.
The schema used to create an Event Subscription.
local_seo, meta_ads, email_marketing, website_seo, website_analytics Successful Response
The schema for the Event Subscriptions API.
local_seo, meta_ads, email_marketing, website_seo, website_analytics The schema for a user.
Show child attributes