> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Teamlid aanmaken

> Voeg een teamlid toe en maak een digitaal visitekaartje aan.

Voeg een teamlid toe aan de workspace die bij je API-sleutel hoort. Stuur `firstName`, `lastName` en een geldig `email` mee. Je kunt ook een functie, afdeling, foto-URL en contactgegevens toevoegen.

Het antwoord bevat de `id`, `profileUrl` en `created` van het teamlid:

| Antwoord | Betekenis |
| - | - |
| `201` met `created: true` | Er zijn een nieuw teamlid en een digitaal visitekaartje aangemaakt. |
| `200` met `created: false` | Het e-mailadres hoort al bij een teamlid in deze workspace. Het bestaande teamlid wordt ongewijzigd teruggegeven. |

Als het e-mailadres al wordt gebruikt door een teamlid buiten deze workspace, geeft Tapify `409 Conflict` terug. Gebruik [Teamlid bijwerken](https://docs.tapify.app/nl/api-reference/team-members/update.md) om de gegevens van een bestaand teamlid te wijzigen.

## E-mail en uitnodigingen

Het verplichte veld `email` is het e-mailadres waarmee het teamlid inlogt. Wil je een e-mailadres op het visitekaartje tonen? Voeg dan ook een e-mailitem toe aan `contactDetails`:

```json theme={null}
{
  "type": "email",
  "value": "mina@acme.com"
}
```

Nieuwe teamleden beginnen normaal met `status: "not_invited"`. Een teamlid aanmaken verstuurt geen uitnodiging. Verstuur deze via **Team** in het dashboard zodra het visitekaartje klaar is. Het veld `sendInvite` wordt niet ondersteund. [Teamleden uitnodigen](https://docs.tapify.app/nl/teams/members/invite.md)

> [!WARNING]
>
> Nieuwe teamleden tellen al mee voor je factuur voordat ze de uitnodiging accepteren. Bekijk de [facturatie van teamleden](https://docs.tapify.app/nl/teams/settings/billing.md) voordat je een grote medewerkerslijst importeert.


## OpenAPI

````yaml nl/api-reference/openapi.json POST /team-members
openapi: 3.0.3
info:
  title: Tapify API
  version: 1.0.0
  description: >-
    Lees en beheer opgeslagen contacten, teamleden en hun digitale
    visitekaartjes in één Tapify Teams-workspace. Vereist Teams Connect-toegang
    en een API-sleutel voor de workspace.
servers:
  - url: https://tapify.app/api/v1
    description: Tapify API
security:
  - bearerAuth: []
  - apiKeyHeader: []
tags:
  - name: Workspace
    description: Controleer de workspace die aan een API-sleutel is gekoppeld.
  - name: Teamleden
    description: Beheer teamleden en hun digitale visitekaartjes.
  - name: Contacten
    description: Beheer contacten die in de workspace zijn verzameld.
  - name: Zapier
    description: >-
      Endpoints die de Tapify-integratie met Zapier gebruikt voor
      triggervoorbeelden en REST Hook-abonnementen.
paths:
  /team-members:
    post:
      tags:
        - Teamleden
      summary: Teamlid aanmaken
      description: >-
        Maakt een teamlid aan. Als het e-mailadres al bij een teamlid in deze
        workspace hoort, wordt dat teamlid ongewijzigd teruggegeven.
      operationId: createTeamMember
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTeamMemberRequest'
            examples:
              teamMember:
                summary: Nieuw teamlid
                value:
                  firstName: Mina
                  lastName: Park
                  email: mina@acme.com
                  jobTitle: Head of Partnerships
                  department: Partnerships
                  contactDetails:
                    - type: phone
                      label: Mobile
                      value: '+31612345678'
                    - type: email
                      label: Work
                      value: mina@acme.com
      responses:
        '200':
          description: Bestaand teamlid ongewijzigd teruggegeven
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamMemberWriteResponse'
        '201':
          description: Teamlid aangemaakt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamMemberWriteResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '409':
          $ref: '#/components/responses/Conflict'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    CreateTeamMemberRequest:
      type: object
      description: >-
        Maak een teamlid aan of geef het bestaande teamlid in de workspace
        ongewijzigd terug als het inlogadres al bestaat. Uitnodigingen worden
        vanuit het dashboard verstuurd; sendInvite wordt niet ondersteund.
      required:
        - firstName
        - lastName
        - email
      properties:
        firstName:
          type: string
          description: Voornaam van het teamlid.
          example: Mina
          minLength: 1
        lastName:
          type: string
          description: Achternaam van het teamlid.
          example: Park
          minLength: 1
        email:
          type: string
          format: email
          description: >-
            Inlogadres van het teamlid, ook gebruikt voor uitnodigingen en het
            controleren op dubbele teamleden. Voeg een email-item toe aan
            contactDetails om een e-mailadres op het visitekaartje te tonen.
          example: mina@acme.com
        jobTitle:
          type: string
          nullable: true
          example: Head of Partnerships
        department:
          type: string
          nullable: true
          example: Partnerships
        avatarUrl:
          type: string
          format: uri
          nullable: true
          example: https://example.com/mina.jpg
        contactDetails:
          type: array
          description: >-
            Persoonlijke contactmethoden voor het visitekaartje van het teamlid.
            Gedeelde bedrijfsgegevens uit de brandkit zijn niet inbegrepen en
            worden niet gewijzigd.
          items:
            $ref: '#/components/schemas/TeamMemberContactDetailInput'
    TeamMemberWriteResponse:
      type: object
      required:
        - data
      properties:
        data:
          $ref: '#/components/schemas/TeamMemberWriteResult'
    TeamMemberContactDetailInput:
      type: object
      description: >-
        Een contactmethode die op het digitale visitekaartje van het teamlid
        wordt getoond.
      required:
        - type
      properties:
        type:
          type: string
          description: Type contactgegeven.
          enum:
            - phone
            - email
            - website
            - address
            - social_media
          example: phone
        label:
          type: string
          nullable: true
          description: >-
            Label dat op het digitale visitekaartje wordt getoond, zoals Mobiel
            of Kantoor.
          example: Mobile
        value:
          type: string
          description: >-
            Telefoonnummer, e-mailadres, website of link naar sociale media.
            Wordt niet gebruikt voor een adres.
          example: '+31612345678'
          minLength: 1
        platform:
          allOf:
            - $ref: '#/components/schemas/SocialPlatform'
          description: Verplicht als type gelijk is aan social_media.
        address:
          allOf:
            - $ref: '#/components/schemas/Address'
          description: Verplicht als type gelijk is aan address.
      oneOf:
        - title: Telefoon of website
          type: object
          required:
            - value
          properties:
            type:
              type: string
              enum:
                - phone
                - website
        - title: E-mail
          type: object
          required:
            - value
          properties:
            type:
              type: string
              enum:
                - email
            value:
              type: string
              format: email
        - title: Sociale media
          type: object
          required:
            - value
            - platform
          properties:
            type:
              type: string
              enum:
                - social_media
        - title: Adres
          type: object
          required:
            - address
          properties:
            type:
              type: string
              enum:
                - address
    TeamMemberWriteResult:
      allOf:
        - $ref: '#/components/schemas/TeamMember'
        - type: object
          required:
            - created
          properties:
            created:
              type: boolean
              description: true als er een nieuw teamlid is aangemaakt.
              example: true
    ErrorResponse:
      type: object
      description: Informatie over een verzoek dat Tapify niet kon voltooien.
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Korte code die de fout aangeeft.
              example: bad_request
            message:
              type: string
              description: Begrijpelijke uitleg van wat er misging.
              example: Request body is invalid.
            details:
              type: object
              description: >-
                Aanvullende informatie die kan helpen om het verzoek te
                corrigeren.
              additionalProperties: true
              nullable: true
    SocialPlatform:
      type: string
      description: Socialemediaplatform waarnaar deze link verwijst.
      enum:
        - facebook
        - instagram
        - linkedin
        - x
        - whatsapp
        - calendly
        - youtube
        - pinterest
        - spotify
        - tiktok
        - reddit
        - behance
        - bluesky
        - wechat
        - discord
        - dribbble
        - github
        - mastodon
        - medium
        - messenger
        - patreon
        - soundcloud
        - slack
        - telegram
        - snapchat
        - threads
        - twitch
        - yelp
    Address:
      type: object
      description: Een gestructureerd adres. Geef ten minste één niet-leeg veld mee.
      minProperties: 1
      properties:
        line1:
          type: string
          description: Straatnaam en huisnummer.
          example: Keizersgracht 391 A
        line2:
          type: string
          description: Appartement, unit, verdieping of andere aanvullende adresgegevens.
          example: ''
        city:
          type: string
          example: Amsterdam
        postalCode:
          type: string
          example: 1016 EJ
        country:
          type: string
          description: Landcode of landnaam.
          example: NL
    TeamMember:
      type: object
      description: Een teamlid van de Tapify Teams-workspace.
      required:
        - id
        - workspaceId
        - accountId
        - status
        - firstName
        - lastName
        - displayName
        - email
        - jobTitle
        - department
        - avatarUrl
        - profileUrl
        - slug
        - contact
        - contactDetails
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          format: uuid
          description: Teamlid-id. Gebruik deze waarde in andere endpoints voor teamleden.
          example: 45fa16aa-2546-49b3-9d1e-7b7e1c9fb1e7
        workspaceId:
          type: string
          format: uuid
          description: Id van de workspace waarin het teamlid staat.
          example: 9df81bd4-3d76-42cc-9518-a019ea75a221
        accountId:
          type: string
          format: uuid
          description: Id van het Tapify-account van het teamlid.
          example: 0e35f7a8-e866-4f5d-b9cb-06961a130fef
        status:
          type: string
          enum:
            - not_invited
            - pending
            - active
            - failed
          description: >-
            Uitnodigingsstatus: not_invited betekent dat er geen uitnodiging is
            verstuurd; pending betekent dat het teamlid nog niet heeft
            geactiveerd; active betekent dat het account klaar is voor gebruik;
            failed betekent dat de uitnodiging niet kon worden afgeleverd.
          example: active
        firstName:
          type: string
          example: Mina
        lastName:
          type: string
          example: Park
        displayName:
          type: string
          description: Volledige naam, samengesteld uit firstName en lastName.
          example: Mina Park
        email:
          type: string
          format: email
          description: >-
            Inlogadres van het teamlid. Dit staat los van de e-mailadressen in
            contactDetails die op het visitekaartje worden gepubliceerd.
          example: mina@acme.com
        jobTitle:
          type: string
          nullable: true
          example: Head of Partnerships
        department:
          type: string
          nullable: true
          example: Partnerships
        avatarUrl:
          type: string
          format: uri
          nullable: true
          example: https://example.com/mina.jpg
        profileUrl:
          type: string
          format: uri
          description: Openbare link naar het digitale visitekaartje van het teamlid.
          example: https://tapify.app/mina-park
        slug:
          type: string
          description: Laatste deel van de URL van het digitale visitekaartje.
          example: mina-park
        contact:
          type: object
          description: >-
            Snelle toegang tot de eerste waarden voor telefoon, WhatsApp en
            website van het teamlid.
          required:
            - phone
            - whatsapp
            - website
          properties:
            phone:
              type: string
              nullable: true
              example: '+31612345678'
            whatsapp:
              type: string
              nullable: true
            website:
              type: string
              nullable: true
              example: https://acme.com
        contactDetails:
          type: array
          description: >-
            Contactgegevens die bij dit teamlidprofiel zijn opgeslagen. Gedeelde
            bedrijfsgegevens uit de brandkit zijn niet inbegrepen.
          items:
            $ref: '#/components/schemas/TeamMemberContactDetail'
        createdAt:
          type: string
          format: date-time
          description: Datum en tijd waarop het teamlid is toegevoegd.
          example: '2026-07-01T09:30:00.000Z'
        updatedAt:
          type: string
          format: date-time
          description: Datum en tijd waarop het teamlid voor het laatst is bijgewerkt.
          example: '2026-07-28T10:15:00.000Z'
    TeamMemberContactDetail:
      type: object
      description: Eén contactgegeven dat bij het teamlidprofiel is opgeslagen.
      required:
        - id
        - type
        - label
        - value
      properties:
        id:
          type: string
          format: uuid
          description: Id van dit opgeslagen contactgegeven.
          example: 33d5f285-64f7-41aa-bf9e-17a0fbf535af
        type:
          type: string
          description: Type contactgegeven.
          enum:
            - phone
            - email
            - website
            - address
            - social_media
        label:
          type: string
          nullable: true
          description: Label dat op het digitale visitekaartje wordt getoond.
          example: Mobile
        value:
          type: string
          example: '+31612345678'
        platform:
          $ref: '#/components/schemas/SocialPlatform'
        address:
          $ref: '#/components/schemas/Address'
  responses:
    BadRequest:
      description: >-
        De JSON van het verzoek, een verplicht veld of een parameter is
        ongeldig.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: bad_request
              message: fullName is required.
    Unauthorized:
      description: De API-sleutel ontbreekt, is onjuist of is verwijderd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: invalid_api_key
              message: API key is invalid or revoked.
    SubscriptionRequired:
      description: >-
        De workspace heeft Teams Connect-toegang nodig. Controleer het
        abonnement, de abonnementsstatus en de einddatum van de proefperiode.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: subscription_required
              message: Tapify Teams Connect is required for this feature.
    Conflict:
      description: Het e-mailadres van het teamlid is al in gebruik buiten deze workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: conflict
              message: This email is already in use.
    PayloadTooLarge:
      description: De JSON-body is groter dan 256 KB (262.144 bytes).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: payload_too_large
              message: Request body is too large.
    RateLimited:
      description: Er zijn te veel verzoeken in korte tijd verstuurd.
      headers:
        Retry-After:
          description: Aantal seconden dat je moet wachten voordat je het opnieuw probeert.
          schema:
            type: integer
            example: 30
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: rate_limited
              message: Rate limit exceeded.
              details:
                retryAfter: 30
    InternalError:
      description: Tapify kon het verzoek niet voltooien.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: internal_error
              message: Something went wrong.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Tapify API key
      description: API-sleutel die is gemaakt via Instellingen → API-sleutels.
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Alternatief voor Authorization: Bearer. Gebruik één authenticatiemethode
        per verzoek; een Bearer-token heeft voorrang.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.