curl --request GET \
--url https://api.getfernand.com/agents/pending \
--header 'X-API-Key: <api-key>'[
{
"id": 42,
"name": "Richard Hendricks",
"email": "richard.hendricks@piedpiper.com",
"roles": [
"conversation.create",
"conversation.reply"
],
"avatar": "https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar",
"last_email_sent_ts": 1234567890000
}
]curl --request GET \
--url https://api.getfernand.com/agents/pending \
--header 'X-API-Key: <api-key>'[
{
"id": 42,
"name": "Richard Hendricks",
"email": "richard.hendricks@piedpiper.com",
"roles": [
"conversation.create",
"conversation.reply"
],
"avatar": "https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar",
"last_email_sent_ts": 1234567890000
}
]Successfully retrieved pending invitations. Returns empty array if actor lacks teammate.invite permission.
Unique identifier for the agent invitation
42
Display name derived from the email address (before @ symbol, formatted)
"Richard Hendricks"
Email address of the invited agent
250"richard.hendricks@piedpiper.com"
List of permission roles to be assigned when the invite is accepted
["conversation.create", "conversation.reply"]Avatar's URL of the user
"https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar"
Unix timestamp (milliseconds) when the invitation email was last sent
1234567890000
Was this page helpful?