# Take a contact another project shared into this one

`POST /org-library/contacts/adopt` · Rivier · workspace

Take a contact another project shared into this one. It arrives without consent and a pending record is written; a person may carry the consent along when the organisation allows it.

- Scope: workspace:write
- Graphql: Mutation.workspaceOrgLibraryContactAdopt
- Sdk: workspace.orgLibraryContact.adopt
- Cli: workspace org library contact adopt

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "fromProject": {
      "type": "string",
      "format": "uuid"
    },
    "contactId": {
      "type": "string",
      "format": "uuid"
    },
    "consent": {
      "type": "string",
      "enum": [
        "rerequest",
        "carry"
      ],
      "default": "rerequest"
    }
  },
  "required": [
    "fromProject",
    "contactId"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/org-library/contacts/adopt' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "fromProject": "string",
  "contactId": "string"
}'
```
