Creates a new contact in the HealthSherpa system. The contact will be associated with the authenticated agent. All contacts must have an external ID, first name, and last name. This endpoint also supports creating nested resources including drugs, pharmacies, and providers.
Required scopes
This endpoint requires the following scopes:
: Access to Partner API v2 endpoints
Authorizations
OAuth2authorizationCodeRequired
OAuth 2.0 authentication with partner_api_v2 scope
Authorization URL: Token URL:
Body
Responses
200
Contact created successfully
application/json
400
Validation error
application/json
401
Unauthorized - Invalid or missing OAuth token
application/json
404
Agent not found for the authenticated user
application/json
422
The request was well-formed but could not be processed