Invite Advertiser User
POST
/api/public/users/advertisers/invite
const url = 'https://backend.podscribe.ai/api/public/users/advertisers/invite';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"advertiserName":"example","email":"hello@example.com","tabs":["ads"],"teamMembers":["hello@example.com"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://backend.podscribe.ai/api/public/users/advertisers/invite \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "advertiserName": "example", "email": "hello@example.com", "tabs": [ "ads" ], "teamMembers": [ "hello@example.com" ] }'Invite a new advertiser user
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
advertiserName
required
The name of the advertiser
string
email
required
The email address of the user to invite
string format: email
tabs
The list of tabs to grant access to (optional).
- If omitted, the invitee will have full access to all tabs.
- If provided, the invitee will only have access to the specified tabs.
- Available values:
- ads — Airchecks
- simple_campaigns — Simple Campaigns
- simple_overview — Simple Overview
- tag_debug — Tag Setup
- simple_overview_show — Show-level Reporting (Overview > Show tab)
simple_overview_showrequiressimple_overview.
Array<string>
teamMembers
Array<string>
Responses
Section titled “Responses”Successfully invited advertiser user
Media typeapplication/json
object
message
Success message
string
Examplegenerated
{ "message": "example"}Invalid request data
Invalid token
User cannot be invited to advertiser
Internal server error