Skip to main content
POST
Create sender profile

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Body

application/json

Request body of create_sender_profile.

name
string
required

Display persona name. The sender profile keeps it for life: attaching an account never overwrites it.

Required string length: 1 - 255
label
string | null

The free text under the name in the list ("Outbound EU"). An empty string is stored as null.

Maximum string length: 255
linkedin_account_sid
string | null

Optional: bind a gtm-api LinkedIn account the tenant already holds at birth (ln_ac_…, not existence-checked here). Otherwise use the channel verbs afterwards.

Required string length: 18
Pattern: ^ln_ac_
email_account_sid
string | null

Optional: bind a gtm mailbox at birth (em_ac_…). It becomes the primary mailbox.

Required string length: 18
Pattern: ^em_ac_
linkedin_history_since
string | null

The history window of the LinkedIn account bound at birth: import its conversations from this day (YYYY-MM-DD) on, or none of the past with now (from the create on); omitted or null = all of them. Stored only when linkedin_account_sid rides the create.

Pattern: ^(now|\d{4}-\d{2}-\d{2})$
email_history_since
string | null

The history window of the mailbox bound at birth, as for linkedin_history_since. Stored only when email_account_sid rides the create.

Pattern: ^(now|\d{4}-\d{2}-\d{2})$
linkedin_history_scope
enum<string> | null

The import scope of the LinkedIn account bound at birth: playtable_people (omitted or null, the default) takes only conversations with a person the workspace keeps in a playtable, all every conversation. Stored only with linkedin_account_sid.

Available options:
all,
playtable_people
email_history_scope
enum<string> | null

The import scope of the mailbox bound at birth, as for linkedin_history_scope. Stored only when email_account_sid rides the create.

Available options:
all,
playtable_people
avatar_url
string | null

Display photo URL; a LinkedIn account bound to the sender profile replaces it with the account's own photo.

Maximum string length: 2048
assignee_user_sid
string | null

Operator of the sender profile (external user sid, not existence-checked): the default assignee for the tasks its threads spawn.

Required string length: 18

Response

create success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
create
item
object
required
already_exists
boolean
required
meta
object
required