Store a new mailbox for the current firm and return the form link to authenticate the mailbox.

POST /api/v1/mailboxes

Headers

  • X-PLANNR-ACCOUNT-UUID string

Query parameters

  • type string

    The type of mailbox to create. Possible values are: imap, gmail and outlook

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/mailboxes
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/mailboxes' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (401)
{
  "message": "Unauthenticated."
}